Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-20-2007, 07:13 AM
|
#1
|
Member
Registered: Jan 2005
Location: Vancouver, WA
Distribution: Suse 10.2, FreeBSD 6.2
Posts: 175
Rep:
|
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.
|
|
|
09-20-2007, 09:11 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally Posted by galliar
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.
|
|
|
09-20-2007, 01:01 PM
|
#3
|
Member
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|