website view en/doc/handbook/x-window.html @ rev 18

Added Fonts to Handbook (en) and typos
author Paul Issot <paul@slitaz.org>
date Wed Apr 09 21:58:38 2008 +0000 (2008-04-09)
parents 2ceb4453710d
children 61f1791c6ad0
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>SliTaz Handbook (en) - X Window System</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="slitaz English handbook X server window manager jwm openbox e17 slim login" />
8 <meta name="expires" content="never" />
9 <meta name="modified" content="2008-03-01 22:30:00" />
10 <meta name="publisher" content="www.slitaz.org" />
11 <meta name="author" content="Christophe Lincoln, Paul Issot" />
12 <link rel="shortcut icon" href="http://www.slitaz.org/en/doc/handbook/favicon.ico" />
13 <link rel="stylesheet" type="text/css" href="x-window_files/book.css" /></head><body bgcolor="#ffffff">
15 <!-- Header and quick navigation -->
16 <div id="header">
17 <div id="quicknav" align="right">
18 <a name="top"></a>
19 <a href="http://www.slitaz.org/en/doc/handbook/gen-livecd.html">Generate a LiveCD flavor</a> |
20 <a href="http://www.slitaz.org/en/doc/handbook/index.html">Table of contents</a>
21 </div>
22 <h1><font color="#3e1220">SliTaz Handbook (en)</font></h1>
23 </div>
25 <!-- Content. -->
26 <div id="content">
27 <div class="content-right"></div>
29 <h2><font color="#df8f06">X Window System</font></h2>
31 <ul>
32 <li><a href="#X11">X Window System</a></li>
33 <li><a href="#slim">Slim</a> - Simple Login Manager</li>
34 <li><a href="#jwm">JWM</a> - Window Manager</li>
35 <li><a href="#enlightenment">Enlightenment (e17)</a> - Desktop
36 environment.</li>
37 <li><a href="#openbox">Openbox</a> - Window Manager.</li>
38 <li><a href="#fonts">Fonts</a> - System Fonts</li>
39 </ul>
41 <a name="X11"></a>
42 <h3>X11 - X Window System</h3>
43 <p>
44 The X Window System or X11 provides a window manager running on
45 top of a X server. SliTaz uses by default the lightweight X server called
46 <code>Xvesa</code> from the Xorg project (<a href="http://www.x.org/">www.x.org</a>).
47 Xvesa can be started with the Slim login manager or directly from a Linux console
48 with the command <code>startx</code>, but for this you must first disable the
49 Login Manager. To reconfigure your X session you can use <code>tazx</code>
50 as root or as the current user if you start X from the command line.
51 </p>
53 <a name="slim"></a>
54 <h3>Slim - Simple Login Manager</h3>
55 <p>
56 Slim is a lightweight session manager that is very easy to configure and is
57 customizable using system themes. The configuration file is found in
58 <code>/etc/slim.conf</code>, it defines window managers available via the
59 <code>F1</code> key, the default user or theme and the X window system parameters.
60 Slim offers special users commands like <code>console</code> to help manage
61 the session.
62 </p>
63 <p>
64 In LiveCD mode you can disable Slim with the boot option <code>screen=text</code>.
65 On an installed system you can remove the package or delete slim from the
66 <code>RUN_DAEMONS</code> variable in <code>/etc/rcS.conf</code>.
67 </p>
68 <p>
69 More details and themes can be found on the
70 <a href="http://slim.berlios.de/">website.</a>
71 </p>
72 <h4>Default user</h4>
73 <p>
74 Slim offers a way to pre-load a user login name, by default hacker is configured
75 for convenience. You can change this by editing the Slim configuration file
76 <code>/etc/slim.conf</code> and modifying the line <code>default_user</code> or just
77 leave the line blank to avoid pre-loading a user name. Example:
78 </p>
79 <pre class="script">default_user hacker
80 </pre>
82 <a name="jwm"></a>
83 <h3>JWM - Window manager</h3>
84 <p>
85 JWM (Joe's Window Manger) is a lightweight Window Manager, easy to use, fast,
86 stable and insanely configurable. The menu and theme can all be changed from a
87 single configuration file found in your home directory: <code>~/.jwmrc</code>,
88 the file uses XML syntax and the code is nicely colored if you use Geany to
89 edit it. To add an entry in the menu you can use the following example:
90 </p>
91 <pre class="script"> &lt;Program icon="kino.png" label="Kino (Video Editor)"&gt;kino&lt;/Program&gt;
92 </pre>
93 <p>
94 The <a href="http://www.joewing.net/programs/jwm/config.shtml">JWM Web site</a>
95 has got more information on how to configure the application to your needs
96 and preferences.
97 </p>
99 <a name="enlightenment"></a>
100 <h3>Enlightenment (e17)</h3>
101 <p>
102 Enlightenment aka e17 is a lightweight and fast desktop environment that can be
103 configured graphically. To install e17:
104 </p>
105 <pre> # tazpkg get-install enlightenment
106 </pre>
107 <p>
108 Logout your current X session, type <code>F1</code> at Slim login and choose
109 <code>e17</code> to start Enlightenment.
110 </p>
112 <a name="openbox"></a>
113 <h3>Openbox</h3>
114 <p>
115 Openbox is a lightweight window manager than can be configured using the obconf
116 utility. To install openbox:
117 </p>
118 <pre> # tazpkg get-install openbox
119 # tazpkg get-install obconf
120 </pre>
121 <p>
122 Logout your current X session, type <code>F1</code> at Slim login and choose
123 <code>openbox</code> to start Openbox. To make Openbox your default Window
124 Manager just type: <code>tazx openbox</code>.
125 </p>
126 <p>
127 Note: you can also use the configuration file <code>menu.xml</code> found
128 in <code>/etc/xdg/openbox</code> to edit menu items. Here's an example using
129 Htop:
130 </p>
131 <pre class="script">&lt;item label="Htop"&gt;
132 &lt;action name="Execute"&gt;&lt;command&gt;xterm -e htop&lt;/command&gt;&lt;/action&gt;
133 &lt;/item&gt;
134 </pre>
135 <p>
136 More information can be found on the
137 <a href="http://icculus.org/openbox/index.php/Help:Menus">openbox</a> site.
138 </p>
140 <a name="fonts"></a>
141 <h3><font color="#6c0023">Fonts</font></h3>
142 <p>
143 The management of Fonts (<em>fonts</em>) is powered by the package Fontconfig.
144 This package provides tools to add, list and manipulate fonts. The <em>fonts</em>
145 can be installed in user space or at the system level, this means that each user can use his/her own
146 fonts or the adminstrator (<em>root</em>) can install fonts available to all users of the system.
147 If you use USB media associated with SliTaz <a href="http://www.slitaz.org/doc/handbook/livecd.html">LiveCD</a>,
148 you can easily install fonts and retain them the next time you use the cdrom.
149 </p>
150 <h4>Installing <em>fonts</em></h4>
151 <p>
152 At the system level fonts are installed in the directory:
153 <code>/usr/share/fonts</code>, core SliTaz provides TTF Vera fonts,
154 they take up little space and are rendered correctly. In user space fonts are found in the hidden
155 directory: <code>.fonts</code>, this directory should be at the root of user space.
156 To create a home directory to accomodate new fonts, you can use the graphical window manager emelFM2,
157 Clex or use the command line:
158 </p>
159 <pre> $ mkdir ~/.fonts
160 </pre>
161 <p>
162 Once you have installed the fonts you have to run the <code>fc-cache</code> tool to generate
163 configuration files, to ensure that your <em>fonts</em> are available for use in applications:
164 </p>
165 <pre> $ fc-cache
166 </pre>
168 <!-- End of content -->
169 </div>
171 <!-- Footer. -->
172 <div id="footer">
173 <div class="footer-right"></div>
174 <a href="#top">Top of the page</a> |
175 <a href="http://www.slitaz.org/en/doc/handbook/index.html">Table of contents</a>
176 </div>
178 <div id="copy">
179 Copyright © 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
180 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
181 Documentation is under
182 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
183 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
184 </div>
186 </body></html>