[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Japanese Input wont't without manually adding environmental variable
From: |
宋文武 |
Subject: |
Re: Japanese Input wont't without manually adding environmental variables? |
Date: |
Sat, 07 Nov 2020 16:41:52 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
yasu <yasu@yasuaki.com> writes:
> Hi!
>
> After installing packages ibus and ibus-anthy , I thought I would be able to
> type Japanese - but I had to follow the tip below and manually add these
> variables to make it work.
> Would this be considered a bug?
Yes, guix lack supports for input methods.
>
> https://www.mail-archive.com/help-guix@gnu.org/msg08282.html
>
> export
> GUIX_GTK2_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache"
>
> export
> GUIX_GTK3_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"
>
>
For these kind of environment variables, we usually set them in
'.guix-profile/etc/profile' via 'native-search-paths' of a package.
But adding 'GUIX_GTK3_IM_MODULE_FILE' to the 'native-search-paths' of
'gtk+' is not good enough or won't solve this issue as we usually don't
install 'gtk+' into the profile. I'd like to find another way set them,
could be add some code to '(guix profiles)' with the 'gtk-im-modules'
profile hook. Need more thinking...
In the meantime, we have to set those environment variables manually..