En:HOWTO: Changing Resolution

From Sabayon Wiki
Jump to: navigation, search
i18n: ca en es fr it tr

For LiveCD

1. At startup prompt, Press F5
2. Add either:

gentoo res=(width pixels)x(height pixels)

or

smp res=(width pixels)x(height pixels)
Question.png
This solution is mainly for the live disk but can continue to be used after the installation, although the method below is highly recommended instead

For Hard Drive Install (Editing the xorg.conf file)

Stop.png
The xorg.conf file is a very important configuration file, please be careful when editing it as doing it incorrectly may leave you without X at all.

Using GUI (Point & Click)

1. Open a terminal (Terminal in Gnome, Konsole in KDE or your terminal of choice)

su

2. Enter your root password.

3. Run Your text editor

gedit /etc/X11/xorg.conf

4. Under the Screen & Monitor section find the resolution modes Line (the default lines are 190, 196,202) which normal looks like:

Modes      "1280x1024" "1024x768" "800x600" "640x480" 

5. Add the resolution you want after the Modes before the first resolution in this case, before "1280x1024". The format of a resolution is widthxheight, eg 1400x1050, 1280x800, etc

6. Save your xorg.conf file using File > Save or Ctrl-S

7. Close your editor.

10. Restart X, by using Ctrl-Alt-Backspace (save all Work first)


Using Command Line

1. Open up a Terminal, run

su

2. Enter your root password when prompted.

3. Type the name of your favourite console or GUI editor followed by /etc/X11/xorg.conf. eg

nano /etc/X11/xorg.conf

4. Under the Screen & Monitor section find the resolution modes Line (the default lines are 190, 196,202) which normal looks like:

Modes      "1280x1024" "1024x768" "800x600" "640x480" 

5. Add the resolution you want after the Modes before the first resolution in this case, before "1280x1024". The format of a resolution is widthxheight, eg 1400x1050, 1280x800, etc

6. Save your xorg.conf file using relevant shortcut.

7. Close your editor.

8. Restart X, by using Ctrl-Alt-Backspace (save all Work first)


Setting a Non-Default Custom Resolution

Optional: If you require a custom resolution that isn't normally supported by default X.org, then you may need to add a ModeLine, for more information on this

man xorg.conf

in a shell or use

man:/xorg.conf

in konqueror.