source: trunk/debathena/debathena/xsession/debian/debathena-tcsh-sucks.sh @ 24976

Revision 24976, 371 bytes checked in by jdreed, 14 years ago (diff)
In xsession: * Don't use dpkg-query because it slows logins down; instead ship actual scripts in /usr/share and source them (Trac #778)
Line 
1# This file is sourced by Xsession(5), not executed.
2
3# Horrible work-around for the fact that GDM can't read the
4# .xsession-errors file it tries to write.
5
6if echo "$SHELL" | grep -q 'tcsh' && \
7   [ 'afs' = "$DEBATHENA_HOME_TYPE" ]; then
8    xterm -rightbar -sb -fa "" -fs 12 -T ".xsession-errors" -e tail -n +1 -f "$HOME/.xsession-errors" &
9    export XCONSOLE=$!
10fi
Note: See TracBrowser for help on using the repository browser.