Re: Anyone want to make a Debian XDM login screen?
Inspired by your cute reboot/halt button hack, I added it plus a
little background color to my own xdm. Everyone here is pretty happy
with the result.
--BAP.
Added to the bottom of /etc/X11/xdm/Xsetup_0
# reboot button
/usr/bin/wish <<EOF &
wm geometry . +0-0
button .halt -text Halt -command {exec shutdown -h now}
button .reboot -text Reboot -command {exec shutdown -r now}
pack .halt .reboot -side left
EOF
echo $! > /var/run/xdmbutton_0.pid
# background
/usr/bin/X11/xlock -inroot -delay 50000 -mode bouboule &
echo $! > /var/run/xdmlock_0.pid
Added to the bottom of /etc/X11/xdm/Xstartup_0
# reboot button
if test -r /var/run/xdmbutton_0.pid; then
kill `cat /var/run/xdmbutton_0.pid`
rm /var/run/xdmbutton_0.pid
fi
# background
if test -r /var/run/xdmlock_0.pid; then
kill `cat /var/run/xdmlock_0.pid`
rm /var/run/xdmlock_0.pid
fi
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: