2010년 7월 22일 목요일

Fixing the Monitor Resolution with xrandr - Ubuntu 10.04 LTS Lucid Lynx

To read original document, follow the title link.

It's not tested yet.

Run terminal, then

> xrandr

You will get an output of the display(s) connected to your computer and the supported resolutions.


To get the settings for the 1280×1024 resolution, type the following at the terminal window

 > cvt 1280 1024

You’ll get the following output.


Then type

> xrandr --newmode

And paste to complete the command.

> xrandr -newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

Then type

> xrandr --addmode VGA1 1280x1024_60.00

VGA1 is your monitor name.


The LCD monitor should now be set to the correct resolution.
Unfortunately, the monitor settings only apply to the current session. If you reboot, the setting will be lost. To make them permanent, type

> gksudo gedit /etc/gdm/Init/Default
Look for
PATH=”/usr/bin:$PATH”
OLD_IFS=$IFS

and type the following and save.

xrandr –newmode “1280x1024_60.00″ 109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
xrandr –addmode VGA1 1280x1024_60.00
xrandr –output VGA1 –mode 1280x1024_60.00

It worked for me I hope it works for you. The original information was from a post on ubuntuforums.org.

댓글 없음:

댓글 쓰기