The K Desktop Environment

Weiter Zurück Inhaltsverzeichnis

9. Configuring KDE

9.1 How do I set the language to be used by KDE?

There are two ways to set the language KDE uses in the messages it will display:

Using the KDE Control Center

In the KDE Control Center (kcontrol), there is the entry Desktop|language. You can select three languages, according to your preferences. If KDE can't find a translation in to first language, it will fall back on the second or third. If there is no appropriate translation at all, the default language will be used. This will usually be English.

Using kcontrol is the preferred way of choosing the language.

Using the LANG environment variable

The second method uses the standard locale setting on your system. To change the language, simply set the environment variable LANG accordingly.

For example if your shell is bash, execute the following:

export LANG=de

9.2 Is there any keyboard switcher for international keyboards for KDE?

KDE 1.1 will come with kiKbd (for International KeyBoarD), which has a cool interface and permits you to create new national keyboards. Right now it is in the CVS tree.

9.3 How do I replace the standard Linux text login screen with the KDE login screen?

First, you need to change to the "xdm runlevel" (runlevel 5 on RedHat systems) by editing your /etc/inittab file. In the file, you should have a line saying:

id:3:initdefault:

Change it to:

id:5:initdefault:

Now at the end of the file, comment out the following line:

x:5:respawn:/usr/bin/X11/xdm -nodaemon
and replace it with:
x:5:respawn:/opt/kde/bin/kdm -nodaemon
(the location of kdm may differ on your systems, though)

For changes to take effect immediately, type "init 5" at the shell prompt. Please note that it is risky to initiate a graphical login without checking beforehand whether it works. If it fails to work, you'd be in for a hard time getting back....

9.4 How do I replace KWM with another KDE-compliant window manager like Blackbox and Window Maker?

First, download the source code and compile them. You would probably need to specify some option when you execute the configure script in order to produce KDE-compliant binaries. Read the README and INSTALL files for instructions. Then simply replace the 'kwm' command in the startkde script with the command that runs the new window manager and you're done.

Blackbox

Blackbox is yet another addition to the list of window managers for X. It is built with C++, sharing no common code with any other window manager (even though the graphics implementation is similar to that of Window Maker). Blackbox became KDE compliant at its 0.50.2 release. Please visit Blackbox's Website for further information. You might also find this website KDE + Blackbox = KBB! useful.

To use Blackbox with KDE, first download the source code and run:

$ ./configure --with-kde
$ make
# make install
(the "with-kde" flag enables KDE support)

Next, replace the 'kwm' command in the startkde script with 'blackbox'. Save the new script as, for example, '/usr/local/kde/bin/startbb' and change the bottom line of your $HOME/.xinitrc file so that it runs the new script instead of the old one. Fire up X and you're away. (KDM and XDM users would probably need to edit $HOME/.xsession instead.)

Window Maker

Window Maker is an X11 window manager designed to give additional integration support for GNUstep applications. It tries to emulate the elegant look and feel of the NeXTSTEP(tm) GUI. It is relatively fast, rich in features, and easy to configure and use. Window Maker becomes KDE compliant at its 0.50.0 release. Please visit the Official Window Maker Website for further information.

9.5 How do I change the Red Hat Linux logo bootup screen image?

Redhat uses xbanner to display its logo, so to disable it, just comment out the line calling xbanner from the configuration file xdm reads, which is /etc/X11/xdm/Xsetup_0 (may vary). If you want something else to run there, put it in instead, for example:

/opt/kde/bin/kdmdesktop

9.6 I'd like to click the left mouse button anywhere on the desktop and have the 'K' menu displayed.

Edit $HOME/.kde/share/config/krootwmrc and add the following two lines:

[MouseButtons]
Left=Menu

Weiter Zurück Inhaltsverzeichnis