LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-20-2007, 07:13 AM   #1
galliar
Member
 
Registered: Jan 2005
Location: Vancouver, WA
Distribution: Suse 10.2, FreeBSD 6.2
Posts: 175

Rep: Reputation: 32
Configuring xorg.conf


Hello,

I have Fiesty loaded on a 160GB usb drive. The goal is to boot it at work and at home. Both systems have difference graphics cards. On Freebsd and Slackware I could just run through xorgconfig and set my card to vesa, and it should work on most systems.

However, all I can find is "sudo dpkg–reconfigure xserver-xorg". This assumes I know all the options perfectly, which I don't.

Is there a more automated way to let X do the probing and set up the xorg.conf file for you at the command line?

Regards,

Randy.
 
Old 09-20-2007, 09:11 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by galliar View Post
Hello,

I have Fiesty loaded on a 160GB usb drive. The goal is to boot it at work and at home. Both systems have difference graphics cards. On Freebsd and Slackware I could just run through xorgconfig and set my card to vesa, and it should work on most systems.

However, all I can find is "sudo dpkg–reconfigure xserver-xorg". This assumes I know all the options perfectly, which I don't.

Is there a more automated way to let X do the probing and set up the xorg.conf file for you at the command line?

Regards,

Randy.
You could always edit the file (/etc/X11/xorg.conf) directly to set the driver used to vesa or if you can get the new Xorg installed then with it supposedly you don't even need an xorg.conf for most setups... Another option is having two separate config files then copying whichever one is needed at the time to the real file and restarting the X server.
 
Old 09-20-2007, 01:01 PM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
I would write a tiny script, run during boot, which checks which computer you have (e.g. by hostname) and makes a symbolic link to the correct xorg.conf.

Best,
Ott
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf bennythepitbull Slackware 24 05-19-2007 06:25 PM
Needs help configuring /etc/X11/xorg.conf Monitor Refresh Rates itz2000 Linux - Newbie 8 04-08-2007 03:45 AM
Problems configuring "xorg.conf" with "ATI FGLRX" BlueSpirit Slackware 3 09-16-2006 02:01 PM
configuring xorg.conf to work on a dell latitude CPx dgeenens Linux - Laptop and Netbook 3 05-26-2006 02:51 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration