Hi all. Just read this thread and figured I'd throw in what little knowledge I've gained so far. You can create an xorg.conf file by entering recovery mode (hold down shift at startup, or choose it from GRUB when it appears) and type:
at the prompt.
sudo Xorg -configure
To test it I've read you can use:
but I cant be sure if it works because I haven't tried it. However it is supposed to work if you get a grey grid screen with the cursor. All I know is I now have an xorg.conf and Lucid does use it because it is in my /var/log/Xorg.0.log file,it just doesn't use it by default.This code says it is in the /root folder, but I found mine in my /home folder, you might check before you run it to be sure. I think you still have to be in recovery mode to do this code as well.
X -config /root/xorg.conf.new
To move the file to its proper location where it is looked for by X type:
just replace /root with whatever directory it happens to be in when it's created.
cd /root/xorg.conf.new /etc/X11/xorg.conf
Also, if you need to back up your xorg.conf:
it will move you current configuration to a backup file in the same directory and allow you to piddlefartass with the new one.
cp /etc/X11/xorg.conf etc/X11/xorg.conf.bak
Hope this helps someone!
Oh yeah, to edit the xorg.conf when it is owned by root:
but you probably want to back it up before you mess with it.
gksudo gedit etc/X11/xorg.conf