From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: bug#35610: Freshly installed IBus intput method is not listed as an input source Date: Mon, 24 Jun 2019 17:26:21 -0500 Message-ID: <16b8b98e386.10058c7eb34551.5897208022697651422@zoho.com> References: <16a8f05b586.e58d03a555242.5478544775393299734@zoho.com> <87tvcf3ri4.fsf@garuda.local.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33671) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfXQX-0002x7-Nv for bug-guix@gnu.org; Mon, 24 Jun 2019 18:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfXQW-0004Bk-Gj for bug-guix@gnu.org; Mon, 24 Jun 2019 18:27:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44687) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfXQU-0004As-Dj for bug-guix@gnu.org; Mon, 24 Jun 2019 18:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hfXQU-0000Hz-97 for bug-guix@gnu.org; Mon, 24 Jun 2019 18:27:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tvcf3ri4.fsf@garuda.local.i-did-not-set--mail-host-address--so-tickle-me> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Chris Marusich Cc: 35610 <35610@debbugs.gnu.org> ---- On Mon, 24 Jun 2019 10:57:55 -0500 Chris Marusich wrote ---- > sirgazil writes:=20 > =20 > > Hi,=20 > >=20 > > I installed the GNU system using the Guix System 1.0 ISO installer and= =20 > > reconfigured the system to work around the installer "%base-packages"= =20 > > bug (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35541).=20 > >=20 > > When I install the "ibus-anthy" input method, I don't find any way of= =20 > > using it because it is not listed in the GNOME input sources, nor in= =20 > > the list of input methods in IBus Preferences.=20 > >=20 > >=20 > > ## Steps to reproduce=20 > >=20 > > 1. guix install ibus ibus-anthy font-adobe-source-han-sans=20 > > 2. Go to "GNOME Settings =E2=86=92 Language & Region"=20 > > 3. In "Input Sources", click on the Add button (+)=20 > > 4. In the list that appears, select "Japanese"=20 > >=20 > >=20 > > ## Unexpected result=20 > >=20 > > "Japanese (Anthy)" is not listed.=20 > >=20 > >=20 > > ## Expected result=20 > >=20 > > "Japanese (Anthy)" is listed.=20 > >=20 > > Also, adding it to the list of Input Sources enables a new option to= =20 > > the right of the GNOME top bar where you can select the different=20 > > Input Sources you have set. When you choose the newly added Japanese= =20 > > (Anthy) you can start writing Japanese right away. For example, typing= =20 > > "aiueo" would result in "=E3=81=82=E3=81=84=E3=81=86=E3=81=88=E3=81=8A= ".=20 > >=20 > > Also, the keyboard combination Super+Space allows you to alternate bet= ween input sources=20 > >=20 > >=20 > > ## Additional information=20 > >=20 > > The Japanese (Anthy) input method is not listed in IBus preferences ei= ther. You can check by doing the following:=20 > >=20 > > 1. Click on Activities=20 > > 2. Click on Show Applications=20 > > 3. Click on IBus Preferences=20 > > 4. Click on the Input Method tab=20 > > 5. Click on the Add button=20 > > 6. Click on Japanese=20 > >=20 > > You should be able to see Anthy there, but it isn't.=20 > =20 > Please try the following:=20 > =20 > 1) Make sure you've installed ibus, ibus-anthy, and a font package that= =20 > gives you appropriate fonts for Japanese. For example:=20 > =20 > guix package -i ibus ibus-anthy font-adobe-source-han-sans=20 > =20 > 2) Make sure you've set the following environment variables in a place= =20 > where they will be made available to your desktop environment (in Guix= =20 > System, it is sufficient to put this in your ~/.bash_profile):=20 > =20 > export GUIX_GTK2_IM_MODULE_FILE=3D"$HOME/.guix-profile/lib/gtk-2.0/2.10= .0/immodules-gtk2.cache"=20 > export GUIX_GTK3_IM_MODULE_FILE=3D"$HOME/.guix-profile/lib/gtk-3.0/3.0.= 0/immodules-gtk3.cache"=20 > =20 > 2) Remove the ibus cache:=20 > =20 > rm -rf ~/.cache/ibus=20 > =20 > 3) Log out and back in.=20 > =20 > I was able to reproduce your issue in a Guix VM, and I was able to=20 > resolve it by taking those steps. Please let me know if this fixes the= =20 > issue for you, as well.=20 =E3=82=84=E3=81=A3=E3=81=9F=EF=BC=81=E6=9C=AC=E5=BD=93=E3=81=AB=E3=81=82=E3= =82=8A=E3=81=8C=E3=81=A8=E3=81=86=E3=80=81Chris=E3=81=95=E3=82=93=EF=BC=81 = :) So, Guix is not setting those variables for the user, right? And maybe vari= ables for other GUI toolkits too (Qt)?