LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-15-2005, 06:10 PM   #1
Zuggy
Member
 
Registered: Mar 2004
Location: Pocatello, Idaho, USA
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Changing resolution in X


I tried looking this up, but I'm in a hurry and couldn't find a quick answer.

How do you change the resolution in X. I just installed slackware 10 on my Vector Lappy and I need to set it to 640x480. Thanks for the help.
 
Old 01-15-2005, 06:57 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
open up /etc/X11/xorg.conf

you will see a section that looks somewhat similiar to this :

Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "Standard VGA"
    Monitor     "My Monitor"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
now as you can see towards the top the "default depth" is "16", so the
only section out of all that, that will be used is the following because
as you see the depth is 16 for this section and that is default :

Code:
Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
now when you look at the modes line you see that the first one
listed is 1280x1024, meaning that this is the resolution it will
load up to... so if you want 640x480 to be used, then put it
as the first option in modes ...
 
  


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
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 05:10 PM
changing resolution jwijesundra Linux - Newbie 4 12-03-2004 04:38 AM
Changing resolution sdpeelejr Fedora 14 04-09-2004 01:31 PM
Resolution Changing LinuZ Linux - General 7 08-04-2003 11:00 PM
Changing X resolution vector Slackware 4 02-25-2003 08:14 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration