# Configuring &tde;

How do I set the language used by &tde;?

First ensure the appropriate tde-i18n language package is installed.

Thereafter there are two ways to set the language &tde; uses in the messages it will display:

Using the &tde; Control Center

  Open the &tde; Control Center and select Regional & Accessibility then Country/Region & Language. You can select your language and location here. If &tde; cannot find a translation in the first language chosen, it will fall back on the default language. This is usually (American) English by default.

  Using the &tde; Control Center is the preferred way of choosing languages in &tde;.

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 ``export` `LANG`=de` to set German as the language used.

Is there any keyboard switcher for international keyboards for &tde;?

Yes, configure the switcher using the &tde; Control Center Regional & Accessibility Keyboard Layout configuration page.

How do I replace the standard text login screen with the &tde; login screen?

Your &UNIX; distribution might have its own setup tools to change this (⪚ YaST on &SuSE; &Linux;). This will be the safest way to enable the &tde; login screen. However, if for some reason you do not wish to use these tools, the following instructions might be useful.

First, ychange to the xdm runlevel (runlevel 5 on &RedHat; and &SuSE; systems) by editing your `/etc/inittab` file. In the file, there should be a line saying `id:3:initdefault:`. Change it to `id:5:initdefault:`. 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/trinity/bin/tdm -nodaemon`.

The location of &tdm; might differ on your system.

For changes to take effect immediately, type `init 5` (for &RedHat; systems) at the shell prompt.

It is risky to initiate a graphical login without checking beforehand whether it works. If it fails to work, you would be in for a hard time getting back.

For FreeBSD, you should edit the file `/etc/ttys` and change one of the lines that look like

    ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure

to instead say `ttyv8 "/usr/local/bin/tdm -nodaemon" xterm off secure`.

I would like to click the &LMB; anywhere on the desktop and have the TDE menu displayed.

Use the &RMB; to select the desktop. From the popup menu, select Configure Desktop. From the icon list select the Behavior icon. Choose the behavior of mouse clicks on the desktop. To have the TDE menu open from a single &LMB; click, change the entry labeled Left button to say Application Menu.

Where do I find additional &tde; themes?

Go to http://www.kde-look.org.

How do I change &MIME; Types?

When using &konqueror;, open a &konqueror; window and choose Settings Configure Konqueror. From the icon list select File Associations. Find the mime type you want to change (⪚ `text/english` or `image/gif`), and set the application preference order to whatever you want.

The same thing can be accomplished by using the &tde; Control Center . Select TDE Components File Associations.

&tde; (&tdm;) does not read my `.bash_profile`.

The login managersxdm and &tdm; do not run a login shell, so `.profile`, `.bash_profile`, &etc; are not sourced. When the user logs in, xdm runs `Xstartup` as root and then `Xsession` as user. The normal practice is to add statements in `Xsession` to source the user profile. Please edit your `Xsession` and `.xsession` files.

How do I use &TrueType; fonts in &tde;?

Install &TrueType; font support into your &X-Window; configuration.

If you have a bunch of &TrueType; fonts from &Microsoft; &Windows;, edit the `xorg.conf` file to get the fonts from the font folder. Then configure &tde; to use these new fonts with the `Font Administrator` utility.

Is it possible to enter, show, and work with the Euro Symbol in &tde;?

Yes. Open the &tde; Control Center and select Regional & Accessibility, then Keyboard Layout. Select the Xkb Options tab and enable the Enable xkb options check box. Choose a compose key. Enable Adding Eurosign to certain keys and select the desired key.

How do I run a program at &tde; startup?

There are several ways to do that. If you want to run some scripts that set environment variables (for example, to start `gpg-agent`, `ssh-agent` and others), place the scripts into `$`TDEHOME`/env/`. Make sure their names end in `.sh`. $`TDEHOME` is usually a folder named `.trinity` (notice the period at the beginning) in your home folder. If you want scripts to be executed for all &tde; users, you can put them under `$`TDEDIR`/env/`, where $`TDEDIR` is the prefix &tde; is installed (you can find this out using the command ``tde-config --prefix``).

If you wish to start a program after &tde; has started, you may want to use the `Autostart` folder. To add entries to the `Autostart` folder:

1. Open &konqueror;.

2. Select Go Autostart from the menubar.

3. Right-click in the window view area and select Create New File Link to Application

4. Click on the Application tab in the window that appears and enter the name of the command to run in the Command text box.

How can I allow more than one user to be logged in a at a time? Can &tde; do fast user switching?

Yes, when starting &tde; through the graphical login mode. When starting &tde; from the command line using `startx`, then toggle to a different console to login in.

To enable more than one user to log in at one time on the same computer (sometimes referred to as fast user switching) configure the program that logs you in to allow more than one session (or, in &X-Window; terms, display) at a time.

In &tde;, this program is called &tdm; which stands for &tde; Display Manager. If you are not using &tdm; as your login screen then you will need to consult the documentation for the software you are using on how to accomplish multiple sessions.

By default, this will be configured at installation time automatically if &tdm; supports virtual terminals on your system (currently Linux only). If it was not configured automatically, consult the &tdm; manual, section Specifying permanent &X-Server;s. After modifying tdmrc, you will have to restart &tdm;; just invoke `killall -HUP tdm`.