[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pinyin in GNOME
From: |
Tomas Volf |
Subject: |
Re: Pinyin in GNOME |
Date: |
Mon, 6 Nov 2023 22:19:24 +0100 |
On 2023-11-06 13:05:40 -0800, Felix Lechner via wrote:
> Hi,
>
> What's an easy way to get pinyin input with Guix Home in our standard
> GNOME desktop, please?
>
> I once had it but then lost it. I think some environment variables need
> to be set. Thanks!
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")))
Hope it helps,
Tomas
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
signature.asc
Description: PGP signature
- Pinyin in GNOME, Felix Lechner, 2023/11/06
- Re: Pinyin in GNOME,
Tomas Volf <=