En:Visual Tour: Part 2 Editing the xorg.conf
Welcome to the visual tour part 2 editing the /etc/X11/xorg.conf. I'm going to be using the command line interface and nano to edit my xorg.conf. Before your freak out about the command line interface, it is a necessity to know how to do this. You may find yourself with a system that does not boot and the only fix is to use the command line interface to fix your xorg.conf.
I start by doing Alt F2 and and a run box will come up and I enter into the run box konsole and my konsole session starts up. I need to be root to edit the xorg.conf file. I need to go in and fix my resolution so it fits my screen properly. I enter su and then it will ask me for my password. Now, as I type my password, it will not show any characters on the screen, so just go ahead and type your password and hit enter. Since we are on the live dvd, the root password is root, so I type root and presto. I need to fire up nano now and enter in nano /etc/X11/xorg.conf and yes it is capital sensitive. You have to get the path, spelling and caps exactly correct. Click Images to See Full Sizes.
Now xorg.conf opens up and is ready for editing. I simply scroll down till I find my resolutions. I simply just need to change the "1280x1024".
See how easy this is to do? Who needs a gui? I only need to change the one in this section because I am using the 24 Depth as my default. You can change all the "1280x1024" if you want to. Time to save our changes. Nano's commands are at the bottom of the window. The caret symbol (^) simply means Ctrl key, so all I have to do is hit Ctrl X and it will automatically prompt me with do you want to save changes and you will simply hit Y for yes and then you can simply hit enter when it asks about file name, it will keep it xorg.conf by default. If you use the AMD ATI fglrx video driver, enter the following command:
/opt/bin/aticonfig --input=/etc/X11/xorg.conf --tls=1
This is needed because data for fglrx is stored in the file /etc/ati/amdpcsdb, and aticonfig reads the changes you have made to xorg.conf and updates amdpcsdb accordingly.
Now you are back where you started, but you need to restart X to get your new resolution. Many will tell you to just do Ctrl Alt Backspace to restart X. I disagree and only do that when I absolutely have no other choice. Doing that does not save any of your session. It's just not a good thing to do. All you need to do to restart X in a nice and pleasant manner is to enter in /etc/init.d/xdm restart. So go ahead and enter that command.
OMG the blackness! Don't worry, perfectly normal.
We are doing fine, just hold on.
See, told ya. Back to the login box, so simply click the arrow or enter your password and enter.
Now doesn't that look much better? I have my entire screen properly displayed.