guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrating different input methods into Guix


From: Danny Milosavljevic
Subject: Re: Integrating different input methods into Guix
Date: Mon, 23 Jan 2017 01:32:11 +0100

Hi,

I understand. For now, let's see what the others say about the proposed design.

If you want to just set the environment variables in your user session, you can 
just edit ~/.bash_profile and invoke im-config there (maybe unchanged - 
although it bothers me that it then would invoke random versions of the input 
methods - which can change depending on what's installed right now).

But it would be nicer if the login screens used the input methods, too. That 
would be possible by either writing a service, or, as a quick fix, by adding 
the environment variables to gnu/services/xorg.scm :

              (fork+exec-command
               (list (string-append #$slim "/bin/slim") "-nodaemon")
               #:environment-variables
               (list (string-append "SLIM_CFGFILE=" #$slim.cfg)
                     "IM_CONFIG_xyz=FIXME"
                     #$@(if theme
                            (list #~(string-append "SLIM_THEMESDIR=" #$theme))
                            #~())))))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]