Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old March 31st, 2009   #1
max_power
A Carafe of Ubuntu
 
max_power's Avatar
 
Join Date: Apr 2006
Location: Chicago
Beans: 87
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to max_power Send a message via Skype™ to max_power
xrandr add screen resolution

when i go System -> Preferences -> Display

I'm only offered :

1360x768 (16:9)
1152x864 (4:3)

How do i add more screen resolutions?

I tried adding more to /etc/X11/xorg.conf but its not showing up in the options box.

Thanks
max_power is offline   Reply With Quote
Old April 11th, 2009   #2
calmario
First Cup of Ubuntu
 
Join Date: Oct 2008
Beans: 1
Re: xrandr add screen resolution

Hey man. This will help:

https://wiki.ubuntu.com/X/Config/Resolution
calmario is offline   Reply With Quote
Old April 13th, 2009   #3
max_power
A Carafe of Ubuntu
 
max_power's Avatar
 
Join Date: Apr 2006
Location: Chicago
Beans: 87
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to max_power Send a message via Skype™ to max_power
Re: xrandr add screen resolution

Here are the steps
  1. Use xrandr to make sure that the new mode can fit within the maximum framebuffer size
    Code:
    xrandr | grep maximum
  2. Use gtf to create a mode line
    Code:
    gtf 1440 900 59.9
  3. Add new mode using xrandr
    Code:
    xrandr --newmode "1440x900_59.90"  106.29  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
  4. Add this newly added mode to the desired output (VGA/LVDS etc)
    Code:
    xrandr --addmode VGA 1440x900_59.90
  5. Choose the new mode
    Code:
    xrandr --output VGA --mode 1440x900_59.90


TO MAKE THE CHANGES PERSISTENT
Code:
sudo gedit /etc/X11/xorg.conf
Find this: (yours might look different than from below)
Section "Screen"
Identifier "Primary Screen"
Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
EndSection

and add this to it

DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "640x480"
EndSubSection

so it should all look similar to this:

Section "Screen"
Identifier "Primary Screen"
Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "640x480"
EndSubSection
EndSection


MAKE SURE YOU ADD YOUR NEW RESOLUTION TO THE MODES LINE
Modes "1280x1024" "1024x768" "640x480"


Thanks to:
https://wiki.ubuntu.com/X/Config/Res...%20resolutions

http://www.arunviswanathan.com/node/53
max_power is offline   Reply With Quote
Old April 13th, 2009   #4
unutbu
Extra Roomy Joe
 
unutbu's Avatar
 
Join Date: Mar 2008
Beans: 4,715
Ubuntu 9.10 Karmic Koala
Re: xrandr add screen resolution

Thank you for the nice write-up.
unutbu is offline   Reply With Quote
Old June 8th, 2009   #5
nacho_dh
First Cup of Ubuntu
 
nacho_dh's Avatar
 
Join Date: May 2007
Location: Buenos Aires
Beans: 3
Ubuntu 8.10 Intrepid Ibex
Re: xrandr add screen resolution

In case the frame buffer size is a limitation for the resolution you want to add (it happened to me), just modify/create the "Virtual" parameter in the "Display" subsection of your xorg.conf. Here's how mine looks after configuring the frame buffer size to use my 22' widescreen (resol: 1680x1050)...

Code:
Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	SubSection "Display"
		Virtual	2960 1050
		Depth 24
		Modes "1680x1050" "1280x800"
	EndSubSection
EndSection
__________________
good ol' C-x M-c M-butterfly...
nacho_dh is offline   Reply With Quote

Bookmarks

Tags
screen resolutions, x11, xorg, xrandr

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:43 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry