Difference between revisions of "En:Visual Tour: Part 2 Editing the xorg.conf"

From Sabayon Wiki
Jump to: navigation, search
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
|-
 
|-
 
|[[Image:editxorg2.png|right|350px|350px]]
 
|[[Image:editxorg2.png|right|350px|350px]]
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:
+
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.
 
+
{{Console| <pre class="clear">/opt/bin/aticonfig --input=/etc/X11/xorg.conf --tls=1</pre>}}
+
 
+
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.
+
 
|-
 
|-
 
|[[Image:editxorg3.png|right|350px|350px]]
 
|[[Image:editxorg3.png|right|350px|350px]]
Line 27: Line 23:
 
|[[Image:restartxdm2.png|right|350px|350px]]
 
|[[Image:restartxdm2.png|right|350px|350px]]
 
See, told ya.  We're back to the Desktop.
 
See, told ya.  We're back to the Desktop.
|-
+
 
|[[Image:restartxdm3.png|right|350px|350px]]
+
 
Now doesn't that look much better?  I have my entire screen properly displayed.
 
Now doesn't that look much better?  I have my entire screen properly displayed.
|}
 
 
  
  

Revision as of 00:17, 23 November 2012

i18n: en es it pl tr

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.

Editxorg.png

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.

Editxorg1.png

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".

Editxorg2.png

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.

Editxorg3.png

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.

Restartxdm.png

OMG the blackness! Don't worry, perfectly normal.

We are doing fine, just hold on.

Restartxdm2.png

See, told ya. We're back to the Desktop.

Now doesn't that look much better? I have my entire screen properly displayed.


~wolfden~