Linux.com

Home Linux Community Forums Hardware Monitors Incorrect screen size

Incorrect screen size

Link to this post 19 May 11

I'll try to help, but I don't know all the right Ubuntu commands (hopefully someone can jump in and correct me).

Before editing the Xorg config file, I assume you've tried running any Preferences-type settings that can be launched from within the Desktop environment (Gnome, etc.) itself to change the res?

Assuming you have, and you've still had no luck, then you can try:

1) Manually editing the Xorg config file
2) Installing missing drivers

1) To edit the xorg config file, do this in a terminal:

sudo gedit /etc/X11/xorg.conf

and look for a section like:


Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection

To try the intel driver, change "vesa" to "i810" (or "intel", not sure which).

To add the HorizSync/VertRefresh info, find those values from some laptop documentation, then put them under the monitor section of the xorg file, e.g.:


Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell E193FP"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "dpms"
EndSection

Don't use the above values, those are for my monitor!

2) For 1) to work, you might have to install the Intel Graphics driver first, if it is missing. It'll be some "apt-get install ..." command (help anyone?). I think you can do "apt-cache search ..." for it, or something like that.

To test your changes you have to restart the X server. You can do that by simply rebooting, but sometimes the Ctrl+Alt+Backspace key combo does it, too.

hth

Link to this post 19 May 11

have you tried running xrandr to see what modes are possible for the monitor before attempting to change the xorg.conf file?

Link to this post 19 May 11

mfillpot wrote:

have you tried running xrandr to see what modes are possible for the monitor before attempting to change the xorg.conf file?

Well, that will help us find why it's not working but I'm afraid we'll need to modify the xorg.conf file in the end anyway.

Regards

Link to this post 13 Oct 11

All advice these people gave you is good, but since quick and easy is always good. In Ubuntu 11.04 there is an application called "Monitors" that lets you change your monitor resolution and such. Have you tried simply using that? I've fixed some of my own problems using this simple program.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board