Xvesa -br -screen 1024x768x32 -shadow -2button -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
I know I'm becomming a pain!
This is my .xsession.
I replaced $DESKTOP with my program but touch no longer working
"/home/tc/PT455.sh" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x ./.setbackground ] && ./.setbackground
[ -x ./.mouse_config ] && ./.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d ".X.d" ] && find ".X.d" -type f -print | while read F; do . "$F"; done
killall xvtouch
#xvtouch /dev/input/event1 &
xvtouch /dev/input/by-id/usb-Hampshire_Company_TSHARC_Analog_Resistive-event-if00 &
x11vnc -gui tray &