Saturday, May 30, 2009

X Configuration

/etc/X11/xorg.conf is the file where X11 configuration is stored. X11 provides tools (X -configure, xorgsetup, xorgconf and xorgcfg) for configuring X on Slackware. X- configure is preferred for inexperienced users, because it automatically generates a configuration file. Other tools require to enter manually.

Below command will generate file located in home directory of root (I assume that you did not started X and you are logged in as root).

# X -configure

Rename it as xorg.conf

# mv /root/ /root/xorg.conf

Copy renamed X configuration file xorg.conf to /etc/X11

# cp /root/xorg.conf /etc/X11

Type startx to start X.

# startx

Now KDE will start by default.

Sample xorg.conf file: /etc/X11/xorg.conf

(Nvidia 7300 GT Graphics Card, LG L1952T LCD Monitor)

Slackware has xwmconfig tool by which you can change your default desktop environment and window manager. Full installation of Slackware consists of KDE, XFCE, BlackBox, WindowMaker, FVWM and TWM. To change default window manager or desktop environment, execute folowing command as user.

$ xwmconfig

No comments:

Post a Comment