Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: XFree86.dsl automated script for 2 different pc's, cp .xserverrcGforce ~/.xserverrc< Next Oldest | Next Newest >
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Dec. 27 2004,08:50 QUOTE

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)

--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Dec. 27 2004,09:48 QUOTE

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..


--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Dec. 27 2004,10:21 QUOTE

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


--------------
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)
Back to top
Profile PM WEB MSN 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Dec. 27 2004,12:18 QUOTE

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


--------------
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)
Back to top
Profile PM WEB MSN 
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Dec. 27 2004,12:33 QUOTE

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..


--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
11 replies since Dec. 25 2004,18:25 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: XFree86.dsl automated script for 2 different pc's

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code