Hardcore Linux

Anything about Ubuntu, Centos, openSuSe and Fedora

Modifying Display Resolution in Ubuntu 9.04

Although Ubuntu might be installed and  “just work” out of the box. There’s always something that needs to configure manually. Like example adding resolution to the default and configured for your monitor. I’ve encountered this scenario when I’m trying to setup the 16:9 screen mode for my Samsung LCD monitor. The optimum resolution as stated in the LCD manual is 1360×768 on 60Hz, and on my further research on the net, I end up configuring this way:

1. On your console type:

$> gtf  1360  768 60

which means resolution for 1360×768 on 60hz. Copy the modeline  for that resolution, keep it in clipboard for awhile

2. Then backup your current xorg.conf first before modifying anything on that file.

$> sudo cp /etc/X11/xorg.conf   /etc/X11/xorg.conf.bkp

3. Then modify the /etc/X11/xorg.conf, paste the modeline settings for the 1360×768 resolution, your Section “Monitor” should now ended similar to this:

   Section "Monitor"
         Identifier  "Configured Monitor"
         Modeline "1360x768_60.00"  84.72  1360 1424 1568 1776  768 769 772 795  -HSync +Vsync
   EndSection

4. Then add that resolution to your current list of display modes. On your Section “Screen” add the following before the
EndSection

          SubSection "Display"
               ...
                Modes "1360x768"  "1280x1024"     Virtual 2464 900
          EndSubSection

5.  Save the file and restart your desktop.
6. After the reboot, try to change the default resolution on System -> Preferences – > Display. The new resolution should be
now included in the list.

7. Done.

9 responses to “Modifying Display Resolution in Ubuntu 9.04

  1. thomas July 20, 2009 at 4:50 pm

    thank you!

    also, be sure to add up the virtual resolution properly, for my setup i had to add the width of 1920(x1080) and 1600(x900) to get 3520×1080 for virtual.

  2. Julio July 22, 2009 at 3:12 am

    Thank you so much, I tried with 915 resolution but didn’t work. Now I’m enjoying my monitor.
    ps: I just add 1920×1080 in the Display SubSection

  3. Imre Kelényi September 4, 2009 at 11:49 am

    Thank you. It works for me.

    I have a Matrox card and a monitor supporting up to 1920xSomething resolution. Ubuntu (actually Xubuntu) kept reseting to the maximum resolution each time I restarted now matter what I set in the desktop environment. After editing xorg.conf it is now starts in 1024×768 as I wanted.

  4. jumeno September 20, 2009 at 6:36 pm

    its work but why my compiz and cairo-dock
    don’t work after resolution apply??

  5. DianaEmma December 5, 2009 at 10:11 pm

    i can’t modify fils or delete why? am the admin

  6. trent March 6, 2012 at 7:21 pm

    nothing works. i’m stuck in, fucking 1024×768 on a fucking GDM 19″
    fucking nerds, your buntu is full of shit. it’s a waste of time, haviung to fight with everything so a pc can work LIKE WE WANT.

    • hardc0l2e March 13, 2012 at 2:42 pm

      I guess its not the display resolution that causes the problem, I think its your graphic card driver, can you post the output of the following using the console:

      $> lspci | grep VGA

  7. Malcul December 14, 2012 at 7:18 pm

    I (confirmed Windows 7 user) have just created a dual boot with Mint Cinnamon. Everything went well but for the immediate difference seen in screen resolution. Seeing your solution above tends to make me feel like poor Trent. My windows res. is 1920×1200 which makes for nice small icons and small but readable text and detailed graphic capability. The two resolutions available in Mint give me a feeling of foreboding that I may be looking to UNcreate my dual boot.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: