all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#45064] [PATCH 0/2] Set environment variables for GTK+ input methods via profile startup files
@ 2020-12-06  5:40 iyzsong
  2020-12-06  6:15 ` [bug#45064] [PATCH 1/2] profiles: Load application specific " iyzsong
  2020-12-07 12:09 ` [bug#45064] [PATCH 0/2] Set environment variables for GTK+ input methods via profile " Leo Prikler
  0 siblings, 2 replies; 5+ messages in thread
From: iyzsong @ 2020-12-06  5:40 UTC (permalink / raw)
  To: 45064; +Cc: 宋文武

From: 宋文武 <iyzsong@member.fsf.org>

Hello, Guix!

To use GTK+ input methods, currently we need set
‘GUIX_GTK2_IM_MODULE_FILE’ and ‘GUIX_GTK3_IM_MODULE_FILE’ manually in
.xsession or .bash_profile, we also having a patch [1] that set them
for gnome via ‘gnome-desktop-service-type’.  But I think the right
place to set them is the ‘gtk-im-modules’ profile hook, so the first
patch make ‘etc/profile’ source files in ‘etc/profile.d/*.sh’, and the
second patch add ‘etc/profile.d/gtk2-im-modules.sh’ and
‘etc/profile.d/gtk3-im-modules.sh’.  The first patch is also useful
for packages that provide profile startup files (eg: nix).

Thanks!

[1] <https://issues.guix.gnu.org/44354>

Sou Bunnbu (宋文武) (2):
  profiles: Load application specific startup files.
  profiles: gtk-im-modules: Set environment variables for input methods.

 guix/build/profiles.scm | 13 ++++++++++++-
 guix/profiles.scm       | 12 ++++++++++--
 2 files changed, 22 insertions(+), 3 deletions(-)

-- 
2.29.2





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

end of thread, other threads:[~2020-12-07 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06  5:40 [bug#45064] [PATCH 0/2] Set environment variables for GTK+ input methods via profile startup files iyzsong
2020-12-06  6:15 ` [bug#45064] [PATCH 1/2] profiles: Load application specific " iyzsong
2020-12-07 12:09 ` [bug#45064] [PATCH 0/2] Set environment variables for GTK+ input methods via profile " Leo Prikler
2020-12-07 13:55   ` 宋文武
2020-12-07 14:47     ` Leo Prikler

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.