Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I am using Debian 2.6.18-6-686. It was installed with all default settings. I use a 1440X900 wide screen monitor but Linux sets the screen resolution to 1280X1024 which makes ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Location
    Toronto, Canada
    Posts
    8

    Question How to change my screen resolution?


    Hi,
    I am using Debian 2.6.18-6-686. It was installed with all default settings. I use a 1440X900 wide screen monitor but Linux sets the screen resolution to 1280X1024 which makes my screen look stretched. I would like to use a widescreen resolution like 1440X900 or atleast 1280X800. I used cat /etc/X11/xorg.conf and found this here

    Identifier "Default Screen"
    Device "Generic Video Card"
    Monitor "L196W"
    DefaultDepth 24


    Any idea what I should do?

  2. #2
    Just Joined! werner's Avatar
    Join Date
    Apr 2008
    Posts
    27
    Try:

    dpkg-reconfigure xserver-xorg

    It should ask for resolutions at some point. If not, use the code below and try again:

    Code:
    Identifier "Default Screen"
    Device "Generic Video Card"
    Monitor "L196W"
    DefaultDepth 24
    SubSection "Display"
    		Depth		24
    		Modes		"1440X900" "1280X800"
    EndSubSection
    EndSection

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Which Graphics Card do you have?
    Execute this
    Code:
    su -
    lspci | grep -i vga
    grep -i driver /etc/X11/xorg.conf
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Oct 2007
    Location
    Toronto, Canada
    Posts
    8
    Devils Casper,

    Thanks for the reply. I tried your commands and this is what I get

    PHP Code:
    rcws-227:/home/visuthan# lspci | grep -i vga
    00:02.0 VGA compatible controllerIntel Corporation Unknown device 29c2 (rev 10)
    rcws-227:/home/visuthan# grep -i driver /etc/X11/xorg.conf
            
    Driver          "kbd"
            
    Driver          "mouse"
            
    Driver          "vesa" 
    Looks like I don't have driver huh..? I also tried what Werner said but that didn't help. Actualy X didn't start at all after that.

    What do you think I should do now?

  5. #5
    Just Joined! werner's Avatar
    Join Date
    Apr 2008
    Posts
    27
    Remove the section I told you to put in /etc/X11/xorg.conf:

    Code:
    SubSection "Display"
    		Depth		24
    		Modes		"1440X900" "1280X800"
    EndSubSection
    EndSection
    This will put it back to the default and X will work.

    Could you tell me the model of you're computer. Laptop, desktop and model number. As many details as you can. As a last resort you could always download debian lenny (testing) which has more up to date packages and a newer kernel.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Linux is using vesa driver instead of intel.
    Try Driver "i810" instead of "vesa" in /etc/X11/xorg.conf file.
    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/X11/xorg.conf
    Replace "vesa" with "i810". Reboot machine.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •