0

Possible Duplicate:
How do I force a resolution of 1024x768?

My screen's resolution is 1024x768 and when I installed Ubuntu it was forcefully in 1440x900. I changed it in my account and again I've to change it in another standard account. I don't know any way to change it in login screen. Also when shutting down that black screen with some commands also appears in 1440x900. I don't know why Ubuntu force itself to be in 1440x900. I want 1024x768 in whole way.

I don't know whether it is required but I have Intel chipset 128 MB.

rainlover
  • 576

2 Answers2

1

To give you specific answers:

Either the kernel or the X video driver (for most modern machines the kernel) queries your monitor to find out what resolutions it supports, tries to figure out which one is preferred (most of the time the highest resolution the monitor says it will do, for most modern graphics devices using kernel mode switching, this is done in driver/gpu/drm/drm_edid.c). The kernel or X then sets that mode as the default. You see the rest of the modes in the output from xrandr. Most people prefer the highest resolution their device will do.

This EDID communications is a two way transaction over a couple of the wires of most modern video cables, including HDMI. It doesn't work for hookups using only composite video cables, for example.

So the quick answer to your title question is that your monitor says it can do 1440x900 and both the kernel and X tell it to do so. I don't know why Windows chooses a lower resolution mode.

Assuming your xrandr output says you have a mode called "1024x768" you can do the following:

  1. Modify the grub linux line you boot from to add video=1024x768@60. That overrides the kernel's choice. You may also have to delete the "gfxmode" line in grub, or modify it to 1024x768. You should interrupt the boot process at the grub menu and press e to edit the choice you want to use. I got this working on my test system (which sets gfxmode to "text" because I don't use the splash screen). You only need to change this if you really care about the resolution of those shutdown messages.

  2. Add the following to /etc/X11/xorg.conf.d/10-resol.conf:

Section "Screen"  
    Identifier      "Default Screen"  
    SubSection "Display"  
        Modes         "1024x768"  
    EndSubSection  
EndSection

You can use gksudo gedit /etc/X11/xorg.conf.d/10-resol.conf to do this.

That will restricts lightdm and the desktop from start with any but the mode you want. lightdm will start X which respects the mode this file specifies.


Once you have all this working you can add "video=1024x768@60" to the GRUB_CMDLINE_LINUX line in /etc/default/grub. You may need to uncomment and set the GRUB_GFXMODE line to "1024x768" as well. After making changes to /etc/default/grub you need to run sudo update-grub to put them into effect for the next boot.

Again, this isn't needed for lightdm or the desktop, only for the shutdown messages, so you may only want to go through with item 2.

If you are trying to get larger, more readable text there are probably better options available.

John S Gruber
  • 13,436
0

Modern LCD monitors have a thing called "native resolution" - a resolution where a single pixel in the video adapter's memory corresponds to a single triplet of red, green and blue screen elements. Any resolution apart from the native one is approximated using the monitor's hardware, which results in a blurred picture, jagged edges and overall dramatic drop in picture quality, even when switching to the resolution very close to the native one. I suspect that your monitor's native resolution is 1440x900.

Older CRT monitors were much more analogous in this sense and allowed a wide range of resolutions to be displayed with about the same degree of clarity (or blurriness).

Now you can see that the whole non-native resolution support thing is an artifact of the way old CRT monitors worked, and is going to be less and less important (try switching resolution on your Android phone, for example).

If you want to change the resolution to make the fonts bigger, a better option would be to make fonts bigger using Gnome configuration tools.

If you want to proportionally scale the whole desktop, you can look at using xrandr - this at least will give you a nice anti-aliased scaling.

Sergey
  • 44,353