Friday, September 23, 2011

Ubuntu, KVM and Resolution

Ubuntu is a nice alternative to Windows.  I have tried few distros like Redhat, SuSe, Mandrive, and Ubuntu is the distro I finally settle mainly because of the APT package system.  I do like to use Linux but I don't like to "fix" Linux.  Flexibility and customizability of Linux to me is a double edged sword, it is great for enthusiasts, but terrible to people just want to use.  Ubuntu is closest I can found (mind you, there is always something better in Linux world)

However, there is one essential thing I really hope can get fixed that is setting the resolution of a monitor.  Yes, there are GUI tools for it but they all seem to work only if the auto detection work.  For instance, if the monitor is connected through KVM, you are out of luck.  You are most likely need to set it manually, and doing so it isn't not nice at all.

For instance, I have recently moved to a newer version of Ubuntu which uses a newer implementation of XOrg.  Unfortunately, the changes made in the new XOrg breaks the driver of my old AGP GeForce graphics card.  I don't really bother too much about all these 3D thing, but one nice feature of a property GeForce driver is its ability to force a resolution and a refresh rate graphically (okay I am still using a CRT monitor).  Without the nVidia driver, I need to do things manually.  To make things even more complicate, the old xorg.conf has been demoted in favor of something else (though you can still use it)

Anyway, cutting a long story short, I had tried a few settings combinations and with my limit knowledge and impatience, I gave up after ending up many times in recovery mode (so I can change my xorg.conf settings)  I finally gave up on my GeForce 400MX card and replaced it with a Radeon 9600 card.  And this time, things is a bit easier.  I can use the xrandr to set the resolution and refresh rate using the instructions from this site:

http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.html

Except, I put all these commands in a script file, and call this script file within the /etc/gdm/Init/Default

As I said at the beginning, I would prefer this can be done graphically so average users like myself can do simply basic things such as setting resolutions and refresh rate easily without the need of editing setting files with text editors.

1 comment:

Garfield said...

With the new Ubuntu 11.10, the /etc/gdm/Init/Default trick seems not working. However, you can still set the resolution with the START UP APPLICATIONS