From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: ludvikgalois@gmail.com, help-guix@gnu.org
Subject: Re: ibus in GuixSD
Date: Wed, 15 Aug 2018 08:18:59 -0400 [thread overview]
Message-ID: <87a7pnn6wa.fsf@gmail.com> (raw)
In-Reply-To: 87tvo65mqn.fsf@elephly.net
Hello,
Ricardo Wurmus <rekado@elephly.net> writes:
> Hi Robert,
>
>> I'm having a few issues getting ibus working properly in GuixSD. I'm unsure
>> I've have to package the layout I want myself (just an Esperanto layout
>> using x-sistemo) but I can't find any package for it, so before doing this
>> I decided to take a look at how ibus-libpinyin does it. Unfortunately after
>> installing ibus-libpinyin (and ibus-anthy), I can't seem to find it in the
>> layouts known to ibus-settings. Is there an environment variable I need to
>> set that I simply forgot to?
>
> ibus-libpinyin works for me. I have these relevant environment
> variables set:
>
> GTK_DATA_PREFIX=/run/current-system/profile
> GUIX_GTK2_IM_MODULE_FILE=/home/rekado/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache
> GUIX_GTK3_IM_MODULE_FILE=/home/rekado/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache
> IBUS_COMPONENT_PATH=/home/rekado/.guix-profile/share/ibus/component
> GTK_IM_MODULE=ibus
> QT_IM_MODULE=ibus
> XMODIFIERS=@im=ibus
I tried the above, but it didn't work for me. The only thing which works
reliably is (which is in my ~/.bash_profile):
# ibus
# source: https://wiki.archlinux.org/index.php/IBus
export IBUS_COMPONENT_PATH="$HOME/.guix-profile/share/ibus/component${IBUS_COMPONENT_PATH:+:}$IBUS_COMPONENT_PATH"
export GTK_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=xim
Note that this configuration is deemed wrong by ibus' maintainer:
https://github.com/ibus/ibus/issues/2020
My daemon is started in my ~/.ratpoisonrc file like this:
exec ibus-daemon --xim
I've used ibus-setup to configure my input method to Anthy and US -
dvorak for now, and I've configured the shortcut to switch between those
to be Super + Space.
Maxim
prev parent reply other threads:[~2018-08-15 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 10:59 ibus in GuixSD Robert Offner
2018-08-07 13:29 ` Ricardo Wurmus
2018-08-15 12:18 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7pnn6wa.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=help-guix@gnu.org \
--cc=ludvikgalois@gmail.com \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.