Do you know the native resolution of the monitor, e.g., 1280x1024?
First step:
Connect the external monitor, and type "xrandr" in the terminal. Note what xrandr calls the monitor. If you are connecting it to a laptop, you may see something like this:
Code:
Screen 0: minimum 320 x 200, current 2166 x 900, maximum 8192 x 8192
VGA1 connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
800x600 60.3 56.2
640x480 59.9 59.9
LVDS1 connected 1366x768+1440+132 (normal left inverted right x axis y axis) 293mm x 164mm
1366x768 60.0*+
If so, do the following in the terminal:
Code:
cvt modeline 1280x1024
(or whatever your monitor's native resolution is)
Copy the output of that command starting after Modeline, e.g.,
Code:
"1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
This is your "modeline string". Paste the "modeline string" as follows into the following xrandr commands:
Code:
xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA1 1280x1024_60.00
Be careful with this, however: Depending on the type and age of the monitor, you may permanently damage it with the wrong resolution or refresh rate. 60 Hz is usually pretty good, though....
The part inside the quotes is the name of your mode - you can call it whatever you like, so long as the part inside quotes in the --newmode line matches the part after VGA1 in the --addmode line.
You should now see the correct resolution in the GNOME Monitors panel.
If you like the results, paste the two xrandr commands above into your ~/.bashrc file or some other script that runs when you login.
Also, you may notice that one display is darker than the other. You can correct this in the terminal, but I'm not aware of a GUI for it yet.
To aid those who are trying to find this via search, below is a method for adjusting gamma for an external monitor independently from a laptop to which it is attached, allowing one gamma setting for the laptop screen, and a different gamma for the external monitor:
First, run xrandr, and note the output. Your laptop is likely called LVDS1, and your external screen something else, likely VGA1 or HDMI1
To correct gamma on your laptop, run:
Code:
xrandr --output LVDS1 --gamma 1.8:1.8:1.8
On my Asus UL30A, this makes the screen look somewhat better than default (by default, it's pretty bad--almost unusable) - your numbers may vary. Read the xrandr manual page to see what the above actually does.
You can do something similar for your external monitor, and even give it different settings:
Code:
xrandr --output VGA1 --gamma 2.0:2.0:2.0
I hope this helps the original poster and anyone else out there who may be frustrated. This drove me crazy initially, but it works on my installation of Lucid/10.04 (I imagine it will also work on Maverick).
All of the above could easily be pasted into various scripts (or perhaps even programs that run at a lower level) that run automatically at certain events. That's well beyond my capabilities, though.
However, none of this fixes the issue with mouse pointers disappearing off the top of a monitor that has a lower vertical resolution than another monitor on the same logical display.....
Bookmarks