Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed Ubuntu 12.10 and I need to make a custom xorg.conf file. By default, there is not an xorg.conf file on my system. I know what I need to write in the config, but I just don't know how to make X load it...

Should I put my custom commands in a file that already exists? Where is it? Should I make my own xorg.conf file and put it in /etc/X11?

share|improve this question

3 Answers 3

up vote 4 down vote accepted

For Nvidia based cards I suggest to install the binary driver from the repositories and then run nvidia-xconfig. It will create a fishbone with basic configuration. Similar commands for other binary drivers may exist.

If there isn't, just start by creating the file and enter your settings.

All configuration not set will X find by itself. It has a lot of heuristic, but yes, it may be hard to find the right setting keywords and values in order to tweak everything to your needs.

share|improve this answer
    
I installed the driver but it didn't make the x file. But I resolved my issue anyways. –  parker.sikand Nov 17 '12 at 20:28

Figured it out. It's as simple as making a file called "xorg.conf" and putting it in "/etc/X11/". I guess I thought that seemed too simple :P

X will read the config file and try to accept your statements. It will then auto config anything you don't explicitly say.

share|improve this answer

If you would want full and proper xorg.conf file (tested on Ubuntu 12.10):

  1. switch to console mode: Alt+Ctrl+F1
  2. kill x server: sudo service lightdm stop
  3. generate new xorg.conf file: sudo X -configure -- this will create xorg.conf.new file in your current dir
  4. rename and move: sudo mv xorg.conf.new /etc/X11/xorg.conf
  5. return to GUI: sudo start lightdm

taken from Linux Mint forums (go to point 3. In Mint, xorg.conf is not present by default...)

share|improve this answer
2  
Running Gnome 3.12, I replaced lightdm with gdm and it was generated. Thank you! –  Rasmus Jun 13 at 13:03
    
This solution saved me after hours of trying on my own. Thanks so much! –  deltree Nov 24 at 22:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.