all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tcech@suse.cz
To: guix-devel@gnu.org
Subject: Re: SLiM session types
Date: Sat, 7 Mar 2015 15:50:26 +0100	[thread overview]
Message-ID: <20150307145026.GA9102@venom> (raw)
In-Reply-To: <878uibo9fx.fsf_-_@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1954 bytes --]

On Sat, Dec 13, 2014 at 04:28:50PM +0100, Ludovic Courtès wrote:
>宋文武 <iyzsong@gmail.com> skribis:
>
>> 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)
>>     ...
>
>I agree that something along these lines is needed.
>
>However, these session types are currently unused.  SLiM is supposed to
>support session choice from the log-in screen, but for that, a
>‘session_dir’ key needs to be added to slim.cfg (in xorg.scm).
>
>The ‘session_dir’ value should be the name of a directory containing
>entries describing the various session types available, in a format that
>SLiM understands.

I'm not able to understand how the proposed solution should work and
it's a bit unclear to me what is needed to do to add new session -
enlightenment in my case.

Is there reason, why xsession files should not be stored within
profile? I can hardly imagine login manager with session selection to
be anything else than system wide service and in that case path like
/run/current-system/profile/share/xsessions sounds like proper place.

In any case, it would be helpful if packager could just ignore this
architectural decisions and could use some function which returns
desired target directory for xsession files (maybe defining as public
xsessions-directory from gnu/services/xorg.scm?) or even take xsession
file name as argument and do whatever is needed.

And one additional question - if xsession file can be part of multiple
profiles, I can't install or create symlink to target directory during
the build, but it needs to be done on adding to profile - is there any
hook for that?

TIA for answers,

S_W

[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-03-07 14:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-20 14:16 bug#19119: X cannot run programs in the current user's profile Thompson, David
2014-11-20 20:15 ` Ludovic Courtès
     [not found] ` <handler.19119.D19119.141651456331142.notifdone@debbugs.gnu.org>
2014-12-11 20:36   ` bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile) Ludovic Courtès
2014-12-13 14:07     ` 宋文武
2014-12-13 15:24       ` Ludovic Courtès
2014-12-13 15:28       ` SLiM session types Ludovic Courtès
2015-03-07 14:50         ` tcech [this message]
2015-03-08 14:28           ` 宋文武

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150307145026.GA9102@venom \
    --to=tcech@suse.cz \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.