Originally Posted by
Joshgo
I'm not great with computers, especially with ubuntu because I'm a beginner, but how do I edit xorg.confg file? Do I use the command "sudo gedit xorg.conf" or something? I only know how to change the display settings using "gksudo nvidia-settings" I don't know about the other stuff. What is the command, or how do I edit the file? Thanks.
Make a backup copy of your exisitng xorg.conf:
Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg_backup
Open the original for editing:
Code:
sudo gedit /etc/X11/xorg.conf
Scroll down to the "Device" section. It should look something like this (NOTE: mine has been modified from the default):
Code:
Section "Device"
Identifier "Generic Video Card"
Boardname "NVIDIA GeForce 7 Series"
Busid "PCI:1:0:0"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "DynamicTwinView" "False"
Vendorname "NVIDIA"
EndSection
Add the Dynamic Twin View line as it appears above. Now scroll down to the "Monitor" section, it should look something like this (NOTE: again, mine is modified from the default):
Code:
Section "Monitor"
Identifier "Generic Monitor"
Vendorname "Samsung"
Modelname "Samsung SyncMaster 753DF(X)/703DF(X)/783DF(X)/CD173A(T)"
Option "DPMS"
Horizsync 30-70
Vertrefresh 50-160
Gamma 1.0
EndSection
Verify that the "Horizsync" and "Vertrefresh" lines are correct for your monitor. You will need to get that info from the monitor's specs, either in an owner's manual or from the manufacturer's website. Once you have made any necessary modifications, save the file, log out and restart the X server (CTRL-ALT-BKSPC).
If, for some reason, the Xserver doesn't start, reboot the PC, hit escape to get into the boot menu and select recovery. After it boots up to the command line, run this to restore the original working xorg.conf:
Code:
cp /etc/X11/xorg_backup /etc/X11/xorg.conf
Then reboot the PC (CTRL-ALT-DEL).
Bookmarks