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