unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Pinyin in GNOME
@ 2023-11-06 21:05 Felix Lechner via
  2023-11-06 21:19 ` Tomas Volf
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Lechner via @ 2023-11-06 21:05 UTC (permalink / raw)
  To: help-guix

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!

Kind regards
Felix


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Pinyin in GNOME
  2023-11-06 21:05 Pinyin in GNOME Felix Lechner via
@ 2023-11-06 21:19 ` Tomas Volf
  0 siblings, 0 replies; 2+ messages in thread
From: Tomas Volf @ 2023-11-06 21:19 UTC (permalink / raw)
  To: Felix Lechner; +Cc: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-06 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 21:05 Pinyin in GNOME Felix Lechner via
2023-11-06 21:19 ` Tomas Volf

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).