Chapter 10. Configuring TDE

10.1. How do I set the language used by TDE?
10.2. Is there any keyboard switcher for international keyboards for TDE?
10.3. How do I replace the standard text login screen with the TDE login screen?
10.4. I would like to click the left mouse button anywhere on the desktop and have the TDE menu displayed.
10.5. Where do I find additional TDE themes?
10.6. How do I change MIME Types?
10.7. TDE (TDM) does not read my .bash_profile.
10.8. How do I use TrueType fonts in TDE?
10.9. Is it possible to enter, show, and work with the Euro Symbol in TDE?
10.10. How do I run a program at TDE startup?
10.11. How can I allow more than one user to be logged in a at a time? Can TDE do fast user switching?
10.1.

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.

Note

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.

10.2.

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.

10.3.

How do I replace the standard text login screen with the TDE login screen?

Note

Your Unix-like distribution might have its own setup tools to change this (e.g. 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 Red Hat 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.

Note

The location of TDM might differ on your system.

For changes to take effect immediately, type init 5 (for Red Hat systems) at the shell prompt.

Caution

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.

10.4.

I would like to click the left mouse button anywhere on the desktop and have the TDE menu displayed.

Use the right mouse button 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 left mouse button click, change the entry labeled Left button to say Application Menu.

10.5.

Where do I find additional TDE themes?

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

10.6.

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 (e.g. 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.

10.7.

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.

10.8.

How do I use TrueType fonts in TDE?

Install TrueType font support into your X Window System 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.

10.9.

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.

10.10.

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.

10.11.

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 System 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-Servers". After modifying tdmrc, you will have to restart TDM; just invoke killall -HUP tdm.