You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
244 lines
10 KiB
244 lines
10 KiB
15 years ago
|
<!--
|
||
|
<?xml version="1.0" ?>
|
||
|
<!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd">
|
||
|
-->
|
||
|
<chapter id="configure">
|
||
13 years ago
|
<title>Configuring &tde;</title>
|
||
15 years ago
|
|
||
|
<qandaset>
|
||
|
<qandaentry>
|
||
|
<question>
|
||
13 years ago
|
<para>How do I set the language used by &tde;?</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>First ensure the appropriate tde-i18n language package is installed.</para>
|
||
|
<para>Thereafter there are two ways to set the language &tde; uses in the
|
||
15 years ago
|
messages it will display:</para>
|
||
|
<variablelist>
|
||
13 years ago
|
<varlistentry><term>Using the <application>&tde; Control Center</application></term>
|
||
13 years ago
|
<listitem><para>Open the <application>&tde; Control Center</application> and select
|
||
|
<guimenu>Regional & Accessibility</guimenu> then
|
||
|
<guimenuitem>Country/Region & Language</guimenuitem>. 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
|
||
15 years ago
|
(American) English by default.</para>
|
||
13 years ago
|
<note><para>Using the <application>&tde; Control Center</application> is the preferred way of choosing
|
||
|
languages in &tde;.</para></note></listitem>
|
||
15 years ago
|
</varlistentry>
|
||
|
<varlistentry><term>Using the <envar>LANG</envar> environment variable</term>
|
||
|
<listitem><para>The second method uses the standard locale setting on
|
||
13 years ago
|
your system. To change the language, simply set the environment
|
||
|
variable <envar>LANG</envar> accordingly. For example, if your shell
|
||
15 years ago
|
is <application>bash</application>, execute
|
||
|
<userinput><command>export</command> <envar>LANG</envar>=de</userinput>
|
||
|
to set German as the language used.</para></listitem>
|
||
|
</varlistentry>
|
||
|
</variablelist>
|
||
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
|
<para>Is there any keyboard switcher for international keyboards for
|
||
13 years ago
|
&tde;?</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
|
<para>
|
||
13 years ago
|
Yes, configure the switcher using the <application>&tde; Control Center</application>
|
||
|
<menuchoice><guimenu>Regional & Accessibility</guimenu><guimenuitem>
|
||
|
Keyboard Layout</guimenuitem></menuchoice> configuration page.
|
||
15 years ago
|
</para>
|
||
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
|
<para>How do I replace the standard text login screen with the
|
||
13 years ago
|
&tde; login screen?</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<note><para>Your &UNIX; distribution might have its own setup tools to
|
||
15 years ago
|
change this (⪚ <application>YaST</application> on &SuSE; &Linux;). This will
|
||
13 years ago
|
be the safest way to enable the &tde; login screen. However, if for some reason
|
||
13 years ago
|
you do not wish to use these tools, the following instructions might be useful.</para></note>
|
||
|
<para>First, ychange to the <quote>xdm runlevel</quote> (runlevel 5 on
|
||
15 years ago
|
&RedHat; and &SuSE; systems) by editing your
|
||
13 years ago
|
<filename>/etc/inittab</filename> file. In the file, there should be
|
||
|
a line saying <userinput>id:3:initdefault:</userinput>. Change it to
|
||
|
<userinput>id:5:initdefault:</userinput>. At the end of the file,
|
||
15 years ago
|
comment out the following line:
|
||
|
<literal>x:5:respawn:/usr/bin/X11/xdm -nodaemon</literal> and
|
||
|
replace it with
|
||
13 years ago
|
<userinput>x:5:respawn:<replaceable>/opt/trinity/</replaceable>bin/tdm
|
||
15 years ago
|
-nodaemon</userinput>.
|
||
13 years ago
|
<note><para>The location of &tdm; might differ on your
|
||
15 years ago
|
system.</para></note></para>
|
||
|
<para>For changes to take effect immediately, type <command>init
|
||
13 years ago
|
5</command> (for &RedHat; systems) at the shell prompt.
|
||
15 years ago
|
<caution><para>It is risky to initiate a graphical login without
|
||
13 years ago
|
checking beforehand whether it works. If it fails to work, you would
|
||
|
be in for a hard time getting back.</para></caution></para>
|
||
15 years ago
|
</answer>
|
||
|
<answer>
|
||
|
<para>
|
||
|
For FreeBSD, you should edit the file <filename>/etc/ttys</filename>
|
||
|
and change one of the lines that look like
|
||
|
<programlisting>ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure</programlisting>
|
||
13 years ago
|
to instead say <userinput>ttyv8 "/usr/local/bin/tdm -nodaemon" xterm
|
||
15 years ago
|
off secure</userinput>.</para>
|
||
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
|
<para>I would like to click the &LMB; anywhere on the
|
||
13 years ago
|
desktop and have the <guimenu>TDE</guimenu> menu displayed.</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>Use the &RMB; to select the desktop. From the popup menu, select
|
||
|
<guisubmenu>Configure Desktop</guisubmenu>. From the icon list
|
||
|
select the Behavior icon. Choose the behavior of mouse clicks on the desktop. To have
|
||
13 years ago
|
the <guimenu>TDE</guimenu> menu open from a single &LMB; click, change
|
||
15 years ago
|
the entry labeled <guilabel>Left button</guilabel> to say
|
||
|
<guilabel>Application Menu</guilabel>.</para>
|
||
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
13 years ago
|
<para>Where do I find additional &tde; themes?</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>Go to <ulink url="http://www.kde-look.org">http://www.kde-look.org</ulink>.</para>
|
||
15 years ago
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
|
<para>How do I change &MIME; Types?</para>
|
||
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>When using &konqueror;, open a &konqueror; window and choose
|
||
15 years ago
|
<menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure
|
||
13 years ago
|
Konqueror</guimenuitem></menuchoice>. From the icon list select
|
||
|
<guilabel>File Associations</guilabel>. Find the mime type you want to change
|
||
15 years ago
|
(⪚ <literal>text/english</literal> or
|
||
|
<literal>image/gif</literal>), and set the application preference order
|
||
|
to whatever you want.</para>
|
||
13 years ago
|
<para>The same thing can be accomplished by using the <application>&tde; Control Center
|
||
|
</application>. Select <menuchoice><guimenu>TDE Components</guimenu><guimenuitem>File Associations</guimenuitem></menuchoice>.</para>
|
||
15 years ago
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
13 years ago
|
<para>&tde; (&tdm;) does not read my <filename>.bash_profile</filename>.</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>The login managers<application>xdm</application> and &tdm; do
|
||
15 years ago
|
not run a login shell, so <filename>.profile</filename>,
|
||
|
<filename>.bash_profile</filename>, &etc; are not
|
||
13 years ago
|
sourced. When the user logs in, <application>xdm</application> runs
|
||
15 years ago
|
<command>Xstartup</command> as root and then
|
||
13 years ago
|
<command>Xsession</command> as user. The normal practice is to add
|
||
15 years ago
|
statements in <filename>Xsession</filename> to source the user
|
||
13 years ago
|
profile. Please edit your <filename>Xsession</filename> and
|
||
15 years ago
|
<filename>.xsession</filename> files.</para>
|
||
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
13 years ago
|
<para>How do I use &TrueType; fonts in &tde;?</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>Install &TrueType; font support into your &X-Window; configuration.
|
||
|
<!--Please take a look at <ulink
|
||
15 years ago
|
url="http://x.themes.org/">x.themes.org</ulink> for the fonts, and
|
||
|
<ulink url="http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/">xfsft:
|
||
|
&TrueType; Font Support For X11</ulink> or <ulink
|
||
|
url="http://X-TT.dsl.gr.jp/">X-&TrueType; Server Project Home
|
||
13 years ago
|
Page</ulink> for the font servers.-->
|
||
|
</para>
|
||
15 years ago
|
<para>If you have a bunch of &TrueType; fonts from &Microsoft;
|
||
13 years ago
|
&Windows;, edit the <filename>xorg.conf</filename> file to get the
|
||
|
fonts from the font folder. Then configure &tde; to use these new
|
||
|
fonts with the <filename>Font Administrator</filename> utility.</para>
|
||
15 years ago
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
13 years ago
|
<para>Is it possible to enter, show, and work with the Euro Symbol in
|
||
13 years ago
|
&tde;?</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>Yes. Open the <application>&tde; Control Center</application> and select
|
||
|
<guimenu>Regional & Accessibility</guimenu>, then
|
||
|
<guimenuitem>Keyboard Layout</guimenuitem>. Select the <guimenuitem>Xkb Options</guimenuitem>
|
||
|
tab and enable the <guilabel>Enable xkb options</guilabel> check box. Choose a compose key.
|
||
|
Enable <guilabel>Adding Eurosign to certain keys</guilabel> and select the desired key.</para>
|
||
15 years ago
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
13 years ago
|
<question><para>How do I run a program at &tde; startup?</para></question>
|
||
13 years ago
|
<answer><para>There are several ways to do that. If you want to
|
||
|
run some scripts that set environment variables (for
|
||
|
example, to start <command>gpg-agent</command>, <command>ssh-agent</command> and others), place the
|
||
|
scripts into <filename class="directory">$<envar>TDEHOME</envar>/env/</filename>. Make sure their names end in
|
||
13 years ago
|
<literal role="extension">.sh</literal>. $<envar>TDEHOME</envar> is
|
||
13 years ago
|
usually a folder named <filename class="directory">.trinity</filename>
|
||
|
(notice the period at the beginning) in your home
|
||
13 years ago
|
folder. If you want scripts to be executed for all &tde; users, you can
|
||
13 years ago
|
put them under <filename class="directory">$<envar>TDEDIR</envar>/env/</filename>, where $<envar>TDEDIR</envar> is the prefix &tde; is installed (you can find this out using the command
|
||
|
<userinput><command>tde-config --prefix</command></userinput>).</para>
|
||
|
<para>If you wish to start a program after &tde; has started, you may want to use the
|
||
15 years ago
|
<filename class="directory">Autostart</filename> folder. To add
|
||
|
entries to the <filename class="directory">Autostart</filename> folder:
|
||
|
<orderedlist>
|
||
|
<listitem><para>Open &konqueror;.</para>
|
||
|
</listitem>
|
||
|
<listitem><para>Select <menuchoice><guimenu>Go</guimenu><guimenuitem>Autostart</guimenuitem>
|
||
|
</menuchoice> from the menubar.</para>
|
||
|
</listitem>
|
||
|
<listitem><para>Right-click in the window view area and select <menuchoice><guisubmenu>Create New</guisubmenu><guisubmenu>File</guisubmenu><guimenuitem>Link to
|
||
|
Application</guimenuitem>
|
||
|
</menuchoice></para>
|
||
|
</listitem>
|
||
|
<listitem><para>Click on the <guilabel>Application</guilabel> tab in
|
||
|
the window that appears and enter the name of the command to run in
|
||
|
the <guilabel>Command</guilabel> text box.</para>
|
||
|
</listitem>
|
||
|
</orderedlist>
|
||
|
</para>
|
||
|
</answer>
|
||
|
</qandaentry>
|
||
|
|
||
|
<qandaentry>
|
||
|
<question>
|
||
13 years ago
|
<para>How can I allow more than one user to be logged in a at a time? Can &tde; do <quote>fast user switching</quote>?</para>
|
||
15 years ago
|
</question>
|
||
|
<answer>
|
||
13 years ago
|
<para>Yes, when starting &tde; through the graphical login mode. When starting &tde;
|
||
|
from the command line using <filename>startx</filename>, then toggle to a different console
|
||
|
to login in.</para>
|
||
15 years ago
|
<para>To enable more than one user to log in at one time on the same
|
||
13 years ago
|
computer (sometimes referred to as <quote>fast user switching</quote>)
|
||
|
configure the program that logs you in to allow more than one
|
||
15 years ago
|
session (or, in &X-Window; terms, <quote>display</quote>) at a time.</para>
|
||
13 years ago
|
<para>In &tde;, this program is called &tdm; which stands for <quote>&tde;
|
||
13 years ago
|
Display Manager</quote>. If you are not using &tdm; as your login screen
|
||
15 years ago
|
then you will need to consult the documentation for the software you are using on how to
|
||
|
accomplish multiple sessions.</para>
|
||
|
<para>By default, this will be configured at installation time automatically
|
||
13 years ago
|
if &tdm; supports virtual terminals on your system (currently Linux only).
|
||
|
If it was not configured automatically, consult the &tdm; manual, section
|
||
13 years ago
|
<ulink url="help:/tdm/tdmrc-xservers.html">Specifying permanent &X-Server;s</ulink>.
|
||
|
After modifying tdmrc, you will have to restart &tdm;; just
|
||
13 years ago
|
invoke <command>killall -HUP tdm</command>.</para>
|
||
15 years ago
|
</answer>
|
||
|
</qandaentry>
|
||
|
</qandaset>
|
||
|
</chapter>
|