Rapidweather


Group: Members
Posts: 375
Joined: Jan. 2004 |
 |
Posted: Nov. 12 2004,03:12 |
 |
Here's the way I do that: The file /home/dsl/.xserverrc can be saved by an entry in filetool.lst. My current .xserverrc looks like this:
Code Sample | exec /usr/bin/X11/Xvesa -2button -screen 800x600x24 -shadow -nolisten tcp -I &>/dev/null
|
--- The entry in filetool.lst is:
Code Sample | home/dsl/.xserverrc |
--- I usually remaster the .xserverrc into /etc/skel then the questions are not asked. The Menu --> System --> X Setup item will work to run the xsetup.sh script. I have modified the last part of the xsetup.sh file to automatically run "startx":
Code Sample | WriteConfig $XSERV $XRES $XDEP $XBUT
#Now we run "startx" and return to X with the choices that were made. startx echo "X Setup has been run, returning to the GUI with the choices that were made." # let's end xsetup.sh exit 0; |
--- Anyway, once you boot with restore=sda1, for instance, representing your USB pen drive, then the .xserverrc file will be in /home/dsl before X comes up, so it will be used by the system, to bring X up to your choices in the file. If you do not have an .xserverrc file in /home/dsl, then the xsetup.sh script is presented, and you have to make the choices each time you boot up. ---
-------------- Rapidweather Remaster of DSL: http://www.angelfire.com/ms/telegram/getting_started.html Rapidweather Remaster of Knoppix Linux: http://www.geocities.com/rapidweather/getting_started.html Screenshots: http://www.rapidweather.com/linuxcdsales.html
|