henk1955
Group: Members
Posts: 249
Joined: June 2004 |
|
Posted: Dec. 27 2004,12:18 |
|
maybe you can create a script, i.e configXF86 likeCode 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
-------------- You have a Q or just want to chat? Come to #damnsmalllinux on irc.freenode.net! Open 24/7
dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl) ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
|