Service seem to be a good idea...







At 2017-01-23 08:32:11, "Danny Milosavljevic" <dan...@scratchpost.org> wrote:
>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