Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-15-2005, 07:10 PM   #1
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, 07:57 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

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

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

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
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768"
        ViewPort    0 0
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
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 :

Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768"
        ViewPort    0 0
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 ...


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 06:10 PM
changing resolution jwijesundra Linux - Newbie 4 12-03-2004 05:38 AM
Changing resolution sdpeelejr Fedora 14 04-09-2004 02:31 PM
Resolution Changing LinuZ Linux - General 7 08-05-2003 12:00 AM
Changing X resolution vector Slackware 4 02-25-2003 09:14 PM

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

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