Configuring Xorg

From SoL 25 Wiki

Jump to: navigation, search

Configuring Xorg under SoL 25 is as simple as running a script. All you need to do is...run a script.

Login as root, make sure you are in the directory /root and run:

./Xsetup.sh

Optionally, Xsetup.sh takes two parameters, the keyboard layout (only "de" and "us" are supported, however, if "de" is present in /etc/rc.d/cfg/kb.cfg, it takes precedence) as first parameter and the keyword "vesa" as second parameter to force VESA mode.

When it is done, you can type:

startx

This will start Xorg and Enlightenment, which is the default window manager on SoL 25. If you want to use another window manager, just edit the .xsession file in the home directory of the user to run the appropriate window manager/launcher/start script. (E.g. Fluxbox, which is also available on SoL 25.)

In case you want to edit the Xorg configuration file, you will find it at /etc/X11/xorg.conf.

If everything works fine, you will probably want to enable Entranced (an xdm-like display manager for Enlightenment) in runlevel.xml by adding the following line to runlevel 4:

<run prog="sol-entranced.sh" mode="on"/>

Or, if you are a puritan, you can use the good old xdm itself:

<run prog="sol-xdm.sh" mode="on"/>

Note that if your /etc/rc.d/cfg/kb.cfg (see Basic System Configuration) contains a German ("de") keyboard layout, Xsetup.sh will recognize this and set the keyboard layout for Xorg accordingly. Otherwise, the keyboard layout for Xorg will be the default US layout.

Views
Personal tools