宋文武 <iyzs...@gmail.com> skribis: > 2015-03-10 16:46 GMT+08:00 Ludovic Courtès <l...@gnu.org>: >> 宋文武 <iyzs...@gmail.com> skribis: >> >>> * gnu/services/xorg.scm (<session-type>, %windowmaker-session-type) >>> (%ratposion-session-type, %sawfish-session-type, %default-xsessions) >>> (xsessions-directory): Remove. >>> (slim-service): Remove #:sessions parameter. >>> [slim.cfg]: Use /run/current-system/profile/share/xsessions as sessiondir. >>> * doc/guix.texi <X Window>: Adjust accordingly. >> >> [...] >> >>> -(define (xsessions-directory sessions) >>> - "Return a directory containing SESSIONS, a list of <session-type> >>> objects. >>> -The alphabetical order of the files in that directory match the order of >>> the >>> -elements in SESSIONS." >> >> This patch looks like a desirable simplification. However, we would >> lose the ability to specify the order in which sessions are presented to >> the user (added in commit a21b23d3.) >> >> Any idea how we could preserve that property? > Have no idea here, since now xsession files are unmodified, > and login managers usually choose the order alphabetical. > > But other login managers (eg: lightdm) will remember the lasted > select session. (If this helps :-)
OK. So please push, with the understanding that you’re encouraged to add lightdm and/or GDM support. :-) Thank you, Ludo’.