[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19119: closed (Re: bug#19119: X cannot run programs in the current u
From: |
宋文武 |
Subject: |
bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile) |
Date: |
Sat, 13 Dec 2014 22:07:30 +0800 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu) |
Ludovic Courtès <address@hidden> writes:
> Thinking more about it, the fix in 1d18d87 wasn’t quite right.
>
> I think the right thing would be to run the window manager as a child of
> a ‘bash --login’ process, so the whole X session would get environment
> variables like a login shell.
>
> WDYT, 宋文武?
Agree!
And currently ratposion and windowmaker are hardcoded,
how about make sessions configurable?
Like:
(define %default-sessions
`(("windowmaker" . #~(execl #$windowmaker "/bin/wmaker"))
("ratposion" . #~(execl #$ratposion "/bin/ratposion"))))
(define* (slim-service #:key (sessions %default-sessions)
...
>
> Thanks,
> Ludo’.