I have a solution for you, but you must be sure you know what you're doing before you try this. You need to know for sure the mode you're choosing is supported by your monitor!
All this is done via command line, so fire up a terminal.
I'll give my case as example, I wanted to display a mode that wasn't listed (1280X960) which is a mode I'm sure my monitor used in the past.
To know which output we want to use and how exactly it's called, run a query to xrandr
The output is something like this
Code:
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 306mm x 230mm
1280x1024 60.0
1024x768 85.0* 75.1 70.1 60.0 43.5
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0 66.7 60.0
720x400 87.8 70.1
As you can see, the mode I want isn't listed, but we know now how is my monitor output called
We start by creating a new mode using a tool called cvt
The syntax is "cvt width height", use your desired settings
The output is something like the following
Code:
# 1280x960 59.94 Hz (CVT 1.23M3) hsync: 59.70 kHz; pclk: 101.25 MHz
Modeline "1280x960_60.00" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync
Now select and copy everything after Modeline (all the red text)
Now we need to add this new mode to xrandr to be able to use it later
Instead of using the weird name given by default, I preferred to call it "CUSTOM"
Code:
xrandr --newmode "CUSTOM" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync
Then we add this new mode to our desired output
Code:
xrandr --addmode VGA1 "CUSTOM"
Now we're able to change the mode of our screen to the newly added mode
Code:
xrandr --output VGA1 --mode "CUSTOM"
To make it permanent we can add the last command to the gdm startup script
Code:
gksu gedit /etc/gdm/Init/Default &
Find the line
/sbin/initctl -q emit login-session-start DISPLAY_MANAGER=gdm
and add all the previous xrandr commands right before it
Code:
xrandr --newmode "CUSTOM" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync
xrandr --addmode VGA1 "CUSTOM"
xrandr --output VGA1 --mode "CUSTOM"
[/code]
Save, exit and restart
If for some reason the computer doesn't start with the newly added settings, don't worry, at least it will be now available for you to chose it via the "System Settings>Monitors"
(Check the screenshot below)
Untitled.png
I hope this helps
If someone knows a better way, please let me know.
Ziv
Bookmarks