Magellan Linux

Contents of /alx-src/trunk/tinyalxconfig-ng/bin/startx-kdrive.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 509 - (show annotations) (download) (as text)
Tue Jun 17 19:02:01 2008 UTC (15 years, 10 months ago) by niro
File MIME type: application/x-sh
File size: 833 byte(s)
-kdrive and Xorg startx scripts

1 #!/bin/sh
2 # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/bin/startx-kdrive.sh,v 1.1 2008-06-17 19:02:01 niro Exp $
3
4 XSERVER=X
5 SCREEN=1024x768x16
6
7 # -bs: disable backingstore support
8 # -dpms: disable dpms extension
9 # -su: disable any save under support
10 # -tst: do not test for any extensions
11 # -kb: disable keyboard extension
12 # -ld: limit data space to N kilobytes
13 # -lf: limit number of open files to N
14 # -ls: limit stack space to N kilobytes
15 #OPTS="-bs -dpms -su -tst -kb -ld 0 -lf 0 -ls 0 -mouse mouse,/dev/input/mice -keybd keyboard"
16 OPTS="-ld 0 -lf 0 -ls 0 -mouse mouse,/dev/input/mice -keybd keyboard"
17
18 su - station -c "
19 source /etc/profile
20 ${XSERVER} -screen ${SCREEN} -terminate -fp /usr/share/fonts/75dpi,/usr/share/fonts/misc -dpi 84 -audit 0 ${OPTS} &
21 # sleep 1
22 export DISPLAY=:0
23 exec fluxbox
24 " &
25