Other Help Topics :: XFree86.dsl automated script for 2 different pc's



I have been f&*%ing around with .xserverrc and a script at console-time to change X to XFree86. at first XFree86 worked great. (started the script from within x/fluxbox and after an exit i could enter XFree86/fluxbox) Now i can't get it to work (lots of error message when i startx / XFree86) Haven't got a clue what i am doing wrong now.. ( i don't now how to copy the error messages in the console)
Got it to work...

This is my script called "home" that i run when i use the usb-stick at home.

****************
mydsl-load /mnt/hdb8/XFree86.dsl
rm ~/.xserverrc
cp -f /cdrom/keep/scriptjes/.xserverrcGforce ~/.xserverrc
startx
****************

Removed "startx" from ~/.bash_profile

Removed the line: /home/dsl/.xserverrc from the filetool.lst

Now all i have to do is make an other script called "work" and figure out what XFreeconfig-file i have to use with a compaq/HP-pc (evo P2.4 Ghz)

Thnx for all the support you guys..

if you do a:
Code Sample
cat /etc/sysconfig/xserver
or
Code Sample
cat /etc/sysconfig/knoppix
you will see some interesting stuff

maybe you can create a script, i.e configXF86 like
Code Sample
. /etc/sysconfig/xserver

echo "Description=$XDESC"

USEXF86="mydsl-load /mnt/hdb8/XFree86.dsl"

case "$XDESC" in
*"Radeon Mobility 7500"*)
 echo "use ATI Radeon 7500 config"
 $USEXF86
 ln -sf ~/XFree86_config_files/XF86Config-4_mod_radeon7500 /etc/X11/XF86Config-4
 cp -f ~/XFree86_config_files/.xserverrc_for_XF86 ~/.xserverrc
;;

*Radion*)
 echo "use ATI Radeon generic config"
 $USEXF86
 ln -sf ~/XFree86_config_files/XF86Config-4_generic_radeon /etc/X11/XF86Config-4
 cp -f ~/XFree86_config_files/.xserverrc_for_XF86 ~/.xserverrc
;;

*Brookdale*)
 echo "use i810 config"
 $USEXF86
 ln -sf ~/XFree86_config_files/XF86Config-4_generic_i810 /etc/X11/XF86Config-4
 cp -f ~/XFree86_config_files/.xserverrc_for_XF86 ~/.xserverrc
;;

*)
 echo "No XF86Config for your videocard."
 echo "Let's try vesa."
#  $USEXF86
#  ln -sf ~/XFree86_config_files/XF86Config-4_vesa /etc/X11/XF86Config-4
#  cp -f ~/XFree86_config_files/.xserverrc_for_XF86 ~/.xserverrc
;;

esac

and call it from bootlocal.sh

uncomment the last 3 lines if you prefer XFree86 over dsl's XVESA
<edit>
correct mistake, replaced:
ln -sf ~/XFree86_config_files/.xserverrc_for_XF86 ~/.xserverrc
by:
cp -f ~/XFree86_config_files/.xserverrc_for_XF86 ~/.xserverrc
</edit>

TYPO
replaced $USUXF86 to $USEXF86

Hello Henk,

First of all thnx for taking away the screaming pitch sound from my 19 " monitor... :-)

Second:

I am thinking about using your script but how do i fit in nvidia.dsl? (got it "working" right now) I am not sure where to put it in the script..

Next Page...
original here.