[Slackbuilds-users] GDM vs. ConsoleKit in -current

Nicolas Kovacs info at microlinux.fr
Wed Dec 9 15:01:31 UTC 2015


Le 09/12/2015 15:26, Matteo Bernardini a écrit :
> I suppose (but I haven't tried that too) that cutting away the 40
> lines of the <child> section with id="sessions_box" from greeter.ui
> should hide it.

I think I'll just leave the session selector as is, since it's not
really an annoyance.

One last detail that bothers me a little. Normally, after installing
LXDM, the user would have to manually edit /etc/rc.d/rc.4 to add a
corresponding stanza:

if [ -x /usr/sbin/lxdm ]; then
  exec /usr/sbin/lxdm
fi

Since my LXDM package will be intended for MLED (where there's only one
single desktop, Xfce, as well as one single login manager, LXDM), I
guess a comfortable way to "integrate" the package would be to add a sed
line to lxdm's doinst.sh, to replace this in rc.4:

# Someone thought that gdm looked prettier in /usr/sbin,
# so look there, too:
if [ -x /usr/sbin/gdm ]; then
  exec /usr/sbin/gdm -nodaemon
fi

... with the above stanza.

Or do you have a better idea?


-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32


More information about the SlackBuilds-users mailing list