* bug#35610: Freshly installed IBus intput method is not listed as an input source
@ 2019-05-06 21:21 sirgazil
2019-05-06 21:48 ` ison
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: sirgazil @ 2019-05-06 21:21 UTC (permalink / raw)
To: 35610
Hi,
I installed the GNU system using the Guix System 1.0 ISO installer and reconfigured the system to work around the installer "%base-packages" bug (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35541).
When I install the "ibus-anthy" input method, I don't find any way of using it because it is not listed in the GNOME input sources, nor in the list of input methods in IBus Preferences.
## Steps to reproduce
1. guix install ibus ibus-anthy font-adobe-source-han-sans
2. Go to "GNOME Settings → Language & Region"
3. In "Input Sources", click on the Add button (+)
4. In the list that appears, select "Japanese"
## Unexpected result
"Japanese (Anthy)" is not listed.
## Expected result
"Japanese (Anthy)" is listed.
Also, adding it to the list of Input Sources enables a new option to the right of the GNOME top bar where you can select the different Input Sources you have set. When you choose the newly added Japanese (Anthy) you can start writing Japanese right away. For example, typing "aiueo" would result in "あいうえお".
Also, the keyboard combination Super+Space allows you to alternate between input sources
## Additional information
The Japanese (Anthy) input method is not listed in IBus preferences either. You can check by doing the following:
1. Click on Activities
2. Click on Show Applications
3. Click on IBus Preferences
4. Click on the Input Method tab
5. Click on the Add button
6. Click on Japanese
You should be able to see Anthy there, but it isn't.
---
https://sirgazil.bitbucket.io/
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-06 21:21 bug#35610: Freshly installed IBus intput method is not listed as an input source sirgazil
@ 2019-05-06 21:48 ` ison
2019-05-07 0:36 ` Chris Marusich
2019-05-07 15:54 ` sirgazil
2019-05-07 4:11 ` pelzflorian (Florian Pelz)
` (2 subsequent siblings)
3 siblings, 2 replies; 15+ messages in thread
From: ison @ 2019-05-06 21:48 UTC (permalink / raw)
To: sirgazil; +Cc: 35610
I currently have ibus with anthy working, but I had this exact same problem at
first. I'm not 100% sure what I finally did to solve it, but I think it may have
been a missing environment variable. Here is what I have set:
export GTK_IM_MODULE_FILE="/run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"
export GTK_IM_MODULE="xim"
export XMODIFIERS="@im=ibus"
export QT_IM_MODULE="xim"
I'm thinking the $GTK_IM_MODULE_FILE variable is the missing ingredient.
However, while attempting to fix this I also installed the packages:
ibus, ibus-anthy, dbus, python-dbus, python2-dbus
If you need these packages too to make it work then perhaps its worth
investigating if the anthy package is missing some dependencies.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-06 21:48 ` ison
@ 2019-05-07 0:36 ` Chris Marusich
2019-05-07 15:24 ` sirgazil
2019-05-07 15:54 ` sirgazil
1 sibling, 1 reply; 15+ messages in thread
From: Chris Marusich @ 2019-05-07 0:36 UTC (permalink / raw)
To: ison; +Cc: 35610, sirgazil
[-- Attachment #1: Type: text/plain, Size: 1737 bytes --]
ison <ison@airmail.cc> writes:
> I currently have ibus with anthy working, but I had this exact same problem at
> first. I'm not 100% sure what I finally did to solve it, but I think it may have
> been a missing environment variable. Here is what I have set:
> export GTK_IM_MODULE_FILE="/run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"
> export GTK_IM_MODULE="xim"
> export XMODIFIERS="@im=ibus"
> export QT_IM_MODULE="xim"
>
> I'm thinking the $GTK_IM_MODULE_FILE variable is the missing ingredient.
> However, while attempting to fix this I also installed the packages:
> ibus, ibus-anthy, dbus, python-dbus, python2-dbus
>
> If you need these packages too to make it work then perhaps its worth
> investigating if the anthy package is missing some dependencies.
FWIW I have the following in my ~/.bash_profile. If you search the
email list archives for these environment variables, you'll find some
relevant discussions:
--8<---------------cut here---------------start------------->8---
# Enable GTK+2 and GTK+3 programs to simultaneously use the right
# immodules cache file. This is a Guix-specific work-around.
# See: https://lists.gnu.org/archive/html/guix-devel/2016-08/msg01634.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"
--8<---------------cut here---------------end--------------->8---
ご覧の通り、日本語入力はできています。
If it still doesn't work for you, I'll be happy to help troubleshoot.
I set this up years ago, and the one thing I remember is that it was a
bit of a hassle.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-06 21:21 bug#35610: Freshly installed IBus intput method is not listed as an input source sirgazil
2019-05-06 21:48 ` ison
@ 2019-05-07 4:11 ` pelzflorian (Florian Pelz)
2019-05-07 4:51 ` pelzflorian (Florian Pelz)
2019-06-24 15:57 ` Chris Marusich
2023-06-18 23:16 ` Luis Felipe via Bug reports for GNU Guix
3 siblings, 1 reply; 15+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-05-07 4:11 UTC (permalink / raw)
To: sirgazil; +Cc: 35610
I had the same problem; it works for me now after I added ibus and
ibus-anthy to the system packages, Anthy appeared in ibus-setup. I
believe I had done no other steps other than experimenting with
libexec/ibus-setup-anthy (which I believe did not change anything).
Regards,
Florian
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-07 4:11 ` pelzflorian (Florian Pelz)
@ 2019-05-07 4:51 ` pelzflorian (Florian Pelz)
2019-05-07 12:36 ` sirgazil
2019-05-07 14:26 ` pelzflorian (Florian Pelz)
0 siblings, 2 replies; 15+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-05-07 4:51 UTC (permalink / raw)
To: sirgazil; +Cc: 35610
On Tue, May 07, 2019 at 06:11:58AM +0200, pelzflorian (Florian Pelz) wrote:
> I had the same problem; it works for me now after I added ibus and
> ibus-anthy to the system packages, Anthy appeared in ibus-setup. I
> believe I had done no other steps other than experimenting with
> libexec/ibus-setup-anthy (which I believe did not change anything).
>
Since then IBus Preferences has an icon in GNOME Shell. Maybe it is
the same issue as <https://issues.guix.info/issue/35594>. Maybe a
reboot is all that would have been required.
I did add what ibus-setup told me to my bashrc by the way, but I
believe it has no effect on GNOME.
Regards,
Florian
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-07 4:51 ` pelzflorian (Florian Pelz)
@ 2019-05-07 12:36 ` sirgazil
2019-05-07 14:26 ` pelzflorian (Florian Pelz)
1 sibling, 0 replies; 15+ messages in thread
From: sirgazil @ 2019-05-07 12:36 UTC (permalink / raw)
To: pelzflorian (Florian Pelz); +Cc: 35610
---- On Mon, 06 May 2019 23:51:13 -0500 pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> wrote ----
> On Tue, May 07, 2019 at 06:11:58AM +0200, pelzflorian (Florian Pelz) wrote:
> > I had the same problem; it works for me now after I added ibus and
> > ibus-anthy to the system packages, Anthy appeared in ibus-setup. I
> > believe I had done no other steps other than experimenting with
> > libexec/ibus-setup-anthy (which I believe did not change anything).
> >
>
> Since then IBus Preferences has an icon in GNOME Shell. Maybe it is
> the same issue as <https://issues.guix.info/issue/35594>. Maybe a
> reboot is all that would have been required.
In my case, when I installed ibus and ibus-anthy, and saw that Anthy was not listed in GNOME Settings, I rebooted and checked both GNOME Settings and IBus Preferences. But nothing. The only change after reboot was that the IBus Preferences icon was available in GNOME's list of applications (which I expected because of bug #35594).
> I did add what ibus-setup told me to my bashrc by the way, but I
> believe it has no effect on GNOME.
When I launch "ibus-setup" (graphically) it doesn't tell me anything about environment variables. Although I remember in older Debians and Debian-based distros it did say something. But that is not the case in modern distributions (in my experience).
I'm going to try to work around the issue with the exports Chris mentioned, and then see if I have to use the exports from ison's message.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-07 4:51 ` pelzflorian (Florian Pelz)
2019-05-07 12:36 ` sirgazil
@ 2019-05-07 14:26 ` pelzflorian (Florian Pelz)
1 sibling, 0 replies; 15+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-05-07 14:26 UTC (permalink / raw)
To: sirgazil; +Cc: 35610
On Tue, May 07, 2019 at 06:51:13AM +0200, pelzflorian (Florian Pelz) wrote:
> On Tue, May 07, 2019 at 06:11:58AM +0200, pelzflorian (Florian Pelz) wrote:
> > I had the same problem; it works for me now after I added ibus and
> > ibus-anthy to the system packages, Anthy appeared in ibus-setup. I
> > believe I had done no other steps other than experimenting with
> > libexec/ibus-setup-anthy (which I believe did not change anything).
> >
>
> Since then IBus Preferences has an icon in GNOME Shell. Maybe it is
> the same issue as <https://issues.guix.info/issue/35594>. Maybe a
> reboot is all that would have been required.
>
> I did add what ibus-setup told me to my bashrc by the way, but I
> believe it has no effect on GNOME.
>
What I said was incomplete. I just tried again; ibus-anthy works fine
for me only when e.g. entering text in GNOME Shell’s search bar, but
not when entering text in the terminal. Sorry.
Regards,
Florian
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-07 0:36 ` Chris Marusich
@ 2019-05-07 15:24 ` sirgazil
0 siblings, 0 replies; 15+ messages in thread
From: sirgazil @ 2019-05-07 15:24 UTC (permalink / raw)
To: Chris Marusich; +Cc: 35610
---- On Mon, 06 May 2019 19:36:17 -0500 Chris Marusich <cmmarusich@gmail.com> wrote ----
> ison <ison@airmail.cc> writes:
>
> > I currently have ibus with anthy working, but I had this exact same problem at
> > first. I'm not 100% sure what I finally did to solve it, but I think it may have
> > been a missing environment variable. Here is what I have set:
> > export GTK_IM_MODULE_FILE="/run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"
> > export GTK_IM_MODULE="xim"
> > export XMODIFIERS="@im=ibus"
> > export QT_IM_MODULE="xim"
> >
> > I'm thinking the $GTK_IM_MODULE_FILE variable is the missing ingredient.
> > However, while attempting to fix this I also installed the packages:
> > ibus, ibus-anthy, dbus, python-dbus, python2-dbus
> >
> > If you need these packages too to make it work then perhaps its worth
> > investigating if the anthy package is missing some dependencies.
>
> FWIW I have the following in my ~/.bash_profile. If you search the
> email list archives for these environment variables, you'll find some
> relevant discussions:
I found the discussion. The topic is "Typing on GuixSD in languages other than English" (https://lists.gnu.org/archive/html/help-guix/2016-04/msg00006.html). I participated, I'm Luis Felipe :)
> --8<---------------cut here---------------start------------->8---
> # Enable GTK+2 and GTK+3 programs to simultaneously use the right
> # immodules cache file. This is a Guix-specific work-around.
> # See: https://lists.gnu.org/archive/html/guix-devel/2016-08/msg01634.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"
> --8<---------------cut here---------------end--------------->8---
>
> ご覧の通り、日本語入力はできています。
>
> If it still doesn't work for you, I'll be happy to help troubleshoot.
> I set this up years ago, and the one thing I remember is that it was a
> bit of a hassle.
So, yeah, that didn't work for me. I added the exports to my "~/.bash_profile", rebooted, and still no "Japanese (Anthy)" listed anywhere.
Looking at ison's exports, I thought, "I 've seen this before", and yes, I found in my old notes about IBus that when you started IBus Preferences for the first time you were ask whether you wanted to start the ibus daemon, and on Yes, you were asked to export the following too:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
(For people reading this in the list archives, the second line is "export XMODIFIERS=ATim=ibus", where "AT" is the "at sign". The archives interpret it as an email address and won't display the line correctly).
The difference with ison's is that these exports use "ibus", not "xim". Ricardo mentions the three lines above in the previous discussion on the list too (https://lists.gnu.org/archive/html/help-guix/2016-04/msg00016.html). So I also tried this in my "~/.bash_profile":
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"
export IBUS_COMPONENT_PATH="$HOME/.guix-profile/share/ibus/component"
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
And then rebooted. But nothing changed. I still can't find "Japanese (Anthy)" anywhere.
Working around this issue seems difficult, so I'll use romaji for now.
Thanks ison, Chris, and Florian for the help :)
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-06 21:48 ` ison
2019-05-07 0:36 ` Chris Marusich
@ 2019-05-07 15:54 ` sirgazil
2019-05-07 20:15 ` ison
1 sibling, 1 reply; 15+ messages in thread
From: sirgazil @ 2019-05-07 15:54 UTC (permalink / raw)
To: ison; +Cc: 35610
---- On Mon, 06 May 2019 16:48:27 -0500 ison <ison@airmail.cc> wrote ----
> I currently have ibus with anthy working, but I had this exact same problem at
> first. I'm not 100% sure what I finally did to solve it, but I think it may have
> been a missing environment variable. Here is what I have set:
> export GTK_IM_MODULE_FILE="/run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"
> export GTK_IM_MODULE="xim"
> export XMODIFIERS="@im=ibus"
> export QT_IM_MODULE="xim"
>
> I'm thinking the $GTK_IM_MODULE_FILE variable is the missing ingredient.
> However, while attempting to fix this I also installed the packages:
> ibus, ibus-anthy, dbus, python-dbus, python2-dbus
>
> If you need these packages too to make it work then perhaps its worth
> investigating if the anthy package is missing some dependencies.
I forgot to say that I installed dbus, python-dbus, python2-dbus (I already had ibus and ibus-anthy) and restarted the machine, but nothing changed. I did this while "~/.bash_profile" still had this:
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"
export IBUS_COMPONENT_PATH="$HOME/.guix-profile/share/ibus/component"
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-07 15:54 ` sirgazil
@ 2019-05-07 20:15 ` ison
2019-05-09 12:35 ` pelzflorian (Florian Pelz)
0 siblings, 1 reply; 15+ messages in thread
From: ison @ 2019-05-07 20:15 UTC (permalink / raw)
To: sirgazil; +Cc: 35610
The only other thing I can think of right now which might be different is the
way I'm starting ibus. Instead of ibus-setup, what happens if you launch it with
ibus-daemon -drx
and then access the preferences by right clicking the tray icon (or perhaps
running ibus-setup _after_ the daemon is launched if you have no tray icon)
On Tue, May 07, 2019 at 04:26:29PM +0200, pelzflorian (Florian Pelz) wrote:
> What I said was incomplete. I just tried again; ibus-anthy works fine
> for me only when e.g. entering text in GNOME Shell’s search bar, but
> not when entering text in the terminal. Sorry.
If I recall correctly I had this issue as well, where input would not work in
the terminal even though it worked in other applications, until I changed some
of my environment variables to "xim" instead of "ibus".
According to the Arch Wiki here
https://wiki.archlinux.org/index.php/IBus
there are claims from some users that things don't work until they replace
"ibus" with "xim".
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-07 20:15 ` ison
@ 2019-05-09 12:35 ` pelzflorian (Florian Pelz)
0 siblings, 0 replies; 15+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-05-09 12:35 UTC (permalink / raw)
To: ison; +Cc: 35610, sirgazil
On Tue, May 07, 2019 at 02:15:46PM -0600, ison wrote:
> The only other thing I can think of right now which might be different is the
> way I'm starting ibus. Instead of ibus-setup, what happens if you launch it with
> ibus-daemon -drx
> and then access the preferences by right clicking the tray icon (or perhaps
> running ibus-setup _after_ the daemon is launched if you have no tray icon)
>
I believe GNOME takes care of ibus. For me where ibus works only in
the gnome-shell search field. I get this output:
florian@florianmacbook ~$ ibus-daemon drx
current session already has an ibus-daemon.
> On Tue, May 07, 2019 at 04:26:29PM +0200, pelzflorian (Florian Pelz) wrote:
> > What I said was incomplete. I just tried again; ibus-anthy works fine
> > for me only when e.g. entering text in GNOME Shell’s search bar, but
> > not when entering text in the terminal. Sorry.
>
> If I recall correctly I had this issue as well, where input would not work in
> the terminal even though it worked in other applications, until I changed some
> of my environment variables to "xim" instead of "ibus".
> According to the Arch Wiki here
> https://wiki.archlinux.org/index.php/IBus
> there are claims from some users that things don't work until they replace
> "ibus" with "xim".
This does not help. It would also only be applied when starting the
app from bash and not from gnome-shell, I believe.
Regards,
Florian
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-06 21:21 bug#35610: Freshly installed IBus intput method is not listed as an input source sirgazil
2019-05-06 21:48 ` ison
2019-05-07 4:11 ` pelzflorian (Florian Pelz)
@ 2019-06-24 15:57 ` Chris Marusich
2019-06-24 22:26 ` sirgazil
2019-06-25 23:20 ` sirgazil
2023-06-18 23:16 ` Luis Felipe via Bug reports for GNU Guix
3 siblings, 2 replies; 15+ messages in thread
From: Chris Marusich @ 2019-06-24 15:57 UTC (permalink / raw)
To: sirgazil; +Cc: 35610
[-- Attachment #1: Type: text/plain, Size: 2565 bytes --]
sirgazil <sirgazil@zoho.com> writes:
> Hi,
>
> I installed the GNU system using the Guix System 1.0 ISO installer and
> reconfigured the system to work around the installer "%base-packages"
> bug (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35541).
>
> When I install the "ibus-anthy" input method, I don't find any way of
> using it because it is not listed in the GNOME input sources, nor in
> the list of input methods in IBus Preferences.
>
>
> ## Steps to reproduce
>
> 1. guix install ibus ibus-anthy font-adobe-source-han-sans
> 2. Go to "GNOME Settings → Language & Region"
> 3. In "Input Sources", click on the Add button (+)
> 4. In the list that appears, select "Japanese"
>
>
> ## Unexpected result
>
> "Japanese (Anthy)" is not listed.
>
>
> ## Expected result
>
> "Japanese (Anthy)" is listed.
>
> Also, adding it to the list of Input Sources enables a new option to
> the right of the GNOME top bar where you can select the different
> Input Sources you have set. When you choose the newly added Japanese
> (Anthy) you can start writing Japanese right away. For example, typing
> "aiueo" would result in "あいうえお".
>
> Also, the keyboard combination Super+Space allows you to alternate between input sources
>
>
> ## Additional information
>
> The Japanese (Anthy) input method is not listed in IBus preferences either. You can check by doing the following:
>
> 1. Click on Activities
> 2. Click on Show Applications
> 3. Click on IBus Preferences
> 4. Click on the Input Method tab
> 5. Click on the Add button
> 6. Click on Japanese
>
> You should be able to see Anthy there, but it isn't.
Please try the following:
1) Make sure you've installed ibus, ibus-anthy, and a font package that
gives you appropriate fonts for Japanese. For example:
guix package -i ibus ibus-anthy font-adobe-source-han-sans
2) Make sure you've set the following environment variables in a place
where they will be made available to your desktop environment (in Guix
System, it is sufficient to put this in your ~/.bash_profile):
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"
2) Remove the ibus cache:
rm -rf ~/.cache/ibus
3) Log out and back in.
I was able to reproduce your issue in a Guix VM, and I was able to
resolve it by taking those steps. Please let me know if this fixes the
issue for you, as well.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-06-24 15:57 ` Chris Marusich
@ 2019-06-24 22:26 ` sirgazil
2019-06-25 23:20 ` sirgazil
1 sibling, 0 replies; 15+ messages in thread
From: sirgazil @ 2019-06-24 22:26 UTC (permalink / raw)
To: Chris Marusich; +Cc: 35610
---- On Mon, 24 Jun 2019 10:57:55 -0500 Chris Marusich <cmmarusich@gmail.com> wrote ----
> sirgazil <sirgazil@zoho.com> writes:
>
> > Hi,
> >
> > I installed the GNU system using the Guix System 1.0 ISO installer and
> > reconfigured the system to work around the installer "%base-packages"
> > bug (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35541).
> >
> > When I install the "ibus-anthy" input method, I don't find any way of
> > using it because it is not listed in the GNOME input sources, nor in
> > the list of input methods in IBus Preferences.
> >
> >
> > ## Steps to reproduce
> >
> > 1. guix install ibus ibus-anthy font-adobe-source-han-sans
> > 2. Go to "GNOME Settings → Language & Region"
> > 3. In "Input Sources", click on the Add button (+)
> > 4. In the list that appears, select "Japanese"
> >
> >
> > ## Unexpected result
> >
> > "Japanese (Anthy)" is not listed.
> >
> >
> > ## Expected result
> >
> > "Japanese (Anthy)" is listed.
> >
> > Also, adding it to the list of Input Sources enables a new option to
> > the right of the GNOME top bar where you can select the different
> > Input Sources you have set. When you choose the newly added Japanese
> > (Anthy) you can start writing Japanese right away. For example, typing
> > "aiueo" would result in "あいうえお".
> >
> > Also, the keyboard combination Super+Space allows you to alternate between input sources
> >
> >
> > ## Additional information
> >
> > The Japanese (Anthy) input method is not listed in IBus preferences either. You can check by doing the following:
> >
> > 1. Click on Activities
> > 2. Click on Show Applications
> > 3. Click on IBus Preferences
> > 4. Click on the Input Method tab
> > 5. Click on the Add button
> > 6. Click on Japanese
> >
> > You should be able to see Anthy there, but it isn't.
>
> Please try the following:
>
> 1) Make sure you've installed ibus, ibus-anthy, and a font package that
> gives you appropriate fonts for Japanese. For example:
>
> guix package -i ibus ibus-anthy font-adobe-source-han-sans
>
> 2) Make sure you've set the following environment variables in a place
> where they will be made available to your desktop environment (in Guix
> System, it is sufficient to put this in your ~/.bash_profile):
>
> 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"
>
> 2) Remove the ibus cache:
>
> rm -rf ~/.cache/ibus
>
> 3) Log out and back in.
>
> I was able to reproduce your issue in a Guix VM, and I was able to
> resolve it by taking those steps. Please let me know if this fixes the
> issue for you, as well.
やった!本当にありがとう、Chrisさん! :)
So, Guix is not setting those variables for the user, right? And maybe variables for other GUI toolkits too (Qt)?
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-06-24 15:57 ` Chris Marusich
2019-06-24 22:26 ` sirgazil
@ 2019-06-25 23:20 ` sirgazil
1 sibling, 0 replies; 15+ messages in thread
From: sirgazil @ 2019-06-25 23:20 UTC (permalink / raw)
To: Chris Marusich; +Cc: 35610
Hi, Chris.
After getting the Japanese input working with your instructions, though, I noticed that using Ctrl+Shift+U to write characters by their Unicode stopped working. If I comment the exports
> 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"
Ctrl+Shift+U works again after logging out and back in, but, obviously, Japanese input breaks again.
I can live without Ctrl+Shift+U for now, though.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#35610: Freshly installed IBus intput method is not listed as an input source
2019-05-06 21:21 bug#35610: Freshly installed IBus intput method is not listed as an input source sirgazil
` (2 preceding siblings ...)
2019-06-24 15:57 ` Chris Marusich
@ 2023-06-18 23:16 ` Luis Felipe via Bug reports for GNU Guix
3 siblings, 0 replies; 15+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2023-06-18 23:16 UTC (permalink / raw)
To: 35610
[-- Attachment #1.1.1: Type: text/plain, Size: 277 bytes --]
Hi,
Just to mention that from December 2022 (I'm currently using guix system
428b810), the workaround in this thread doesn't work anymore. Anthy
doesn't get listed anymore as an input option in GNOME settings, nor in
"ibus-setup".
I can't type Japanese anymore.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2023-06-18 23:17 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-06 21:21 bug#35610: Freshly installed IBus intput method is not listed as an input source sirgazil
2019-05-06 21:48 ` ison
2019-05-07 0:36 ` Chris Marusich
2019-05-07 15:24 ` sirgazil
2019-05-07 15:54 ` sirgazil
2019-05-07 20:15 ` ison
2019-05-09 12:35 ` pelzflorian (Florian Pelz)
2019-05-07 4:11 ` pelzflorian (Florian Pelz)
2019-05-07 4:51 ` pelzflorian (Florian Pelz)
2019-05-07 12:36 ` sirgazil
2019-05-07 14:26 ` pelzflorian (Florian Pelz)
2019-06-24 15:57 ` Chris Marusich
2019-06-24 22:26 ` sirgazil
2019-06-25 23:20 ` sirgazil
2023-06-18 23:16 ` Luis Felipe via Bug reports for GNU Guix
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.