LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 12-24-2006, 10:16 PM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 636

Rep: Reputation: 32
Question How can I change my screen resolution?


I have a wide screen flat panel monitor that is optimal at 1440x900.

My resolution now seems to be stuck at 1024x768.

How can I make sure that I get a 1440x900 resolution?
 
Old 12-24-2006, 11:43 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Use the command "gtf 1440 900 60 -x" to generate a modeline. LCD monitors tend to operate at 60Hz so that is what I used in the command.

Code:
gtf 1440 900 60 -x

  # 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
  Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
Remove the ".00" from the modeline name. If you have a: Section "Modes" section in your xorg.conf file, add it there. Otherwise add it to your "Monitor" section.


Either like this:
Code:
Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  332 207
  HorizSync    32-48
  Identifier   "Monitor[0]"
  ModelName    "ZV5000"
  Option       "DPMS"
  VendorName   "HP"
  VertRefresh  50-70
  # 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
  Modeline "1440x900_60"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
EndSection
or like this:

Code:
Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  332 207
  HorizSync    32-48
  Identifier   "Monitor[0]"
  ModelName    "ZV5000"
  Option       "DPMS"
  VendorName   "HP"
  VertRefresh  50-70
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
 # 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
  Modeline "1440x900_60"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
EndSection
Then add "1440x900_60" to the "Modes" entry in the "Screen" section:
Code:
Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1440x900_60" "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1440x900_60" "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
These are examples. My laptops LCD won't display 1440x900. Don't use the modeline example I gave, generate your own. Hopefully it will work then.

Lastly, the xorg.conf file has its own man page.

Last edited by jschiwal; 12-24-2006 at 11:45 PM.
 
  


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
change screen resolution? bruno buys *BSD 1 05-12-2006 10:58 AM
Cannot change screen resolution HiOctane21 Linux - General 10 05-23-2005 02:37 AM
How to change screen resolution evrae Mandriva 3 09-12-2004 08:13 PM
How to Change Screen Resolution eats85 Slackware 4 10-05-2003 05:06 PM
How to change screen resolution linuxmojo Linux - Software 2 04-08-2002 12:18 AM


All times are GMT -5. The time now is 08:24 PM.

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