Force screen resolutions on Ubuntu 10.10
I was recently trying to change the resolution of an external monitor on Ubuntu 10.10 and found that the usual xorg.conf file no longer existed. You are able to create one by running `X -configure` in recovery mode, but that seems like a bit of a pain. Here is a simpler way to add screen resolution options in Ubuntu 10.10.First, you will need to generate a new modeline to use in the configuration by passing your desired resolution and rate to cvt. I will use 1280x1024 throughout this tutorial.
cvt 1280 1024 60That should return something that looks like this
1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHzCopy everything on the second line after “Modeline ” and then add that as a new mode.
Modeline “1280x1024_60.00” 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr —newmode ”1280x1024_60.00” 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsyncNow that the mode has been added, we need to move it to the proper monitor. If you are trying to add this resolution to your main display, then you can skip the next step.
You can use the `xrandr` command to see the names of each attached monitor. If you are on a laptop that has a VGA port, that is probably called VGA1, but check to make sure.
Next we will move the mode we just created to VGA1 using the name of the new mode from the previous command (the text in double quotes).
xrandr —addmode VGA1 “1280x1024_60.00”You will now see the new resolution listed in the display options. You can read more on configuring X here. Enjoy!
Няма коментари:
Публикуване на коментар