website annotate en/doc/handbook/x-window.html @ rev 16

Add install instruction + Slim default user setting
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 07 14:10:16 2008 +0200 (2008-04-07)
parents 50e15b2b22ac
children 7194d2ac8f55
rev   line source
pankso@7 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
pankso@7 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
pankso@7 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
pankso@7 4 <head>
pankso@7 5 <title>SliTaz Handbook (en) - X Window System</title>
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" />
pankso@16 11 <meta name="author" content="Christophe Lincoln, Paul Issot"/>
pankso@7 12 <link rel="shortcut icon" href="favicon.ico" />
pankso@7 13 <link rel="stylesheet" type="text/css" href="book.css" />
pankso@7 14 </head>
pankso@7 15 <body bgcolor="#ffffff">
pankso@7 16
pankso@7 17 <!-- Header and quick navigation -->
pankso@7 18 <div id="header">
pankso@7 19 <div align="right" id="quicknav">
pankso@7 20 <a name="top"></a>
pankso@7 21 <a href="gen-livecd.html">Generate a LiveCD flavor</a> |
pankso@7 22 <a href="index.html">Table of contents</a>
pankso@7 23 </div>
pankso@7 24 <h1><font color="#3E1220">SliTaz Handbook (en)</font></h1>
pankso@7 25 </div>
pankso@7 26
pankso@7 27 <!-- Content. -->
pankso@7 28 <div id="content">
pankso@7 29 <div class="content-right"></div>
pankso@7 30
pankso@7 31 <h2><font color="#DF8F06">X Window System</font></h2>
pankso@7 32
pankso@7 33 <ul>
pankso@7 34 <li><a href="#X11">X Window System</a></li>
pankso@16 35 <li><a href="#slim">Slim</a> - Simple Login Manager</li>
pankso@16 36 <li><a href="#jwm">JWM</a> - Window Manager</li>
pankso@16 37 <li><a href="#enlightenment">Enlightenment (e17)</a> - Desktop
pankso@16 38 environement.</li>
pankso@16 39 <li><a href="#openbox">Openbox</a> - Window Manager.</li>
pankso@7 40 </ul>
pankso@7 41
pankso@7 42 <a name="X11"></a>
pankso@7 43 <h3>X11 - X Window System</h3>
pankso@7 44 <p>
pankso@7 45 The X Window System or X11 provides a window manager running on
pankso@7 46 top of a X server. SliTaz uses by default the lightweight X server called
pankso@7 47 <code>Xvesa</code> from the Xorg project (<a href="http://www.x.org/">www.x.org</a>).
pankso@7 48 Xvesa can be started with the Slim login manager or directly from a Linux console
pankso@7 49 with the command <code>startx</code>, but for this you must first disable the
pankso@7 50 Login Manager. To reconfigure your X session you can use <code>tazx</code>
pankso@7 51 as root or as the current user if you start X from the command line.
pankso@7 52 </p>
pankso@7 53
pankso@7 54 <a name="slim"></a>
pankso@7 55 <h3>Slim - Simple Login Manager</h3>
pankso@7 56 <p>
pankso@7 57 Slim is a lightweight session manager that is very easy to configure and is
pankso@7 58 customizable using system themes. The configuration file is found in
pankso@7 59 <code>/etc/slim.conf</code>, it defines window managers available via the
pankso@7 60 <code>F1</code> key, the default user or theme and the X window system parameters.
pankso@7 61 Slim offers special users commands like <code>console</code> to help manage
pankso@7 62 the session.
pankso@7 63 </p>
pankso@7 64 <p>
pankso@7 65 In LiveCD mode you can disable Slim with the boot option <code>screen=text</code>.
pankso@7 66 On an installed system you can remove the package or delete slim from the
pankso@7 67 <code>RUN_DAEMONS</code> variable in <code>/etc/rcS.conf</code>.
pankso@7 68 </p>
pankso@7 69 <p>
pankso@7 70 More details and themes can be found on the
pankso@7 71 <a href="http://slim.berlios.de">website.</a>
pankso@7 72 </p>
pankso@16 73 <h4>Default user</h4>
pankso@16 74 <p>
pankso@16 75 Slim offer a way to pre-load a user login name, by defaut hacker is configured
pankso@16 76 for convenience. You can change this by editing Slim configuration file
pankso@16 77 <code>/etc/slim.conf</code> and modifiy the line <code>default_user</code> or
pankso@16 78 leave the line blank to avoid pre-loading user name. Example:
pankso@16 79 </p>
pankso@16 80 <pre class="script">
pankso@16 81 default_user hacker
pankso@16 82 </pre>
pankso@7 83
pankso@7 84 <a name="jwm"></a>
pankso@7 85 <h3>JWM - Window manager</h3>
pankso@7 86 <p>
pankso@7 87 JWM (Joe's Window Manger) is a lightweight Window Manager, easy to use, fast,
pankso@7 88 stable and insanely configurable. The menu and theme can all be changed from a
pankso@7 89 single configuration file found in your home directory: <code>~/.jwmrc</code>,
pankso@7 90 the file uses XML syntax and the code is nicely colored if you use Geany to
pankso@7 91 edit it. To add an entry in the menu you can use the following example:
pankso@7 92 </p>
pankso@7 93 <pre class="script">
pankso@7 94 &lt;Program icon="kino.png" label="Kino (Video Editor)"&gt;kino&lt;/Program&gt;
pankso@7 95 </pre>
pankso@7 96 <p>
pankso@7 97 The <a href="http://www.joewing.net/programs/jwm/config.shtml">JWM Web site</a>
pankso@7 98 has got more information on how to configure the application to your needs
pankso@7 99 and preferences.
pankso@7 100 </p>
pankso@7 101
pankso@7 102 <a name="enlightenment"></a>
pankso@7 103 <h3>Enlightenment (e17)</h3>
pankso@7 104 <p>
pankso@7 105 Enlightenment aka e17 is a lightweight and fast desktop environment that can be
pankso@7 106 configured graphically. To install e17:
pankso@7 107 </p>
pankso@16 108 <pre>
pankso@16 109 # tazpkg get-install enlightenment
pankso@7 110 </pre>
pankso@7 111 <p>
pankso@7 112 Logout your current X session, type <code>F1</code> at Slim login and choose
pankso@7 113 <code>e17</code> to start Enlightenment.
pankso@7 114 </p>
pankso@7 115
pankso@7 116 <a name="openbox"></a>
pankso@7 117 <h3>Openbox</h3>
pankso@7 118 <p>
pankso@7 119 Openbox is a lightweight window manager than can be configured using the obconf
pankso@7 120 utility. To install openbox:
pankso@7 121 </p>
pankso@16 122 <pre>
pankso@16 123 # tazpkg get-install openbox
pankso@16 124 # tazpkg get-install obconf
pankso@7 125 </pre>
pankso@7 126 <p>
pankso@7 127 Logout your current X session, type <code>F1</code> at Slim login and choose
pankso@7 128 <code>openbox</code> to start Openbox. To make Openbox your default Window
pankso@7 129 Manager just type: <code>tazx openbox</code>.
pankso@7 130 </p>
pankso@7 131 <p>
pankso@7 132 Note: you can also use the configuration file <code>menu.xml</code> found
pankso@7 133 in <code>/etc/xdg/openbox</code> to edit menu items. Here's an example using
pankso@7 134 Htop:
pankso@7 135 </p>
pankso@7 136 <pre class="script">
pankso@7 137 &lt;item label="Htop"&gt;
pankso@7 138 &lt;action name="Execute"&gt;&lt;command&gt;xterm -e htop&lt;/command&gt;&lt;/action&gt;
pankso@7 139 &lt;/item&gt;
pankso@7 140 </pre>
pankso@7 141 <p>
pankso@7 142 More information can be found on the
pankso@7 143 <a href="http://icculus.org/openbox/index.php/Help:Menus">openbox</a> site.
pankso@7 144 </p>
pankso@7 145
pankso@7 146 <!-- End of content -->
pankso@7 147 </div>
pankso@7 148
pankso@7 149 <!-- Footer. -->
pankso@7 150 <div id="footer">
pankso@7 151 <div class="footer-right"></div>
pankso@7 152 <a href="#top">Top of the page</a> |
pankso@7 153 <a href="index.html">Table of contents</a>
pankso@7 154 </div>
pankso@7 155
pankso@7 156 <div id="copy">
pankso@7 157 Copyright &copy; 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
pankso@7 158 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
pankso@7 159 Documentation is under
pankso@7 160 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
pankso@7 161 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
pankso@7 162 </div>
pankso@7 163
pankso@7 164 </body>
pankso@7 165 </html>
pankso@7 166