summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/livecd/profiles/lw-ut2003/xinitrc')
-rw-r--r--src/livecd/profiles/lw-ut2003/xinitrc43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/livecd/profiles/lw-ut2003/xinitrc b/src/livecd/profiles/lw-ut2003/xinitrc
deleted file mode 100644
index e419032415..0000000000
--- a/src/livecd/profiles/lw-ut2003/xinitrc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-xsetroot -solid black
-#this xinitrc uses xrandr to detect the current resolution, and then sets the appropriate
-#ut2003-demo resolution.
-REALX=`xrandr | grep "^\*" | awk '{ print $2 }'`
-REALY=`xrandr | grep "^\*" | awk '{ print $4 }'`
-OK=0
-for NEWRES in 1600x1200 1280x1024 1280x960 1024x768 800x600 640x480 512x384 320x200
-do
-
- NEWX=${NEWRES%%x*}
- NEWY=${NEWRES##*x}
- echo $NEWRES
- if [ $NEWX -gt $REALX ]
- then
- #the NEWX is higher than our current Y res; continue....
- continue
- fi
- echo REALY $REALY
- echo NEWY $NEWY
- if [ $REALY -lt $NEWY ]
- then
- #our current Y res is less than our NEWY; continue...
- continue
- fi
- #if we've gotten here, we want to use NEWXxNEWY as our aa resolution
- OK=1
- break
-
-
-done
-#tweak ut2003 configuration file here
-if [ "$OK" = "0" ]
-then
- echo ".xinitrc: couldn't identify proper America's Army resolution; exiting."
- exit 1
-fi
-
-#test -f /proc/splash && echo "show 65535" > /proc/splash
-#bsetbg /usr/share/commonbox/backgrounds/gentoo.jpg
-exec /usr/sbin/gamelaunch &
-#blackbox
-fluxbox