From: Luis Felipe <sirgazil@zoho.com>
To: Felix Lechner <felix.lechner@lease-up.com>, Tomas Volf <~@wolfsden.cz>
Cc: help-guix@gnu.org
Subject: Re: Pinyin in GNOME
Date: Mon, 22 Apr 2024 12:59:17 +0000 [thread overview]
Message-ID: <97240bc6-1506-69a6-336b-5379f6d6cd04@zoho.com> (raw)
In-Reply-To: <87plui441a.fsf@lease-up.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 2223 bytes --]
Hi Felix,
El 22/04/24 a las 0:47, Felix Lechner via escribió:
> Hi Tomas,
>
> On Mon, Nov 06 2023, Tomas Volf wrote:
>
>> Not sure about pinyin, but for ibus I need to set
>>
>> (simple-service
>> 'im-env-vars home-environment-variables-service-type
>> '(("GTK_IM_MODULE" . "ibus")
>> ("QT_IM_MODULE" . "ibus")
>> ("XMODIFIERS" . "@im=ibus")
>> ;; TODO: Are these still required? If yes, try to get rid of them.
>> ("GUIX_GTK2_IM_MODULE_FILE"
>> . "$HOME/.guix-home/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache")
>> ("GUIX_GTK3_IM_MODULE_FILE"
>> . "$HOME/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache")))
> That works locally under EXWM, but have been unable to get ibus working
> under GNOME. Would someone please post a complete recipe, including
> what to install in which profile, and whether to start GNOME in X or
> Wayland?
I use GNOME in X. In my system configuration I have this package:
#| NOTE: I'd like to have ibus available to all users by default,
but last time I checked, this didn't work as expected and I still
had to install it in user profiles. |#
(specification->package "ibus")
In the manifest for my user profile I have these packages:
"ibus"
"ibus-anthy"
"ibus-libhangul"
"ibus-libpinyin"
"ibus-speech-to-text"
In my ~/.profile file I export these variables:
# GUIX RELATED VARIABLES TO WORK AROUND BUG #35610
# https://issues.guix.gnu.org/issue/35610
# 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"
# These are needed only to work on Qt apps like TeXmacs.
export XMODIFIERS="@im=ibus" # Set X input method server (xim) to ibus.
export QT_IM_MODULE="ibus" # Set Qt input method module to ibus.
Finally, every time I start a GNOME desktop session, I have to run the
following:
ibus-daemon -drx
I input Japanese reliably using this. I don't use the other input
methods often, but they work, as far as I can see.
Hope that helps,
[-- 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 --]
next prev parent reply other threads:[~2024-04-22 12:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 21:05 Pinyin in GNOME Felix Lechner via
2023-11-06 21:19 ` Tomas Volf
2024-04-22 0:47 ` Felix Lechner via
2024-04-22 12:59 ` Luis Felipe [this message]
2024-04-24 18:20 ` Luis Felipe
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97240bc6-1506-69a6-336b-5379f6d6cd04@zoho.com \
--to=sirgazil@zoho.com \
--cc=felix.lechner@lease-up.com \
--cc=help-guix@gnu.org \
--cc=~@wolfsden.cz \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).