Re: IBus and different GTK versions

2015-09-21 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Ricardo Wurmus writes: > >> Ricardo Wurmus writes: >> >>> 宋文武 writes: >>> >> We can set 'GTK_EXE_PREFIX' to the '~/.guix-profile', and generate the >> 'immodules.cache' files in a profile hook. It will work for both gtk2 >> and gtk3 applications. >>>

Re: IBus and different GTK versions

2015-09-20 Thread Ricardo Wurmus
Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> 宋文武 writes: >> > We can set 'GTK_EXE_PREFIX' to the '~/.guix-profile', and generate the > 'immodules.cache' files in a profile hook. It will work for both gtk2 > and gtk3 applications. >> Does this mean that GTK needs to be

Re: IBus and different GTK versions

2015-09-20 Thread Ricardo Wurmus
Ricardo Wurmus writes: > 宋文武 writes: > We can set 'GTK_EXE_PREFIX' to the '~/.guix-profile', and generate the 'immodules.cache' files in a profile hook. It will work for both gtk2 and gtk3 applications. > >>> Does this mean that GTK needs to be installed in the user’s profile fo

Re: IBus and different GTK versions

2015-09-15 Thread Ricardo Wurmus
宋文武 writes: >>> We can set 'GTK_EXE_PREFIX' to the '~/.guix-profile', and generate the >>> 'immodules.cache' files in a profile hook. It will work for both gtk2 >>> and gtk3 applications. >> Does this mean that GTK needs to be installed in the user’s profile for >> this to work? I thought ‘GT

Re: IBus and different GTK versions

2015-09-14 Thread 宋文武
2015-09-14 16:28 GMT+08:00, Ricardo Wurmus : > > 宋文武 writes: > >> Ricardo Wurmus writes: >> >>> [...] >>> >>> It seems that GTK3 only looks for >>> ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for >>> ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is >>> ‘$out

Re: IBus and different GTK versions

2015-09-14 Thread Ricardo Wurmus
宋文武 writes: > Ricardo Wurmus writes: > >> [...] >> >> It seems that GTK3 only looks for >> ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for >> ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is >> ‘$out/lib’ of the GTK package. (According to >> https://devel

Re: IBus and different GTK versions

2015-09-14 Thread Ludovic Courtès
宋文武 skribis: > Ricardo Wurmus writes: > >> [...] >> >> It seems that GTK3 only looks for >> ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for >> ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is >> ‘$out/lib’ of the GTK package. (According to >> https://devel

Re: IBus and different GTK versions

2015-09-13 Thread 宋文武
Ricardo Wurmus writes: > [...] > > It seems that GTK3 only looks for > ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for > ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is > ‘$out/lib’ of the GTK package. (According to > https://developer.gnome.org/gtk3/stabl

IBus and different GTK versions

2015-09-13 Thread Ricardo Wurmus
Hi Guix, I’m having some problems using IBus as an input method for all applications on GuixSD. Usually, it is enough to specify the following variables: export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus export IBUS_COMPONENT_PATH="$HOME/.guix-profile