website diff en/doc/scratchbook/x-window-system.html @ rev 1344

Resize balinor logo to 120px
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 22 23:02:15 2021 +0100 (2021-01-22)
parents c2f9d5d0f314
children
line diff
     1.1 --- a/en/doc/scratchbook/x-window-system.html	Thu Mar 29 01:59:45 2012 +0300
     1.2 +++ b/en/doc/scratchbook/x-window-system.html	Fri Jan 22 23:02:15 2021 +0100
     1.3 @@ -1,23 +1,22 @@
     1.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     1.5 -    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     1.7 +<!DOCTYPE html>
     1.8 +<html lang="en">
     1.9  <head>
    1.10 -    <title>SliTaz Scratchbook - X Window System</title>
    1.11 -    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    1.12 -    <meta name="description" content="" />
    1.13 -    <meta name="expires" content="never" />
    1.14 -    <meta name="modified" content="2008-11-22 17:00:00" />
    1.15 -    <meta name="publisher" content="www.slitaz.org" />
    1.16 -    <meta name="author" content="Christophe Lincoln"/>
    1.17 -    <link rel="shortcut icon" href="favicon.ico" />
    1.18 -    <link rel="stylesheet" type="text/css" href="book.css" />
    1.19 +	<meta charset="UTF-8">
    1.20 +	<title>SliTaz Scratchbook - X Window System</title>
    1.21 +	<meta name="description" content="">
    1.22 +	<meta name="expires" content="never">
    1.23 +	<meta name="modified" content="2008-11-22 17:00:00">
    1.24 +	<meta name="publisher" content="www.slitaz.org">
    1.25 +	<meta name="author" content="Christophe Lincoln">
    1.26 +	<link rel="shortcut icon" href="favicon.ico">
    1.27 +	<link rel="stylesheet" href="book.css">
    1.28  </head>
    1.29 -<body bgcolor="#ffffff">
    1.30 +<body>
    1.31  
    1.32  <!-- Header and quick navigation -->
    1.33  <div id="header">
    1.34  <div id="quicknav" align="right">
    1.35 -	<a name="top"></a>
    1.36 +	<span id="top"></span>
    1.37  	<a href="boot-scripts.html">Boot scripts</a> |
    1.38  	<a href="index.html">Table of contents</a> |
    1.39  	<a href="gtk-libs.html">GTK+ libs</a>
    1.40 @@ -50,8 +49,8 @@
    1.41      <li><a href="#links">links-2.1pre29</a> - Graphical and text web browser.</li>
    1.42      <li><a href="#initramfs-iso">Generate the initramfs and an ISO image.</a></li>
    1.43  </ul>
    1.44 -<a name="about"></a>
    1.45 -<h3><font color="#6c0023">About</font></h3>
    1.46 +
    1.47 +<h3 id="about">About</h3>
    1.48  <p>
    1.49  This chapter describes the installation and configuration of the X window system on SliTaz. We will 
    1.50  install libraries for expat, XML, fonts, a graphical server (Xvesa), a terminal emulator (xterm), 
    1.51 @@ -68,8 +67,8 @@
    1.52  </p>
    1.53  <pre> # echo $fs
    1.54  </pre>
    1.55 -<a name="expat"></a>
    1.56 -<h3><font color="#6c0023">expat-2.0.0 - XML parser library</font></h3>
    1.57 +
    1.58 +<h3 id="expat">expat-2.0.0 - XML parser library</h3>
    1.59  <p>
    1.60  Expat (<a href="http://expat.sourceforge.net/">http://expat.sourceforge.net/</a>)
    1.61  contains the XML parsing libraries:
    1.62 @@ -86,8 +85,8 @@
    1.63   # strip -v _pkg/usr/bin/*
    1.64  </pre>
    1.65  <p>
    1.66 -Thereafter, we will install 'xterm' which needs libexpat.so.0, simply create a symbolic link and voil&agrave;. 
    1.67 -Then you can install the 'xmlwf' application and libraries in the rootfs:
    1.68 +Thereafter, we will install ‘xterm’ which needs libexpat.so.0, simply create a symbolic link and voilà.
    1.69 +Then you can install the ‘xmlwf’ application and libraries in the rootfs:
    1.70  </p>
    1.71  <pre> # cd _pkg/usr/lib
    1.72   # ln -s libexpat.so.1.5.0 libexpat.so.0
    1.73 @@ -102,8 +101,8 @@
    1.74          libc.so.6 =&gt; /lib/tls/libc.so.6 (0x40041000)
    1.75          /lib/ld-linux.so.2 =&gt; /lib/ld-linux.so.2 (0x40000000)
    1.76  </pre>
    1.77 -<a name="freetype"></a>
    1.78 -<h3><font color="#6c0023">freetype-2.3.1 - System font libraries</font></h3>
    1.79 +
    1.80 +<h3 id="freetype">freetype-2.3.1 - System font libraries</h3>
    1.81  <p>
    1.82  The package freetype (<a href="http://www.freetype.org/">http://www.freetype.org/</a>) 
    1.83  contains libraries used by X for configuring the system fonts:
    1.84 @@ -120,8 +119,8 @@
    1.85   # cp -a _pkg/usr/bin/* $fs/usr/bin
    1.86   # cp -a _pkg/usr/lib/*.so* $fs/usr/lib
    1.87  </pre>
    1.88 -<a name="fontconfig"></a>
    1.89 -<h3><font color="#6c0023">fontconfig-2.4.2 - Manage system fonts</font></h3>
    1.90 +
    1.91 +<h3 id="fontconfig">fontconfig-2.4.2 - Manage system fonts</h3>
    1.92  <p>
    1.93  The fontconfig package (<a href="http://www.fontconfig.org/wiki/">www.fontconfig.org/wiki/</a>) 
    1.94  provides the libfontconfig library used by many programs under X. Note XFree86 also provides these 
    1.95 @@ -144,7 +143,7 @@
    1.96  </pre>
    1.97  <h4>libs</h4>
    1.98  <p>
    1.99 -A 'ldd' on fc-cache gives the libraries below. You can also use libfreetype of XFree86:
   1.100 +A ‘ldd’ on fc-cache gives the libraries below. You can also use libfreetype of XFree86:
   1.101  </p>
   1.102  <pre class="script">        libfreetype.so.6 =&gt; /usr/lib/libfreetype.so.6 (0xb7f12000)
   1.103          libz.so.1 =&gt; /usr/lib/libz.so.1 (0xb7eff000)
   1.104 @@ -153,8 +152,8 @@
   1.105          libc.so.6 =&gt; /lib/tls/libc.so.6 (0xb7d7b000)
   1.106          /lib/ld-linux.so.2 =&gt; /lib/ld-linux.so.2 (0xb7f8c000)
   1.107  </pre>
   1.108 -<a name="xserver"></a>
   1.109 -<h3><font color="#6c0023">Xserver - Graphical Xvesa server of Xfree86</font></h3>
   1.110 +
   1.111 +<h3 id="xserver">Xserver - Graphical Xvesa server of Xfree86</h3>
   1.112  <p>
   1.113  We will use the binary versions of Xvesa server (<a href="http://www.xfree86.org/">www.xfree86.org/</a>) 
   1.114  and fonts distributed by Xfree86.org. We could also copy Xorg libraries from the host system that would 
   1.115 @@ -216,7 +215,7 @@
   1.116  </pre>
   1.117  <p>
   1.118  Fontconfig configuration files can be found in /etc/fonts provided by the fontconfig package. 
   1.119 -Now you can run 'fc-cache' to update the cache, and 'fc-list' for a list of fonts. You do this 
   1.120 +Now you can run ‘fc-cache’ to update the cache, and ‘fc-list’ for a list of fonts. You do this
   1.121  by chrooting into the rootfs:
   1.122  </p>
   1.123  <pre> # chroot $fs /bin/ash
   1.124 @@ -241,8 +240,8 @@
   1.125  </p>
   1.126  <pre> # Xvesa -ac -shadow -screen 1024x768x24 -query 192.168.0.2
   1.127  </pre>
   1.128 -<a name="xterm"></a>
   1.129 -<h3><font color="#6c0023">xterm - Terminal Emulator</font></h3>
   1.130 +
   1.131 +<h3 id="xterm">xterm - Terminal Emulator</h3>
   1.132  <p>
   1.133  The xterm package (<a href="http://invisible-island.net/xterm/">invisible-island.net/xterm/</a>) 
   1.134  provides a terminal emulator for X:
   1.135 @@ -284,8 +283,8 @@
   1.136      libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7aff000)
   1.137      libXpm.so.4 =&gt; /usr/lib/libXpm.so.4 (0xb7aee000)
   1.138  </pre>
   1.139 -<a name="libpng"></a>
   1.140 -<h3><font color="#6c0023">libpng-1.2.18 - PNG Libraries</font></h3>
   1.141 +
   1.142 +<h3 id="libpng">libpng-1.2.18 - PNG Libraries</h3>
   1.143  <p>
   1.144  PNG libraries (<a href="http://libpng.org/pub/png/libpng.html">http://libpng.org/pub/png/libpng.html</a>) 
   1.145  are used to manipulate and format PNG images:
   1.146 @@ -301,8 +300,8 @@
   1.147   # cp -a _pkg/usr/lib/libpng12.so* $fs/usr/lib
   1.148   # cp -a _pkg/usr/bin/libpng12* $fs/usr/bin
   1.149  </pre>
   1.150 -<a name="jwm"></a>
   1.151 -<h3><font color="#6c0023">jwm-2.0 - Window manager</font></h3>
   1.152 +
   1.153 +<h3 id="jwm">jwm-2.0 - Window manager</h3>
   1.154  <p>
   1.155  Joe's Window Manager (<a href="http://www.joewing.net/programs/jwm/">http://www.joewing.net/programs/jwm/</a>) 
   1.156  is an ultra light and friendly window manager. This is the default SliTaz window manager. The main configuration 
   1.157 @@ -348,8 +347,8 @@
   1.158  </pre>
   1.159  <h4>On SliTaz</h4>
   1.160  <p>
   1.161 -SliTaz uses the ~/.Xsession file to start a graphical session. The 'startx' command checks 
   1.162 -whether the file exists or it runs 'tazx' to configure the X system. The user guide on X 
   1.163 +SliTaz uses the ~/.Xsession file to start a graphical session. The ‘startx’ command checks 
   1.164 +whether the file exists or it runs ‘tazx’ to configure the X system. The user guide on X
   1.165  window is located in: /usr/share/doc/slitaz/user-guide/x-window.html or is on the website:
   1.166  </p>
   1.167  <p>
   1.168 @@ -361,8 +360,8 @@
   1.169  </p>
   1.170  <pre> # Xvesa -ac -shadow -screen 800x600x24 &amp; exec jwm
   1.171  </pre>
   1.172 -<a name="jpeg"></a>
   1.173 -<h3><font color="#6c0023">jpeg-6b - JPEG Libraries</font></h3>
   1.174 +
   1.175 +<h3 id="jpeg">jpeg-6b - JPEG Libraries</h3>
   1.176  <p>
   1.177  Libraries handling JPEG images, and some small utilities:
   1.178  </p>
   1.179 @@ -376,8 +375,8 @@
   1.180   # cp -a .libs/*.so* $fs/usr/lib
   1.181   # cp .libs/{cjpeg,djpeg,jpegtran} $fs/usr/bin
   1.182  </pre>
   1.183 -<a name="tiff"></a>
   1.184 -<h3><font color="#6c0023">tiff-3.8.2 - TIFF Libraries and Utilities</font></h3>
   1.185 +
   1.186 +<h3 id="tiff">tiff-3.8.2 - TIFF Libraries and Utilities</h3>
   1.187  <p>
   1.188  Libraries handling TIFF images and some small optional utilities:
   1.189  </p>
   1.190 @@ -394,8 +393,8 @@
   1.191  <p>
   1.192  You can install the utilities you want.
   1.193  </p>
   1.194 -<a name="links"></a>
   1.195 -<h3><font color="#6c0023">links-2.1pre29 - Graphical and text mode web browser</font></h3>
   1.196 +
   1.197 +<h3 id="links">links-2.1pre29 - Graphical and text mode web browser</h3>
   1.198  <p>
   1.199  Links (<a href="http://links.twibright.com/">links.twibright.com</a>) is a web browser offering 
   1.200  graphical and text modes. It is translated into multiple languages, including French:
   1.201 @@ -425,12 +424,12 @@
   1.202      libXdmcp.so.6 =&gt; /usr/lib/libXdmcp.so.6 (0xb7c36000)
   1.203      /lib/ld-linux.so.2 (0xb7f5d000)
   1.204  </pre>
   1.205 -<a name="initramfs-iso"></a>
   1.206 -<h3><font color="#6c0023">Generate the initramfs and an ISO image</font></h3>
   1.207 +
   1.208 +<h3 id="initramfs-iso">Generate the initramfs and an ISO image</h3>
   1.209  <p>
   1.210 -To create a new ISO image, you can use 'mktaziso' in 
   1.211 -<a href="http://doc.slitaz.org/en:cookbook:slitaztools">SliTaz tools</a> .  
   1.212 -Or you can create a new initramfs image, copy it to /boot in the root of the cdrom
   1.213 +To create a new ISO image, you can use ‘mktaziso’ in
   1.214 +<a href="http://doc.slitaz.org/en:cookbook:slitaztools">SliTaz tools</a>.
   1.215 +Or you can create a new initramfs image, copy it to /boot in the root of the CD-ROM
   1.216  (rootcd) and finally generate an ISO image with genisoimage:
   1.217  </p>
   1.218  <pre> # cd $fs