website diff en/doc/handbook/x-window.html @ rev 442

en,fr: Add tazx to handbook and tiny fix
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 04 23:10:02 2009 +0200 (2009-05-04)
parents ec74ec0a4ebd
children 9b13fc8eeafd
line diff
     1.1 --- a/en/doc/handbook/x-window.html	Thu Mar 26 20:53:37 2009 +0000
     1.2 +++ b/en/doc/handbook/x-window.html	Mon May 04 23:10:02 2009 +0200
     1.3 @@ -32,15 +32,16 @@
     1.4  
     1.5  <ul>
     1.6  	<li><a href="#X11">X Window System.</a></li>
     1.7 +	<li><a href="#tazx">Tazx</a> - SliTaz X configuration tool.</li>
     1.8  	<li><a href="#slim">Slim</a> - Simple Login Manager.</li>
     1.9  	<li><a href="#xorg">Xorg</a> - X server.</li>
    1.10 -	<li><a href="#openbox">Openbox</a> - Window Manager.</li>
    1.11 -	<li><a href="#enlightenment">Enlightenment (e17).</a> - Desktop
    1.12 -	environment.</li>
    1.13 -	<li><a href="#jwm">JWM</a> - Window Manager.</li>
    1.14  	<li><a href="#terminalX">Use Xvesa as X terminal</a> - Launch a
    1.15  	graphical session from a remote machine.</li>
    1.16  	<li><a href="#fonts">Fonts</a> - System Fonts.</li>
    1.17 +	<li><a href="desktop.html">Openbox</a> - Window Manager.</li>
    1.18 +	<li><a href="enlightenment.html">Enlightenment (e17).</a> - Desktop 
    1.19 +	environment.</li>
    1.20 +	<li><a href="jwm.html">JWM</a> - Window Manager.</li>
    1.21  </ul>
    1.22  
    1.23  <a name="X11"></a>
    1.24 @@ -55,6 +56,18 @@
    1.25  as root or as the current user if you start X from the command line.
    1.26  </p>
    1.27  
    1.28 +<a name="tazx"></a>
    1.29 +<h3>Tazx - SliTaz X configuration tool</h3>
    1.30 +<p>
    1.31 +Tazx is the configuration tool to manage your X window sessions on a 
    1.32 +SliTaz box. Simply select a value and press OK. You can also select a 
    1.33 +(Xorg) session by selecting a video driver best suited to your hardware.
    1.34 +After you first run 'startx', the configuration is saved in the executable 
    1.35 +files ~/.xsession and ~/.xinitrc. These files are then used to start a 
    1.36 +X session with 'startx' or via the Slim login manager. Note that these 
    1.37 +files can be edited with a text editor.
    1.38 +</p>
    1.39 +
    1.40  <a name="slim"></a>
    1.41  <h3>Slim - Simple Login Manager</h3>
    1.42  <p>
    1.43 @@ -118,18 +131,21 @@
    1.44  the <code>alt-ctrl-del</code> buttons. You should now be in console mode. Now you need to run Xorg with the
    1.45  <code>-configure</code> option and copy the newly generated file to <code>/etc/X11</code>: 
    1.46  </p>
    1.47 -<pre> # Xorg -configure
    1.48 +<pre> 
    1.49 + # Xorg -configure
    1.50   # cp /root/xorg.conf.new /etc/X11/xorg.conf
    1.51  </pre>
    1.52  <p>
    1.53 -Finally you then change the configuration of Slim to use Xorg instead of Xvesa and restart the window manager.
    1.54 +Finally you then change the configuration of Slim to use Xorg instead of Xvesa 
    1.55 +and restart the window manager.
    1.56  </p>
    1.57  <h4>Using Xorg with Slim</h4>
    1.58  <p>
    1.59  In the Slim configuration file (<code>/etc/slim.conf</code>), we need to comment out
    1.60  (<code>#</code>) the lines pertaining to Xvesa and change Xorg to the <code>default_xserver</code>:
    1.61  </p>
    1.62 -<pre class="script">default_xserver     /usr/bin/Xorg
    1.63 +<pre class="script">
    1.64 +default_xserver     /usr/bin/Xorg
    1.65  #default_xserver     /usr/bin/Xvesa
    1.66  #xserver_arguments   -ac -shadow dpms +extension Composite -screen 1024x768x24
    1.67  </pre>
    1.68 @@ -137,7 +153,8 @@
    1.69  Now we can start Slim to return us to an X server session. 
    1.70  Slim works likes a daemon, it can be stopped or started from the console:
    1.71  </p>
    1.72 -<pre> # /etc/init.d/slim start
    1.73 +<pre> 
    1.74 + # /etc/init.d/slim start
    1.75  </pre>
    1.76  <h4>xorg.conf - Configuration file</h4>
    1.77  <p>
    1.78 @@ -151,7 +168,8 @@
    1.79  <p>
    1.80  Keyboard (en):
    1.81  </p>
    1.82 -<pre class="script">Section "InputDevice"
    1.83 +<pre class="script">
    1.84 +Section "InputDevice"
    1.85  	Identifier  "Keyboard0"
    1.86  	Driver      "kbd"
    1.87  	Option      "XkbRules"	"xorg"
    1.88 @@ -163,7 +181,8 @@
    1.89  <p>
    1.90  Mice with auto detection protocol:
    1.91  </p>
    1.92 -<pre class="script">Section "InputDevice"
    1.93 +<pre class="script">
    1.94 +Section "InputDevice"
    1.95  	Identifier  "Mouse0"
    1.96  	Driver      "mouse"
    1.97  	Option	    "Protocol" "auto"
    1.98 @@ -174,70 +193,12 @@
    1.99  <p>
   1.100  Composite extensions:
   1.101  </p>
   1.102 -<pre class="script">Section "Extensions"
   1.103 +<pre class="script">
   1.104 +Section "Extensions"
   1.105  	Option      "Composite" "1"
   1.106  EndSection
   1.107  </pre>
   1.108  
   1.109 -<a name="openbox"></a>
   1.110 -<h3>Openbox</h3>
   1.111 -<p>
   1.112 -Openbox is a lightweight window manager that can be configured using the obconf 
   1.113 -utility. You can use the configuration file <code>menu.xml</code> found 
   1.114 -in <code>~/.config/openbox</code> to edit menu items. Here's an example using 
   1.115 -Htop:
   1.116 -</p>
   1.117 -<pre class="script">&lt;item label="Htop"&gt;
   1.118 -  &lt;action name="Execute"&gt;&lt;command&gt;xterm -e htop&lt;/command&gt;&lt;/action&gt;
   1.119 -&lt;/item&gt;
   1.120 -</pre>
   1.121 -<p>
   1.122 -More information can be found on the 
   1.123 -<a href="http://icculus.org/openbox/index.php/Help:Menus">openbox</a> site.
   1.124 -</p>
   1.125 -
   1.126 -<a name="enlightenment"></a>
   1.127 -<h3>Enlightenment (e17)</h3>
   1.128 -<p>
   1.129 -Enlightenment aka e17 is a lightweight and fast desktop environment that can be
   1.130 -configured graphically. To install e17:
   1.131 -</p>
   1.132 -<pre> # tazpkg get-install enlightenment
   1.133 -</pre>
   1.134 -<p>
   1.135 -Logout your current X session, type <code>F1</code> at Slim login and choose
   1.136 -<code>e17</code> to start Enlightenment.
   1.137 -</p>
   1.138 -<p>
   1.139 -Additional themes can be found on the <a href="http://www1.get-e.org/Themes/E17/">website</a>.
   1.140 -</p>
   1.141 -
   1.142 -<a name="jwm"></a>
   1.143 -<h3>JWM - Window manager</h3>
   1.144 -<p>
   1.145 -JWM (Joe's Window Manger) is a lightweight Window Manager, easy to use, fast,
   1.146 -stable and insanely configurable. The menu and theme can all be changed from a 
   1.147 -single configuration file found in your home directory: <code>~/.jwmrc</code>,
   1.148 -the file uses XML syntax and the code is nicely colored if you use Geany to 
   1.149 -edit it. To install jwm:
   1.150 -</p>
   1.151 -<pre> # tazpkg get-install jwm
   1.152 -</pre>
   1.153 -<p>
   1.154 -To add an entry in the menu you can use the following example:
   1.155 -</p>
   1.156 -<pre class="script"> &lt;Program icon="kino.png" label="Kino (Video Editor)"&gt;kino&lt;/Program&gt;
   1.157 -</pre>
   1.158 -<p>
   1.159 -Logout your current X session, type <code>F1</code> at Slim login and choose
   1.160 -<code>jwm</code> to start JWM. To make JWM your default Window
   1.161 -Manager, just type: <code>tazx jwm</code>.
   1.162 -</p>
   1.163 -<p>
   1.164 -Information on configuring JWM can be found on the
   1.165 -<a href="http://www.joewing.net/programs/jwm/config.shtml">website</a>.
   1.166 -</p>
   1.167 -
   1.168  <a name="terminalX"></a>
   1.169  <h3>Use Xvesa as X terminal</h3>
   1.170  <p>