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

From Sabayon Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{i18n|[[En:Visual Tour: Part 2 Editing the xorg.conf|en]] [[Es:Visual Tour: Part 2 Editing the xorg.conf|es]] [[It:Visual_Tour:_Part_2_Editing_the_xorg.conf|it]] [[pl:Visual_Tour:_Edycja_xorg.conf|pl]] [[Tr:Visual Tour: Part 2 Editing the xorg.conf|tr]]}}
 
{{i18n|[[En:Visual Tour: Part 2 Editing the xorg.conf|en]] [[Es:Visual Tour: Part 2 Editing the xorg.conf|es]] [[It:Visual_Tour:_Part_2_Editing_the_xorg.conf|it]] [[pl:Visual_Tour:_Edycja_xorg.conf|pl]] [[Tr:Visual Tour: Part 2 Editing the xorg.conf|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.
+
Welcome to the visual tour of 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 necessarily 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.
 
{|
 
{|
 +
{{Note| please note that "xorg.conf" is not needed anymore, and probably does not exist, but if you need it you can simply create it,
 +
with:
 +
"touch /etc/X11/xorg.conf" , as root., without the quotes...}}
 +
 
|-
 
|-
 
|[[Image:editxorg.png|right|350px|350px]]
 
|[[Image:editxorg.png|right|350px|350px]]
Line 11: Line 15:
 
|-
 
|-
 
|[[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 22: Line 22:
 
|[[Image:restartxdm.png|right|350px|350px]]
 
|[[Image:restartxdm.png|right|350px|350px]]
 
OMG the blackness!  Don't worry, perfectly normal.
 
OMG the blackness!  Don't worry, perfectly normal.
|-
+
 
|[[Image:restartxdm1.png|right|350px|350px]]
+
 
We are doing fine, just hold on.
 
We are doing fine, just hold on.
 
|-
 
|-
 
|[[Image:restartxdm2.png|right|350px|350px]]
 
|[[Image:restartxdm2.png|right|350px|350px]]
See, told ya.  Back to the login box, so simply click the arrow or enter your password and enter.
+
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.
|}
 
 
  
  

Latest revision as of 16:31, 7 February 2013

i18n: en es it pl tr

Welcome to the visual tour of 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 necessarily 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.

Question.png
please note that "xorg.conf" is not needed anymore, and probably does not exist, but if you need it you can simply create it,

with:

"touch /etc/X11/xorg.conf" , as root., without the quotes...


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~