LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2006, 08:58 AM   #1
Flameout
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Rep: Reputation: 0
Whats is, and how do I? [Ubuntu 6.06]


What is xorg.conf - and how do I gain acces to it, and where do I find it? They say I have to get there in order to adjust my screen resolution.

And how do I adjust my screen resolution?

Thanks.
 
Old 08-07-2006, 09:03 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
xorg.conf is the configuration file for the X server. It'll be found in /etc/X11. You'll need to edit the file with root privileges to change your resolution. Since you're using Ubuntu, you'll want to put "sudo" before any commands you use in the terminal, e.g. to open the file with gedit:

$ sudo gedit /etc/X11/xorg.conf.

In the file, you're looking for the Screen section. Simply change the resolution for your default depth. Here's my section as an example:

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82852/855GM Integrated Graphics Device"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Last edited by Nylex; 08-07-2006 at 09:06 AM.
 
Old 08-07-2006, 09:39 AM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
If you're needing to edit the xorg.conf file to change your resolution in Ubuntu, make sure to take a look at the vert and horiz frequencies in the monitor section. Be sure they are correct for your monitor.
 
Old 08-07-2006, 09:41 AM   #4
Flameout
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Ok, I found the xorg.conf file, now how exactly do I adjust the screen resolution?

Here is what I got:

Section "Device"
Identifier "NVIDIA Corporation NV44 [GeForce 6200 TurboCache]"
Driver "nv"
BusID "PCI:2:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV44 [GeForce 6200 TurboCache]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"

Last edited by Flameout; 08-07-2006 at 09:44 AM.
 
Old 08-07-2006, 10:02 AM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Firstly, what resolution is it currently running at?

Secondly, what resolution are you wanting?

Have you verified the monitor frequencies? If you can't adjust it with the GUI tools provided in Ubuntu wrong frequencies in the xorg.conf is the most common reason why.
 
Old 08-07-2006, 11:04 AM   #6
Flameout
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by masonm
Firstly, what resolution is it currently running at?

Secondly, what resolution are you wanting?

Have you verified the monitor frequencies? If you can't adjust it with the GUI tools provided in Ubuntu wrong frequencies in the xorg.conf is the most common reason why.
Yes, I know frequencies. And I have 1024x768 and I want/need 1280x1024.
 
Old 08-07-2006, 11:11 AM   #7
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
is 1280x1024 possiblefor your monitor? my monitor can only truly do 1024x768, despite doing higher in windows (it lies!)

anyway, Nylex posted how to do it, you have to set the default colour depth (24 is best) and then ammend the mode for that depth, xorg will take the first res in the list. Check his reply, it's clearer than my explanation.
 
Old 08-07-2006, 11:21 AM   #8
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Quote:
Originally Posted by Flameout
What is xorg.conf
Code:
man xorg.conf
will give you a lot of information

 
Old 08-08-2006, 04:55 AM   #9
Flameout
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Can someone tell me how I adjust my resolution...? I know my screen supports it, and I know my frequencies.
 
Old 08-08-2006, 05:24 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Again, add the resolution to the list for the subsection corresponding to your default depth (or add it to all of them). As for frequencies, in the "Monitor" section, you're looking for "HorizSync" and "VertRefresh".

Edit: you'll obviously need to restart the X server after making changes to your xorg.conf. This can be done with Ctrl+Alt+Backspace.

Last edited by Nylex; 08-08-2006 at 08:14 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats go great about uBuntu? mikeymorgan Ubuntu 68 11-11-2015 10:54 AM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 01:44 AM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Linux - Networking 1 06-13-2006 09:05 AM
LXer: Printing with Ubuntu: Insights for a quick and easy Ubuntu printer installation LXer Syndicated Linux News 0 06-03-2006 10:54 AM


All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration