guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] Fix IBus input methods.


From: Ricardo Wurmus
Subject: Re: [PATCH 0/2] Fix IBus input methods.
Date: Fri, 18 Nov 2016 22:28:47 +0100
User-agent: mu4e 0.9.16; emacs 26.0.50.1

Chris Marusich <address@hidden> writes:

> This is so good.  Thank you for doing it!  I am happy to confirm that
> Japanese input via ibus-anthy works like a charm after your changes.
> All I had to do was the following:

I’m glad this works for you!

> (1) install ibus, ibus-anthy, and anthy (anthy is probably not strictly
> necessary to have in my profile, but it provides a potentially useful
> tool for managing user dictionaries, so I want it in my profile),
>
> (2) generate two cache files for both GTK+ versions with
> "gtk-query-immodules-2.0" and "gtk-query-immodules-3.0" (it took me a
> minute to find the latter program, which was hiding in the "bin" output
> of the address@hidden package),

This step shouldn’t be necessary.  The cache files are generated in a
profile hook:

    ~/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache
    ~/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache

You only need to set GUIX_GTK3_IM_MODULE_FILE /
GUIX_GTK2_IM_MODULE_FILE.

> My only concern is that when installing ibus , Guix displays no message
> indicating to the user that they will need to go through the above steps
> to get their input methods working.  It would also be nice if we could
> emit a similar message any time ibus or one of its engines, like
> ibus-anthy, is installed/removed/updated, since as you know it is
> necessary to regenerate the immodules cache files in that case [2].  Is
> there a way to notify the user when installing?  Or, would it be better
> to just describe what needs to be done in the manual?

I’d prefer documenting this in the manual.  Would you like to do this?

(I should also note that the simple XKB input methods (e.g. Arabic) no
longer work via IBus.  They work when switching XKB input methods using
the Xfce Keyboard Layout switcher widget, though.  Something’s broken
there, but I’m not sure what it is.  I got it to work once before.)

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC




reply via email to

[Prev in Thread] Current Thread [Next in Thread]