all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tomas Volf <~@wolfsden.cz>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: help-guix@gnu.org
Subject: Re: Pinyin in GNOME
Date: Mon, 6 Nov 2023 22:19:24 +0100	[thread overview]
Message-ID: <ZUlYXNU4NZxQtoSB@ws> (raw)
In-Reply-To: <87r0l24mor.fsf@lease-up.com>

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-11-06 21:20 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 [this message]
2024-04-22  0:47   ` Felix Lechner via
2024-04-22 12:59     ` Luis Felipe
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZUlYXNU4NZxQtoSB@ws \
    --to=~@wolfsden.cz \
    --cc=felix.lechner@lease-up.com \
    --cc=help-guix@gnu.org \
    /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.