guix-devel
[Top][All Lists]
Advanced

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

Re:Re: Integrating different input methods into Guix


From: tumashu
Subject: Re:Re: Integrating different input methods into Guix
Date: Mon, 23 Jan 2017 14:38:17 +0800 (CST)

Service seem to be a good idea...






At 2017-01-23 08:32:11, "Danny Milosavljevic" <address@hidden> 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

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