Sunday, March 1, 2009

Setting cutom screen resolution on Sabayon

My Dell XPS 1330 has 1280x800 as standard screen resolution; but the Sabayon installation didn't pick it up because 1280x800 is not one of the standard screen resolutions. At least that is what i understood from my readings. 1280x800 is one of those wide screen resolutions which is pretty normal is every other laptop these days. Then why didn't Sabayon pick it up on my installation on Virtual Box!! That is not a good thing.

However, you can tell Sabayon to pick up 1280x800 with a small configuration.

'su' to root


pjames@localhost ~ $ su
Password:
localhost pjames #


open xorg.conf in your favorite editor. I am using 'nano'


localhost pjames # nano /etc/X11/xorg.conf



Under screen section, look for default depth.


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

# The Identifier, Device and Monitor lines must be present

Identifier "Screen 1"
Device "VESA"
Monitor "Generic Monitor"
#Option "AddARGBGLXVisuals" "true"

# The favoured Depth and/or Bpp may be specified here

DefaultDepth 24

SubSection "Display"




Now look for display configuration for depth 24.

The Modes line will be commented by default. Uncomment this line, and add your custom screen conguration to it. Here is how it looks on my machine for 1280x800.


SubSection "Display"
Depth 24
ViewPort 0 0
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubsection


Now, save the file and reboot system for new resolution to become effective.

No comments:

Post a Comment