~/.Xsession
Jump to navigation
Jump to search
.xse.x.xss#!/bin/bash
- .xsession - startup script for X sessions
- Default version for ACL users
- Written Aug/2002 --- jrogers
- Updated Aug/2004 --- jrogers
- Updated Aug/2005 --- charliep
- Updated to use $VTMWRC as initfile if defined on entry
- for compatibility with Xsession.ECCS default session Aug/2007 --- jrogers
- Updated for ubuntu linux 2.6.24-19-generic Aug/2008 --- jrogers
echo "$0: (ECCS default .xsession) with VTWMRC=$VTWMRC"
- Merge in user's .Xresources
if [ -r ~/.Xresources ] then
xrdb -merge ~/.Xresources
fi
- set background
- For a solid background uncomment xsetroot and comment out ecsetbg
- Argument of xsetroot is a color (see the manpage)
- Argument of ecsetbg is a jpeg file in ~/.backgrounds or
- /usr/local/acl/share/backgrounds
- xsetroot -solid "#356390"
display -window root /usr/local/acl/share/backgrounds/Default
- ~/bin/ecsetbgnew Default
- xscreensaver
xscreensaver-command -exit xscreensaver -nosplash &
xclock -update 1 -digital -geometry 220x25-0+-8 &
NO_XTERM_PROMPT=1 xterm -geometry 80x24+9+40 -sb -n "Little Shell" -title "Little Shell" & NO_XTERM_PROMPT=1 xterm -icon -fn "-*-fixed-*-*-*-*-20-*-*-*-*-*-*-*" -geometry 80x32-150+40 -sb -n "Big Shell" -title "Big Shell" &
- if $VTWMRC is set use it for vtwm's initfile, otherwise use normal
- initfile search
if [ -n "$VTWMRC" ] then
vtwminit="-f $VTWMRC"
else
vtwminit=""
fi
exec vtwm $vtwminit