Skip navigation

Harald Markus Wirth

Page Content:

Setting the Screen Resolution in

Default Resolution and Login Screen

If you are using Jaunty Jackalope, you can use the old method of adding a few lines to /etc/X11/xorg.conf - the following snippet shows only the important parts, the "SubSection". Adding the "Modes" should force your X server to use only the mentioned resolution:

Section "Screen"
   SubSection "Display"
      Modes   "1280x1024"

In Jaunty, I found a simpler way to achieve this. After booting the Live-CD, it started using the highest possible resolution (1600x1200). When I used the GUI-program to set a lower one, it became the default resolution for the installed system. Simply use System / Preferences / Display to set the desired resolution, then start the install program.

xorg.conf is being ignored in Lucid Lynx

When I installed Lucid Lynx, creating an xorg.conf did not help - the settings were simply ignored. I found another place, where one can put a line to enforce a certain resolution: /etc/gdm/Init/Default. I had to place a line just before the line "/sbin/initctl -q emit login-session-start DISPLAY_MANAGER=gdm":

Setting the default resolution using xrandr in /etc/gdm/Init/Default

You can call xrandr without parameters to list all recognized screen modes.

# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
#  -George


#if [ -x '/usr/bin/xsplash' ];
#        /usr/bin/xsplash --gdm-session --daemon

xrandr --output VGA1 --mode 1280x1024 --rate 85

/sbin/initctl -q emit login-session-start DISPLAY_MANAGER=gdm



NOT YET VERIFIED: It looks like 1600x1200 is used on my machine before xrandr takes effect (I can tell, because the mouse cursor is not in the center after boot) Perhaps makeing

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

# Uncomment to disable graphical terminal (grub-pc only)

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'

# this replaces vga= parameters from earlier Ubuntu versions

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

# Uncomment to disable generation of recovery mode menu entries

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Content Management:

μCMS α1.6