source: trunk/debathena/debathena/xsession/debian/05debathena-nocalls @ 24321

Revision 24321, 598 bytes checked in by rbasch, 15 years ago (diff)
In xsession: * Prevent debathena-nocalls from being set as the default session in gdm's cached dmrc, as well as in the home directory file.
Line 
1if [ "$GDMSESSION" = "000debathena-nocalls" ]; then
2    export NOCALLS=1
3    message "You have chosen to log in without your customizations." \
4        "Your dotfiles will be ignored in favor of the system" \
5        "default settings.  You can use this session to fix any" \
6        "problems with your dotfiles."
7fi
8
9# You don't actually want nocalls as your default session
10[ -e "$HOME/.dmrc" ] && \
11  grep -q 000debathena-nocalls "$HOME/.dmrc" && \
12  rm "$HOME/.dmrc"
13[ -e "/var/cache/gdm/$USER/dmrc" ] && \
14  grep -q 000debathena-nocalls "/var/cache/gdm/$USER/dmrc" && \
15  rm "/var/cache/gdm/$USER/dmrc"
Note: See TracBrowser for help on using the repository browser.