source: trunk/debathena/debathena/xsession/debian/00debathena-tcsh-sucks @ 24439

Revision 24439, 472 bytes checked in by jhamrick, 14 years ago (diff)
In xsession: * Make sure debathena-xsession is installed before executing any of the scripts in /etc/X11/Xsession.d (Trac: #348)
RevLine 
[23851]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.
[24439]5if [ "$(dpkg-query -W -f '${Status}' debathena-xsession 2>/dev/null)" = "install ok installed" ] && \
6   echo "$SHELL" | grep -q 'tcsh' && \
7   [ 'afs' = "$DEBATHENA_HOME_TYPE" ]; then
[23871]8    xterm -rightbar -sb -fa "" -fs 12 -T ".xsession-errors" -e tail -n +1 -f "$HOME/.xsession-errors" &
[23851]9    export XCONSOLE=$!
10fi
Note: See TracBrowser for help on using the repository browser.