/etc/X11/gpe-login.setup is in gpe-login 0.95-2ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/sh
PATH=$PATH:/usr/X11R6/bin:/usr/bin
if [ -f /proc/sys/ts/suspend_button_mode ]; then
echo 1 > /proc/sys/ts/suspend_button_mode
fi
keylaunch -f /etc/X11/gpe-login.keylaunchrc &
ipaq-sleep -u 60 -o 30 -n &
# check if the user wants a bg image at all:
if [ ! -e /etc/gpe/gpe-login-bg.dontshow ]; then
# FIXME: if I wrap this in the check, I don't get the exit code I need. I suck at shell.
# if [ -x /usr/bin/gpe-setbg ]; then
gpe-setbg /etc/gpe/gpe-login-bg.png
# fi
fi
if [ $? -gt 0 ]; then
echo $?
echo "Trying to fall back to background color."
# the color "#bbc0d7" is taken from the GPE logo:
[ -x /usr/X11R6/bin/xsetroot ] && xsetroot -solid "#bbc0d7"
fi
|