SuSE Support Database

Title: Configuring the screen resolution

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

Configuring the screen resolution

Applicable to
S.u.S.E. version: all
XFree86 version: all

Request

How can I configure the monitor's resolution under X Window (XFree86)?

Procedure

There is a paragraph called Section "Screen" at the end of the file /etc/XF86Config, e.g.
Section "Screen"
    Driver      "accel"
    Device      "Elsa Winner 2000"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
        Virtual     1024 768
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

Here are defined the possible resolutions and the virtual screen respectively for every color depth (Subsection Display). In order to configure the color depth see http://www.suse.de/Support/sdb/maddin_bpp.html.

The second subsection is therefore relevant according to the above example (Depth 16).

The resolution that can be used are displayed in the Modes lines. It is started in the one placed first. It can be changed into the other ones by Ctrl-Alt-+. When you have decided with which resolution you want to work, enter it as first one (and only one).

The line Virtual declares the virtual resolution. This means that a bigger monitor is defined, but only a smaller part of it is displayed. The monitor's part is automatically moved by moving the mouse at the monitor's edge (like a window that glides accross a giant monitor).

This X server's virtual monitor cannot be confused with the ones used by a windowmanager (e.g. fvwm2). Both solutions are absolutely independent one from the other!

Should a virtual monitor be used in the x server, the virtual resolution must be always bigger than the really used one or at least as big as.

Tip:
Comment out the virtual line. The virtual resolution will be then automatically set to the biggest one defined in the modes line.

---

See also:

---

Keywords: X SERVER, VIRTUAL, RESOLUTION, XFREE86, XF86

---

Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-kfr_33)

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-kfr_33, Copyright SuSE GmbH, Nuremberg, Germany - Version:
Impressum - Last generated: 24. Feb 1999 14:55:03 by maddin with sdb_gen 1.00.0