One week ago, I brought some old hardware from my parent’s to my flat in Seville. I brought an old router, some network wires, a Pentium IV, etc. However, here I only have a SVGA screen and this CPU was connected and configured to work at 1024×768.
Once I turned the machine on, I realized that Ubuntu doesn’t reconfigure itself when a new monitor is attached. So I understood I would have to change this by hand.
In first place, I thought of changing xorg.conf file, but there was not anything like “Display” subsection. It seems Gnome/Ubuntu 8.04 does not care about xorg.conf.
Reading some forums on the Internet, I was prompted to run “dpkg-reconfigure xorg-xserver”, but it seems that this only reconfigures my keyboard. “X -configure” did either.
Later, after so many tests, I thought that it may be stored in a different place. So I asked one friend for some hints (he is an KDE enthusiast) and finally located a file called “monitors.xml” under “/home/$home/.gnome2/”. I replaced 1024 by 800 and 768 by 600. (See highlighted lines) and rebooted. Later everything ran okay.
Contents of monitors.xml:
<configuration>
<clone>yes</clone>
<output name=”DVI-0″>
</output>
<output name=”S-video”>
</output>
<output name=”VGA-0″>
<vendor>TAT</vendor>
<product>0xcfbb</product>
<serial>0×0030feba</serial>
<width>800</width>
<height>600</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
</output>
</configuration>
I hope this helps.
Filed under: Ubuntu
A friend? You m****f**** better ping my blog! xD And of course I’m a KDE enthusiast, as you are? Or have you deffected to brain-dead GNOME-camp?
I installed Gnome on that machine as a Windows replacement. However, right now it is my Minix development box and I seldom open Gnome. Once I am finished with Google summer of code, I’ll get rid of Gnome from that computer.
P.S: post updated pointing to your blog.
That’s the way it is….
I don’t have that problem on windows.
;)
If you do not know how to set it up in control panel, you can start your computer in Ubuntu Restore mode, and it will reset for your new display card.
@Mark: I tried that too, but it didn’t work for me.
I am having troubles because of a #%z@ DVI-to-VGA adaptor that doesn’t allow ubuntu to grab the right resolution. Thanks fot the tip, helped me a lot!