slitaz-doc-wiki-data rev 7

Add pages/en folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 26 12:17:18 2011 +0000 (2011-02-26)
parents a779af7ea2b8
children 1f841d2f2191
files pages/en/cookbook/advancedhg.txt pages/en/cookbook/bootscripts.txt pages/en/cookbook/buildbot.txt pages/en/cookbook/buildhost.txt pages/en/cookbook/devcorner.txt pages/en/cookbook/receipt.txt pages/en/cookbook/releasetasks.txt pages/en/cookbook/rootcd.txt pages/en/cookbook/slitaztools.txt pages/en/cookbook/start.txt pages/en/cookbook/wok.txt pages/en/devnotes/ash-benchmarks.txt pages/en/devnotes/cook-flavor-from-scratch.txt pages/en/devnotes/new-tazwok-illustrated.txt pages/en/devnotes/prepare-experimental.txt pages/en/devnotes/start.txt pages/en/devnotes/xorgserver-contrib.txt pages/en/devnotes/xorgserver-user.txt pages/en/forum/start.txt pages/en/guides/alsaequal.txt pages/en/guides/bluetooth.txt pages/en/guides/boottime.txt pages/en/guides/bugs.txt pages/en/guides/chroot.txt pages/en/guides/conspy.txt pages/en/guides/contributor.txt pages/en/guides/cpu-frequency.txt pages/en/guides/cricket-a600.txt pages/en/guides/dialup.txt pages/en/guides/dvd.txt pages/en/guides/faq-dependency.txt pages/en/guides/faq-login.txt pages/en/guides/faq-pkgconv.txt pages/en/guides/faq-programfailstorun.txt pages/en/guides/faq-terminal.txt pages/en/guides/faq.txt pages/en/guides/flash.txt pages/en/guides/frugal.txt pages/en/guides/kernel.txt pages/en/guides/liveusb.txt pages/en/guides/lowramcd.txt pages/en/guides/manyinone.txt pages/en/guides/midori.txt pages/en/guides/modem.txt pages/en/guides/netstart.txt pages/en/guides/network-script.txt pages/en/guides/nvidia.txt pages/en/guides/playground.txt pages/en/guides/powermgmt.txt pages/en/guides/printer.txt pages/en/guides/pxe.txt pages/en/guides/qemu.txt pages/en/guides/remotedesktop.txt pages/en/guides/sdcard.txt pages/en/guides/sexydesktop.txt pages/en/guides/start.txt pages/en/guides/tazwoktips.txt pages/en/guides/testingapps.txt pages/en/guides/tor.txt pages/en/guides/uncommoninst.txt pages/en/guides/virtualbox.txt pages/en/guides/vmware.txt pages/en/guides/vpn.txt pages/en/guides/wicd.txt pages/en/guides/wifi-easy.txt pages/en/guides/wifi-hard.txt pages/en/guides/xorg-xvesa.txt pages/en/handbook/accessibility.txt pages/en/handbook/chroot.txt pages/en/handbook/commands.txt pages/en/handbook/desktop.txt pages/en/handbook/development.txt pages/en/handbook/genlivecd.txt pages/en/handbook/graphics.txt pages/en/handbook/hacklivecd.txt pages/en/handbook/installation.txt pages/en/handbook/internet.txt pages/en/handbook/livecd.txt pages/en/handbook/liveusb.txt pages/en/handbook/multimedia.txt pages/en/handbook/netstart.txt pages/en/handbook/networkconf.txt pages/en/handbook/office.txt pages/en/handbook/packages.txt pages/en/handbook/security.txt pages/en/handbook/server-apps.txt pages/en/handbook/ssh.txt pages/en/handbook/start.txt pages/en/handbook/systemtools.txt pages/en/handbook/systemutils.txt pages/en/handbook/utilities.txt pages/en/handbook/webserver.txt pages/en/handbook/wm.txt pages/en/handbook/xwindow.txt pages/en/newsletter/oldissues.txt pages/en/newsletter/oldissues/14.txt pages/en/newsletter/oldissues/15.txt pages/en/newsletter/oldissues/16.txt pages/en/newsletter/oldissues/17.txt pages/en/newsletter/oldissues/18.txt pages/en/newsletter/oldissues/19.txt pages/en/newsletter/oldissues/20.txt pages/en/newsletter/oldissues/21.txt pages/en/newsletter/start.txt pages/en/references/start.txt pages/en/scratchbook/start.txt pages/en/start.txt pages/en/terms/a.txt pages/en/terms/c.txt pages/en/terms/d.txt pages/en/terms/f.txt pages/en/terms/i.txt pages/en/terms/l.txt pages/en/terms/p.txt pages/en/terms/q.txt pages/en/terms/r.txt pages/en/terms/s.txt pages/en/terms/t.txt pages/en/terms/w.txt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pages/en/cookbook/advancedhg.txt	Sat Feb 26 12:17:18 2011 +0000
     1.3 @@ -0,0 +1,127 @@
     1.4 +====== Advanced usage of Mercurial ======
     1.5 +
     1.6 +==== Use an external tool to merge ====
     1.7 +
     1.8 +If you want to use tools presented on this page, MQ particularly has a tool to manage merges (when several commits overwrite each other and you have to edit the result manually) which will probably be useful to you. SliTaz proposes Meld, a light software that can do that well. After installation, tell  Mercurial to use it if necessary by putting it in your ~/.hgrc:
     1.9 +
    1.10 +<code>
    1.11 +[ui]
    1.12 +merge = meld
    1.13 +</code>
    1.14 +
    1.15 +==== Useful extensions ====
    1.16 +
    1.17 +To add an extension, you can use the ~/.hgrc file:
    1.18 +<code>
    1.19 +[extensions]
    1.20 +name = adress
    1.21 +</code>
    1.22 +Some extensions are packed within Mercurial, so it's not necessary to give them addressess. It's the case of the four following:
    1.23 +
    1.24 +**color**
    1.25 +Add color in Mercurial. Useful when displaying differences between several versions of a file.
    1.26 +
    1.27 +**hgext.fetch**
    1.28 +Add the command hg fetch, which regroups hg pull && hg merge && hg update.
    1.29 +
    1.30 +**hgext.graphlog**
    1.31 +Add the command glog, which displays the revision tree along with the log. It's advised to limit the length of the log with option -l (i.e.: -l 10). Option -p displays the detail of differences introduced at each commit.
    1.32 +
    1.33 +**mq**
    1.34 +This tool is explained in detail below. It allows you to manage a patch-list for a Mercurial repository: apply them, unapply, update, etc. This extension adds several commands which generally start with 'q'. Some webpages detail this tool, search: mercurial mq.
    1.35 +
    1.36 +
    1.37 +==== Basic functionality of MQ ====
    1.38 +In a mercurial repository, create a patch repository with a controlled revision; it's a repository of patches into which the changes can be committed using Mercurial, like a repository within a repository:
    1.39 +<code>hg qinit -c</code>
    1.40 +
    1.41 +Après avoir procédé à des modifications, les enregistrer en temps que patch plutôt que les commiter :
    1.42 +After modifications, save them as a patch instead of committing them:
    1.43 +<code>hg qnew nom_du_patch</code>
    1.44 +
    1.45 +List applied/unapplied patches:
    1.46 +<code>hg qseries -v</code>
    1.47 +
    1.48 +Add changes to the current patch (the last one applied):
    1.49 +<code>hg qrefresh</code>
    1.50 +
    1.51 +Apply the next patch from the queue:
    1.52 +<code>hg qpush</code>
    1.53 +
    1.54 +Apply all patches:
    1.55 +<code>hg qpush -a</code>
    1.56 +
    1.57 +Unapply current patch:
    1.58 +<code>hg qpop</code>
    1.59 +
    1.60 +Unapply all patches:
    1.61 +<code>hg qpop -a</code>
    1.62 +
    1.63 +Go to a given patch in the queue:
    1.64 +<code>hg qgoto patch</code>
    1.65 +
    1.66 +Add a message to the current patch (before committing it):
    1.67 +<code>hg qrefresh -m "Message"</code>
    1.68 +
    1.69 +Transform a patch into a commit:
    1.70 +<code>hg qfinish patch</code>
    1.71 +
    1.72 +Commit changes made in the patch repository:
    1.73 +<code>hg qcommit -m "Message de commit"</code>
    1.74 +
    1.75 +Note: Patches are saved into .hg/patches. The file .hg/patches/series can be manually edited to change the application order of the patches; but take care if several patches have the same target file: it can create problems.
    1.76 +
    1.77 +==== MQ & Merge ====
    1.78 +
    1.79 +**General idea**
    1.80 +
    1.81 +Patches can be updated using the merge tool of Mercurial: it's easier than editing them manually. To do this, it's necessary to have two heads in the repository. One being the repository with patches applied ontop; the other the repository with the new commits/updates/etc:
    1.82 +
    1.83 +<code>
    1.84 +o New repository revision
    1.85 +|
    1.86 +|
    1.87 +| o Patches
    1.88 +| |
    1.89 +| /
    1.90 +|
    1.91 +o Repository before patch application
    1.92 +</code>
    1.93 +
    1.94 +The patches branch will next be merged into the new branch and MQ will use the merge function from Mercurial to update the patches. Please note that using an external merge tool (such as meld proposed previously) is highly recommended.
    1.95 +
    1.96 +Create the head patches:
    1.97 +<code>
    1.98 +qpush -a
    1.99 +hg tags  # Remember/Note the number of the revision qparent
   1.100 +qsave -e -c # Save the status of the patches, this save will be used during the merge. (Remember/Note the number at the end of patches.N; it's generally 1)
   1.101 +</code>
   1.102 +
   1.103 +Create the new head:
   1.104 +<code>
   1.105 +hg update -C <N°qparent> # Go to the revision noted before.
   1.106 +
   1.107 +# Next, do what you planned to:
   1.108 +# Update:
   1.109 +hg pull -u
   1.110 +# Commit new changes, make the modifications then:
   1.111 +hg commit -m "message"
   1.112 +# Edit a patch:
   1.113 +hg qgoto patch # Then do the modifications and:
   1.114 +hg qrefresh</code>
   1.115 +
   1.116 +To launch the merge:
   1.117 +<code>hg qpush -a -m</code>
   1.118 +
   1.119 +Clean the repository:
   1.120 +<code>
   1.121 +hg qpop -a
   1.122 +hg qpop -a -n patches.N
   1.123 +rm -r .hg/patches.N
   1.124 +</code>
   1.125 +
   1.126 +Save the changes made into the patch repository:
   1.127 +<code>hg qcommit -m "Updated to match rev???"</code>
   1.128 +
   1.129 +Re-apply the patch queue:
   1.130 +<code>hg qpush -a</code>
   1.131 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pages/en/cookbook/bootscripts.txt	Sat Feb 26 12:17:18 2011 +0000
     2.3 @@ -0,0 +1,89 @@
     2.4 +====== Boot scripts ======
     2.5 +
     2.6 +The startup and shutdown scripts with their configuration files.
     2.7 +
     2.8 +    * SliTaz and startup.
     2.9 +    * /etc/init.d/* - Directory of scripts and daemons.
    2.10 +    * /etc/init.d/rcS - Primary initialization script.
    2.11 +    * Specific scripts and daemons - Scripts and daemons with a very specific task.
    2.12 +    * /etc/inittab - Configuration file init.
    2.13 +
    2.14 +===== SliTaz and startup =====
    2.15 +
    2.16 +SliTaz does not use a level of execution (runlevel), the system is initialized via a primary script and its main configuration file. This script itself launches some other smaller scripts which deal with the internationalization or any commands placed for the system to start.
    2.17 +
    2.18 +===== /etc/init.d/* - Directory of scripts/daemons =====
    2.19 +
    2.20 +The directory ///etc/init.d// contains all of the rc scripts, scripts finishing with '.sh' are simple shell scripts and daemons such as 'dropbear' or 'lighttpd' are scripts that launch a service. The daemon scripts can start, stop or restart through the command:
    2.21 +
    2.22 +<code> # /etc/init.d/daemon [start|stop|restart] </code>
    2.23 +
    2.24 +On SliTaz you will find a ///etc/init.d/README// describing the basic function of rc scripts. Also note that all startup scripts and daemons can call upon the /etc/init.d/rc.functions file. This file makes it possible to include various functions in rc scripts. For example, SliTaz uses a function //status// to check whether the previous command has succeeded (0) or not.
    2.25 +
    2.26 +===== /etc/init.d/rcS - Primary initialization script =====
    2.27 +
    2.28 +The ///etc/init.d/rcS// script configures all the basic services and initializes the base system. It begins by mounting the filesystems and starts services like syslogd, klogd, mdev and cleans up the system and so on. It uses the configuration file ///etc/rcS.conf// to locate which daemons and scripts to launch at startup. You can browse the script to learn which commands are executed:
    2.29 +
    2.30 +<code> # nano rootfs/etc/init.d/rcS </code>
    2.31 +
    2.32 +===== Specific scripts and daemons ======
    2.33 +
    2.34 +=== bootopts.sh - LiveCD mode options ===
    2.35 +
    2.36 +This script is used to configure the LiveCD options passed at boot time and is readable via the ///proc/cmdline// file. This is the script that enables you to use a USB key or external hard disk ///home// partition with the option //home=usb// or //home=sda[1-9]//. Note that it can also directly specify the language and keyboard parameters.
    2.37 +
    2.38 +=== network.sh - Initializing the network ===
    2.39 +
    2.40 +This script searches the network.sh configuration file ///etc/network.conf// for the network interface to use; if one wants to launch the DHCP client (or not) or if you want to use a fixed (static) IP. On SliTaz the ///etc/init.d/network.sh// script configures the network interfaces to start using the information contained in ///etc/network.conf//. If the variable $DHCP is equal to yes, then the ///etc/init.d/network.sh// script launches the DHCP client on the $INTERFACE interface.
    2.41 +
    2.42 +=== i18n.sh - Internationalization ===
    2.43 +
    2.44 +SliTaz backs up the configuration of the default locale in ///etc/locale.conf// which is read by ///etc/profile// at each login. The ///etc/locale.conf// is generated during boot time thanks to the ///etc/i18n.sh// script. This script launches the 'tazlocale' application if ///etc/locale.conf// doesn't exist. We use the same process for the keyboard layout using 'tazkmap' and the ///etc/kmap.conf// configuration file. Both applications are installed and located in ///sbin// and use dialog and the ncurses library. The script also checks whether the configuration file for the time zone ///etc/TZ// exists, otherwise it creates one relying on the keyboard configuration.
    2.45 +
    2.46 +=== local.sh - Local commands ===
    2.47 +
    2.48 +The ///etc/init.d/local.sh// script allows the system administrator to add local commands to be executed at boot. Example:
    2.49 +
    2.50 +<file>
    2.51 +#!/bin/sh
    2.52 +# /etc/init.d/local.sh: Local startup commands.
    2.53 +# All commands here will be executed at boot time.
    2.54 +#
    2.55 +. /etc/init.d/rc.functions
    2.56 +
    2.57 +echo "Starting local startup commands... "
    2.58 +</file>
    2.59 +
    2.60 +=== wpa_action.sh - Wireless network ===
    2.61 +
    2.62 +This script is applied by //network.sh// to start/restart the DHCP server if you use a dynamic IP.
    2.63 +
    2.64 +=== rc.shutdown ===
    2.65 +
    2.66 +This script is invoked by ///etc/inittab// during system shutdown. It also stops all daemons via the variable RUN_DAEMONS in the primary ///etc/rcS.conf// configuration file. 
    2.67 +
    2.68 +===== /etc/inittab - Configuration file init ======
    2.69 +
    2.70 +The first file read by the Kernel at boot. It defines the initialization script (///etc/init.d/rcS//), virtual terminals (ttys) and actions in the event of a reboot or disruption. You will find a complete example with accompanying notes in [[en:cookbook:slitaztools|SliTaz tools]]:
    2.71 +
    2.72 +<file>
    2.73 +# /etc/inittab: init configuration for SliTaz GNU/Linux.
    2.74 +# Boot-time system configuration/initialization script.
    2.75 +#
    2.76 +::sysinit:/etc/init.d/rcS
    2.77 +
    2.78 +# /sbin/getty respawn shell invocations for selected ttys.
    2.79 +tty1::respawn:/sbin/getty 38400 tty1
    2.80 +tty2::respawn:/sbin/getty 38400 tty2
    2.81 +tty3::respawn:/sbin/getty 38400 tty3
    2.82 +tty4::respawn:/sbin/getty 38400 tty4
    2.83 +tty5::respawn:/sbin/getty 38400 tty5
    2.84 +tty6::respawn:/sbin/getty 38400 tty6
    2.85 +
    2.86 +# Stuff to do when restarting the init 
    2.87 +# process, or before rebooting.
    2.88 +::restart:/etc/init.d/rc.shutdown
    2.89 +::restart:/sbin/init
    2.90 +::ctrlaltdel:/sbin/reboot
    2.91 +::shutdown:/etc/init.d/rc.shutdown
    2.92 +</file>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pages/en/cookbook/buildbot.txt	Sat Feb 26 12:17:18 2011 +0000
     3.3 @@ -0,0 +1,59 @@
     3.4 +====== Build Bot (tazbb) ======
     3.5 +
     3.6 +The goal of Tazbb is to automate, test and report packages built inside a wok. Run tazbb usage for the list of available commands with a short description. The Status of the Tank Build Bot via a Tazbb web interface is at bb.slitaz.org and for collaboration, use the [[http://labs.slitaz.org/wiki/distro/Tazbb|Tazbb Wiki]]. 
     3.7 +
     3.8 +===== How it works =====
     3.9 +
    3.10 +Tazbb can be run by a cron job and checks the last commit done by contributors and then cooks the modified packages. Runnning 'tazbb cook-commit' will just rebuild the last modified packages. To rebuild all missing, modified or unbuilt packages you must use the 'tazbb cook-all' command.
    3.11 +
    3.12 +Generating a report will source all the receipts in the wok and check if a package file exists, if not we add the package name to the current cooklist. For existing packages we compare all the files' dates in the Hg wok (receipt, stuff) against the package.tazpkg file date, if it differs we add the package to the cooklist.
    3.13 +
    3.14 +Tazbb must also look in the chroot wok to check if the package is already built, (there should be a taz/ directory), if not we log it and add it also to the cooklist. All packages are cooked with a 'script'. Logs for cooked packages are stored in $LOG_DIR and a link exists for the web interface so that developers can easily check for bugs.
    3.15 +
    3.16 +When run with the option 'cook' - Tazbb will also remove old and corrupted packages and then execute <nowiki> 'tazwok genlist --text' </nowiki> to rebuild all the packages lists. To work properly, the Tazwok and Tazbb configured paths must match. The Tazbb system wide configuration file is: ///etc/slitaz/tazbb.conf//
    3.17 +
    3.18 +===== Commands =====
    3.19 +
    3.20 +Tazbb can be installed on your machine and run manually from the command line - just type 'tazbb usage' for a list of available functions. Tazbb can be run in report mode and made to display more information with the //<nowiki>'--verbose'</nowiki>// option.
    3.21 +
    3.22 +===== Hg and chroot Wok =====
    3.23 +
    3.24 +Tazbb uses 2 woks: a clean Hg wok and a wok to build packages in a chroot environment. Each time Tazbb is called; the Hg wok is updated and copied to the build wok, so we avoid messing with build results and can also manually modify receipts or patches directly without affecting the main Hg. If configured correctly 'tazdev update-wok' can also update the Hg wok and copy files.
    3.25 +
    3.26 +===== Log files =====
    3.27 +
    3.28 +Tazbb uses existing tools such as tazwok to build packages, but generates its own log files and has its own database stored in a text file. The log files are available through the web interface and the default path for the files is: ///var/log/tazbb//
    3.29 +
    3.30 +===== Web interface =====
    3.31 +
    3.32 +Tazbb logs all its activity to log files and a cooklist. This information can be displayed through a nice web interface so developers can have a quick overview of the last build results. The Tazbb package provides a PHP web interface, CSS stylesheets and images installed by default in ///var/lib/tazbb/web//. A symlink is created in ///var/www/vhosts// by a package, it provides easy access to the generated log files through a virtual host or you can use: http://localhost/vhosts/bb
    3.33 +
    3.34 +===== Hg hook =====
    3.35 +
    3.36 +Mercurial offers a powerful mechanism to perform automated actions in response to events that occur in a repository. The name Mercurial uses for one of these actions is a hook. So Tazbb can be run each time a commit is done in the wok through a simple hook in the .hgrc file of the repository. Example:
    3.37 +
    3.38 +<file>
    3.39 +[hooks]
    3.40 +commit = tazbb cook-commit
    3.41 +</file>
    3.42 +
    3.43 +===== Cron Job =====
    3.44 +
    3.45 +Tazbb can also be run by a cron tab, so each new commit in the wok will cook the correct package any time you want. Cron can also be used to refresh the report or run a full cook. If the last cook is not yet finished or if tazbb has been run by hand (and is still running), it will exit due to a lock file in ///var/lock//. Example of a cron job to 'tazbb cook commit' every 2 hours and cook all missing, modified or unbuilt packages each night:
    3.46 +
    3.47 +<file>
    3.48 +*/2 * * * * /usr/bin/tazbb cook-commit
    3.49 +03 02 * * * /usr/bin/tazbb cook-all
    3.50 +</file>
    3.51 +
    3.52 +===== Database Files =====
    3.53 +
    3.54 +    * blocked : List of blocked packages
    3.55 +    * cooklist : Current or next cooklist
    3.56 +    * corrupted : Corrupted packages list
    3.57 +    * packaged : All packages from the build wok
    3.58 +    * removed : Last removed packages
    3.59 +    * report : Last report from check_{wok,commit}
    3.60 +    * running : Current task running
    3.61 +    * summary : Last summary for the web interface
    3.62 +    * unbuilt : List of unbuilt packages
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/pages/en/cookbook/buildhost.txt	Sat Feb 26 12:17:18 2011 +0000
     4.3 @@ -0,0 +1,89 @@
     4.4 +====== SliTaz Build Host (tank) ======
     4.5 +
     4.6 +SliTaz build host info and howto. 
     4.7 +
     4.8 +===== Folders in: /home/slitaz =====
     4.9 +
    4.10 +    * cooking/ - Cooking chroot and flavors.
    4.11 +    * stable/ - Stable tree.
    4.12 +    * repos/ - All the project repos (where the commits are pushed).
    4.13 +    * www/ - Virtual hosts (website, hg, boot, people, etc).
    4.14 +
    4.15 +===== Using tazdev =====
    4.16 +
    4.17 +To help maintain the mirror, flavors and other services, the tazdev command is used. It is mostly configured for the cooking version. Usage:
    4.18 +
    4.19 +<code>
    4.20 + $ tazdev usage
    4.21 +</code>
    4.22 +
    4.23 +===== Cooking undigest packages =====
    4.24 +
    4.25 +You can use the undigest wok in the chroot environment to cook some non supported packages. If you maintain official packages and they cook successfully on tank, then you can test on your local machine and commit in the official wok. Mirror maintainers will then rebuild and upload the packages on mirror.slitaz.org.
    4.26 +
    4.27 +To build packages in the undigest wok and in the chroot environment: commands are sometimes better than a long text:
    4.28 +
    4.29 +<code>
    4.30 + $ ln -s /home/slitaz/cooking/chroot/home/undigest .
    4.31 +</code>
    4.32 +
    4.33 +You can copy files with gFTP-sftp-scp directly into the wok or from the current directory:
    4.34 +
    4.35 +<code>
    4.36 + $ cp -a package undigest/wok
    4.37 + $ su -c "tazdev chroot"
    4.38 + /# cd home/undigest
    4.39 + /# tazwok cook package
    4.40 + /# exit
    4.41 + $ ls undigest/packages
    4.42 +</code>
    4.43 +
    4.44 +===== Cooking official packages =====
    4.45 +
    4.46 +Maintainers have root access and some have write access to the main mirror at mirror.slitaz.org, if you want to help in this task please contact one of the active developers (check hg repos).
    4.47 +
    4.48 +Everything is cooked in a chroot environment, the default path for the build wok is $CHROOT/home/slitaz/wok. Some changes can be made directly in this wok: the real Hg is copied into the chroot by tazbb (Build Bot). To chroot in cooking:
    4.49 +
    4.50 +<code>
    4.51 + # tazdev chroot
    4.52 +</code>
    4.53 +
    4.54 +Cook all the last commited packages or cook everything with 'cook-all', note that comparison it not required if you know which packages to cook. If you want to force the cooking of some of the packages by tazbb, you can then clean with tazwok. By default tazbb cooks only the last commit:
    4.55 +
    4.56 +<code>
    4.57 + /# tazbb cook-commit
    4.58 +</code>
    4.59 +
    4.60 +If needed (tazbb does this automatically), you can remove all the old packages and then rebuild the lists manually:
    4.61 +
    4.62 +<code>
    4.63 + /# tazbb clean-up
    4.64 + /# tazwok gen-list --text
    4.65 + /# exit
    4.66 +</code>
    4.67 +
    4.68 +If you have write access to the mirror, you can make a dry-push to check and then upload; push will also remove any old packages on the mirror.
    4.69 +
    4.70 +===== Stable packages =====
    4.71 +
    4.72 +Packages for the stable release are also built in a chroot environment like the Cooking packages:
    4.73 +
    4.74 +<code>
    4.75 + # tazdev chroot stable
    4.76 +</code>
    4.77 +
    4.78 +===== Upload by hand on mirror.slitaz.org =====
    4.79 +
    4.80 +Mirror maintainers can upload by hand with tazdev (-dp for a dry push):
    4.81 +
    4.82 +<code>
    4.83 + # tazdev -p $USER
    4.84 +</code>
    4.85 +
    4.86 +===== Update website by hand ======
    4.87 +
    4.88 +The Website and packages web interface are updated nightly by cron and can also be updated by hand (used on the day of release for example):
    4.89 +
    4.90 +<code>
    4.91 + # tazdev update-www
    4.92 +</code>
    4.93 \ No newline at end of file
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/pages/en/cookbook/devcorner.txt	Sat Feb 26 12:17:18 2011 +0000
     5.3 @@ -0,0 +1,182 @@
     5.4 +====== Developer's Corner ======
     5.5 +
     5.6 +SliTaz is an open source and community driven distribution. Everyone is welcome to join and contribute, from users, to hackers and developers, there is always something to do, i.e. proof-reading or writing documentation, sending bugs or patches to the [[http://www.slitaz.org/en/mailing-list.html|Mailing List]], gaining access to the wok and pushing some new packages or simply to help others on the [[http://www.slitaz.org/en/mailing-list.html|Mailing List]] or [[http://forum.slitaz.org/|forum]]. SliTaz has got [[http://hg.slitaz.org/|Mercurial repositories]] hosted on a SliTaz system. Developers can ask for a new repo if needed and contributors have write access to correct typos, scripts, etc. 
     5.7 +
     5.8 +SliTaz is a tiny community and listens to its users. There are several developers who are active on the [[http://forum.slitaz.org/|forum]] and the [[http://www.slitaz.org/en/mailing-list.html|Mailing List]]. 
     5.9 +
    5.10 +For artists there is a dedicated [[http://community.slitaz.org/image|website]] -- simply create an account and post your graphics or pictures. The site is managed by the community. If you want to lend a hand to administer the site, please contact a contributor or e-mail the discussion list.
    5.11 +
    5.12 +\\
    5.13 +
    5.14 +===== KISS & Comply to Standards =====
    5.15 +
    5.16 +  * First and foremost: keep it simple!
    5.17 +  * Follow the most reliable standards in coding, documenting and all other areas of development.
    5.18 +  * Carefully draft and write high quality documentation, including summarising complicated sections or processes, as well as detailed and informative tutorials.
    5.19 +  * Provide a stable and robust system, and aim to keep the rootfs on the LiveCD light enough to run on machines with as little as 128 MB RAM.
    5.20 +  * Use the range of tools available where possible; there is GTK+2, Dialog, SHell scripts and even PHP coding tools on the distribution and these are instantly available to everyone.
    5.21 +  * The idea is to think small and not to duplicate.
    5.22 +
    5.23 +\\
    5.24 +
    5.25 +===== Tank - Build Host & Home =====
    5.26 +
    5.27 +Each contributor may have an account on the project server with secure access, disk space, a public directory and all development tools. Developers can compile packages and maintainers of the mirror can handle synchronization. [[http://tank.slitaz.org|Tank]] also hosts the website, web boot and mercurial repositories.  
    5.28 +
    5.29 +[[en:cookbook:buildhost|Instructions]] on using the build host are described in the Cookbook.
    5.30 +
    5.31 +\\
    5.32 +
    5.33 +===== SliTaz Packages =====
    5.34 +
    5.35 +The TazPkg packages in SliTaz are automatically created via TazWok and a receipt in the wok. The Cookbook [[en:cookbook:wok|describes]] the use of tools and the format of [[en:cookbook:receipt|receipts]]. These are required reading before creating SliTaz packages!
    5.36 +
    5.37 +In terms of package selection, the idea is to offer a package by task or functionality, i.e. the lightest application in the field and not to provide another just on preference. Note that the current packages are not immutable, if you find an alternative that is lighter, with more features or more sexy for a few extra KB, you can suggest it on the [[http://www.slitaz.org/en/mailing-list.html|Mailing List]]. Particular attention is given to packages for the LiveCD, these should be stripped, removing unnecessary dependencies and compiler options. In general candidate packages for the core LiveCD are discussed on the [[http://www.slitaz.org/en/mailing-list.html|Mailing List]]. 
    5.38 +
    5.39 +Before you begin to compile and create packages for SliTaz, be sure that the work doesn't already exist in the [[http://hg.slitaz.org/wok-undigest/|undigest wok]]. Don't forget that the members of the mailing list are there to help you and that the documentation of the [[en:cookbook:wok|wok and tools]] exists to help you get started. 
    5.40 +
    5.41 +\\
    5.42 +
    5.43 +===== Naming of Packages =====
    5.44 +
    5.45 +In most cases the package name is the same as the source, except for Python, Perl, PHP, Ruby and Lua modules. For example, the package providing a //Kid// template system written in Python and XML is named: //python-kid//.
    5.46 +
    5.47 +\\
    5.48 +
    5.49 +===== Mercurial Repositories =====
    5.50 +
    5.51 +Mercurial, or Hg, repos can be browsed or cloned by anyone using the URL: [[http://hg.slitaz.org/|hg.slitaz.org]]. People with write access can directly use [[http://repos.slitaz.org/|repos.slitaz.org]] which requires authentication. Mercurial uses Python and is installable with:
    5.52 +
    5.53 +<code>
    5.54 + # tazpkg get-install mercurial
    5.55 +</code> 
    5.56 +
    5.57 +\\
    5.58 +
    5.59 +=== ~/.hgrc ===
    5.60 +
    5.61 +Before you push your first commit onto the server, be sure that you have a correct Hg configuration file with your name and email address, and remember to check that you are not root. Personal ~/.hgrc file example: 
    5.62 +
    5.63 +<file>
    5.64 +[ui]
    5.65 +username = FirstName LastName <you@example.org>
    5.66 +</file>
    5.67 +
    5.68 +\\
    5.69 +
    5.70 +=== Clone, Modify, Commit, Push ===
    5.71 +
    5.72 +<note important>You must be in the repository to be able to use 'hg' commands.</note>
    5.73 +
    5.74 +  * Clone a repo, example for wok: 
    5.75 +
    5.76 +   $ hg clone http://repos.slitaz.org/wok
    5.77 +
    5.78 +  * Check all logs, or just the last log:  
    5.79 +
    5.80 +   $ hg log
    5.81 +   $ hg head
    5.82 +
    5.83 +  * Add or modify one or more files and commit:
    5.84 +
    5.85 +   $ hg add
    5.86 +   $ hg status
    5.87 +   $ hg commit -m "Log message..."
    5.88 +   $ hg log
    5.89 +
    5.90 +<note tip>You can use the command //rollback// to roll back to the last transaction.</note>
    5.91 +
    5.92 +  * Before pushing changes to the server, it is safe to pull once:
    5.93 +
    5.94 +   $ hg pull
    5.95 +   $ hg push
    5.96 +
    5.97 +Done! Your changes, code or corrections are now on the server. 
    5.98 +
    5.99 +\\
   5.100 +
   5.101 +=== Updating a Local Wok ===
   5.102 +
   5.103 +To update your working directory with the changes that others have since committed to the server (//pull// the changes):
   5.104 +
   5.105 +   $ hg pull
   5.106 +   $ hg update
   5.107 +
   5.108 +\\
   5.109 +
   5.110 +=== Useful Commands ===
   5.111 +
   5.112 +There are a number of commands that you may find useful:
   5.113 +  * **hg help** -- Display the full list of commands.
   5.114 +  * **hg rollback** -- Undo the last action performed (commit, pull, push).
   5.115 +  * **hg log //<package>//** -- Display a package log.
   5.116 +  * **hg head** -- Display the last log.
   5.117 +
   5.118 +\\
   5.119 +
   5.120 +===== Implementation of iconv() =====
   5.121 +
   5.122 +SliTaz uses iconv() provided by GNU glibc - any packages that offer libiconv must use the library contained in glibc-locale. There is therefore no longer a libiconv package (1.2 MB) in SliTaz. 
   5.123 +
   5.124 +\\
   5.125 +
   5.126 +===== Website Management and Books =====
   5.127 +
   5.128 +The website and books (Handbook and Cookbook) are managed via a Mercurial repository, they can be cloned by: 
   5.129 +
   5.130 +   $ hg clone http://hg.slitaz.org/website
   5.131 +
   5.132 +Or if you have the proper permissions:
   5.133 +
   5.134 +   $ hg clone http://repos.slitaz.org/website
   5.135 +
   5.136 +\\
   5.137 +
   5.138 +===== xHTML Coding Style =====
   5.139 +
   5.140 +The website must have a consistent look-and-feel; this is also used in the wiki pages and local documentation. To achieve this:
   5.141 +
   5.142 +  * The pages and books are written in xHTML 1.0 Transitional.
   5.143 +
   5.144 +  * The colours for the body and the titles are placed directly on the page so the links are easy to follow.
   5.145 +    *  The title, a Level 1 heading, is used only once (at the top);
   5.146 +    *  Level 2 is the title of the document;
   5.147 +    *  Levels 3 and 4 are then used for the subtitles.
   5.148 +
   5.149 +  * If a list is used instead with smart anchors, it starts at the top just after the title of level 2.
   5.150 +
   5.151 +  * Paragraphs are always contained in <p> tags.
   5.152 +
   5.153 +  * For indentation, we use tabs. The reasons being semantics and to take up less space in terms of octets (bytes).
   5.154 +
   5.155 +  * To put code, like the name of a command inside a paragraph, <code> tags is the preferred method.
   5.156 +
   5.157 +  * Commands and terminal output are displayed with <pre> tags -- example:
   5.158 +
   5.159 +   $ command
   5.160 +
   5.161 +  * To view text that can be copied and pasted, such as scripts, bits of code, sample configuration files etc., use <pre> tags but with a CSS class named "script". Example: 
   5.162 +
   5.163 +<file>
   5.164 +<pre class="script">
   5.165 +code...
   5.166 +</pre>
   5.167 +</file>
   5.168 +
   5.169 +  * To emphasize words, use <em> tags.
   5.170 +
   5.171 +  * Internal links are relative.
   5.172 +
   5.173 +  * Remember to check the validity of the code with the online validator of the W3C.
   5.174 +
   5.175 +\\
   5.176 +
   5.177 +===== The diff and patch Commands =====
   5.178 +
   5.179 +The utilities //diff// and //patch// are command-line tools for creating and implementing a file containing differences between two files. This technique is often used for collaboration and the changes made to the original file can be clearly extracted. To create a diff file readable by humans in a simple text editor, you must supply the -u option: 
   5.180 +
   5.181 +   $ diff -u file.orig file.new > file.diff
   5.182 +
   5.183 +To apply a patch:
   5.184 +
   5.185 +   $ patch file.orig file.diff
   5.186 \ No newline at end of file
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/pages/en/cookbook/receipt.txt	Sat Feb 26 12:17:18 2011 +0000
     6.3 @@ -0,0 +1,158 @@
     6.4 +======= Recipes ======
     6.5 +
     6.6 +
     6.7 +This document describes the opportunities offered by the recipes used by Tazwok to compile and generate packages for SliTaz and Tazpkg through The wok and tools. The recipe for a package is also used by Tazpkg to install/uninstall and provide information about a .tazpkg package. Each recipe begins with a comment in English:
     6.8 +
     6.9 +<file># SliTaz package receipt </file>
    6.10 +
    6.11 +===== Variables =====
    6.12 +
    6.13 +
    6.14 +The first 5 variables should always be present and defined. They respectively configure the package ($PACKAGE), its version, its category, provide a short description and the name of the maintainer. Example for the package, file manager Clex:
    6.15 +<file>
    6.16 +PACKAGE="clex"
    6.17 +VERSION="3.16"
    6.18 +CATEGORY="base-apps"
    6.19 +SHORT_DESC="Text mode file manager."
    6.20 +MAINTAINER="pankso@slitaz.org"
    6.21 +</file>
    6.22 +
    6.23 +===== Variables (optional) =====
    6.24 +
    6.25 +
    6.26 +Tazwok also knows how to use various optional variables. It can, for example, use the name of another source package. There are also variables that are used by Tazpkg to manage dependencies or provide information about the package.
    6.27 +
    6.28 +  * **$DEPENDS:** Set dependencies, there may be several dependencies seperated by a space or on several lines. This variable is used mainly by Tazpkg when installing the package and Tazwok to build large packages such as Xorg. Example for Clex which depends on ncurses:
    6.29 +
    6.30 +<file>DEPENDS="ncurses"</file>
    6.31 +
    6.32 +  * **$BUILD_DEPENDS:** Set compilation dependencies, again seperated by a space or several lines. This variable is used by Tazwok during the cooking of a package. Example:
    6.33 +
    6.34 +<file>BUILD_DEPENDS="ncurses-dev"</file>
    6.35 +
    6.36 +  * **$TARBALL :** The archive is a source with the extension (tar.gz, tgz or tar.bz2). In general, the variables $PACKAGE and $VERSION are used to just change the extension, it helps to upgrade the package without changing the $VERSION variable. Generic example (see also $SOURCE example):
    6.37 +
    6.38 +<file>TARBALL="$PACKAGE-$VERSION.tar.gz"</file>
    6.39 +
    6.40 +  * **$WEB_SITE :** The official website of the package. It may be that some libraries have no website, in this case, there is no need to specify a URL. Note Tazwok and Tazpkg both expect to find a URL with the complete HTTP: 
    6.41 +
    6.42 +<file>WEB_SITE="http://www.clex.sk/"</file>
    6.43 +
    6.44 +  * **$WGET_URL :** URL to download the source file. In general the variable $TARBALL should be used to facilitate the updating of the package without changing the $VERSION. Using a configuration file, Tazwok also configures by default 3 mirrors: $GNU_MIRROR for the GNU mirror, $SF_MIRROR for SourceForge and XORG_MIRROR for mirroring the graphical server Xorg. Example for Clex:
    6.45 +
    6.46 +<file>WGET_URL="http://www.clex.sk/download/$TARBALL"</file>
    6.47 +
    6.48 +  * **$CONFIG_FILES :** Some packages provide customized configuration files. The $CONFIG_FILES variable provides a list of these files that can be saved by the 'tazpkg repack-config' command. These files are not overwritten when reinstalling the package if they already exist and the package can be successfully recreated with 'tazpkg repack', (even if they have been modified since). Netatalk for example:
    6.49 +
    6.50 + <file>CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"</file>
    6.51 +
    6.52 +  * **$SUGGESTED :** Lists useful packages without being essential. Also used to activate optional features.
    6.53 +
    6.54 +  * **$WANTED :** SliTaz packages normally depend on the compilation of a source package. Sometimes the recipe of a package requires no compilation of rules, then $WANTED is used to copy files from the source of another package by using the variable $ src.
    6.55 +
    6.56 +  * **$SOURCE :** It may be that the Tazpkg package name differs from the name of the source package. Example for Xorg packages, the name of Tazpkg library X11 is 'xorg-libX11' and the name of the package source is libX11. $SOURCE allows you to use the variables $src and $_pkg during the cooking of a package. It should be noted that in the case of libX11, the name of the source archive becomes $SOURCE-$VERSION.tar.gz.
    6.57 +
    6.58 +  * **$PROVIDE :** Some packages offer the same functionality, for instance the web server was at first lighttpd; now apache is available. All packages dependent on a web server refer to lighttpd. The //PROVIDE="apache"// variable in the apache recipe states that packages dependent on lighttpd do not need to install the lighttpd package if apache is already on the system. Some packages may vary according to the webserver you choose, ie. the php package is dependent on lighttpd, as is php-apache on apache. The //PROVIDE="php:apache"// in the apache recipe says that you must install php-apache instead of php, if apache is already on the system. Therefore each package dependent on php will install either php-apache or php according to the webserver on the system. This variable also chooses packages compiled with different options. The //PROVIDE="epdfview:cups"// in the epdfview-cups recipe allows you to install epdfview with printer support via cups if cups is already on the system. \\
    6.59 +You can also define virtual packages with this variable. The lines //PROVIDE="libgl"// in the mesa package and //PROVIDE="libgl:nvidia"// in the ''nvidia-glx'' package, define that libgl is an optimized version when the nvidia package is installed.
    6.60 +
    6.61 +  * **$SELF_INSTALL :** Certain packages use commands provided by the package itself in the post_install function. To install this package into a directory other than root and still be able to use these commands, the package must have been installed in / in earlier stages. The line: //SELF_INSTALL=1// alerts tazpkg to this feature. 
    6.62 +
    6.63 +===== Variables generated by Tazwok =====
    6.64 +
    6.65 +Certain factors are known only during the cooking of a package or after the package has been cooked. Tazwok will add them to the recipe automatically.
    6.66 +
    6.67 +  * **$PACKED_SIZE :** Tazpkg file size.
    6.68 +
    6.69 +  * **$UNPACKED_SIZE :** Space taken up by the package after installation.
    6.70 +
    6.71 +  * **$EXTRAVERSION :** Some packages have 2 different versions. This is in case of modules added to the Linux kernel, such as squashfs, because the module depends on the version of the kernel with which it was compiled. In this case $EXTRAVERSION contains the kernel version and Tazwok determines the module from the contents of **/lib/modules**.
    6.72 +
    6.73 +===== Variables used in functions =====
    6.74 +
    6.75 +Tazwok configures several variables that facilitate the compilation and construction of Tazpkg packages. These variables are controlled automatically by Tazwok using the information contained in the recipe; they can be used by the functions compile_rules and genpkg_rules described in the chapter Functions.
    6.76 +
    6.77 +  * **$src :** Defines the path to the directory of unarchived sources.
    6.78 +
    6.79 +  * **$_pkg :** Defines the path to the compiled binaries installed via 'make DESTDIR=$PWD/_pkg install'. This variable is used to copy the generated files and create Tazpkg packages.
    6.80 +
    6.81 +  * **$fs :** Defines the path to the pseudo filesystem (fs) in each package. The 'fs' of the package corresponds to the root of the system, a bit like Clex will for example be in $fs/usr/bin/clex. Note the need to create the necessary directories via function genpkg_rules() before copying the files.
    6.82 +
    6.83 +  * **$CONFIGURE_ARGS :** This variable is defined in the Tazwok configuration file (tazwok.conf). It allows you to specify generic optimization arguments during construction of a package. Default is the i486 architecture. 
    6.84 +
    6.85 +===== Functions =====
    6.86 +
    6.87 +A recipe may contain 4 functions. Tazwok knows how to deal with functions containing compilation rules (compile_rules) and rules used to generate a package (genpkg_rules). These functions may contain all sorts of GNU/Linux standard commands, such as sed, awk, patch and variables automatically configured.
    6.88 +
    6.89 +=== compile_rules() ===
    6.90 +
    6.91 +To compile a package you can use the variable $src to move (cd) in the directory of sources and use $CONFIGURE_ARGS to include arguments from the Tazwok configuration file. To build the package you usually launch 'make' without any arguments, and to install the package into the directory _pkg: it's necessary to use the command 'make DESTDIR=$PWD/_pkg install'. Generic example:
    6.92 +
    6.93 +<file>
    6.94 +# Rules to configure and make the package.
    6.95 +compile_rules()
    6.96 +{
    6.97 +	cd $src
    6.98 +	./configure --prefix=/usr --infodir=/usr/share/info \
    6.99 +	--mandir=/usr/share/man $CONFIGURE_ARGS
   6.100 +	make
   6.101 +	make DESTDIR=$PWD/_pkg install
   6.102 +}
   6.103 +</file>
   6.104 +
   6.105 +=== genpkg_rules()===
   6.106 +
   6.107 +To generate a tazkg package we must specify commands in the function genpkg_rules. In this example we create a psuedo directory usr/ in the filesystem of the package, copy the whole binary(s) and finally use strip to clean the files:
   6.108 +
   6.109 +<file>
   6.110 +# Rules to gen a SliTaz package suitable for Tazpkg.
   6.111 +genpkg_rules()
   6.112 +{
   6.113 +	mkdir -p $fs/usr
   6.114 +	cp -a $_pkg/usr/bin $fs/usr
   6.115 +	strip -s $fs/usr/bin/*
   6.116 +}
   6.117 +</file>
   6.118 +
   6.119 +=== pre_install() and post_install()===
   6.120 +
   6.121 +These functions are initiated by Tazpkg when installing the package. They must be defined before generating the .tazpkg package with Tazwok. If no rules are given for these functions, they have no raison d'etre and can be removed. Example using echo to display some text (no function should be empty):
   6.122 +
   6.123 +<file>
   6.124 +# Pre and post install commands for Tazpkg.
   6.125 +pre_install()
   6.126 +{
   6.127 +	echo "Processing pre-install commands..."
   6.128 +}
   6.129 +post_install()
   6.130 +{
   6.131 +	echo "Processing post-install commands..."
   6.132 +}
   6.133 +</file>
   6.134 +
   6.135 +=== pre_remove() and post_remove() ===
   6.136 +
   6.137 +These functions are initiated by Tazpkg when removing the package. They must be defined before generating the .tazpkg package with Tazwok. If no rules are given for these functions, they have no raison d'etre and can be removed. Example using echo to display some text (no function should be empty):
   6.138 +
   6.139 +<file>
   6.140 +# Pre and post remove commands for Tazpkg.
   6.141 +pre_remove()
   6.142 +{
   6.143 +	echo "Processing pre-remove commands..."
   6.144 +}
   6.145 +post_remove()
   6.146 +{
   6.147 +	echo "Processing post-remove commands..."
   6.148 +}
   6.149 +</file>
   6.150 +
   6.151 +=== clean_wok() ===
   6.152 +
   6.153 +This function helps to define additional commands to be run when cleaning the wok, it is useful to delete files or directories that are not supported by Tazwok:
   6.154 +
   6.155 +<file>
   6.156 +# clean commands for Tazwok.
   6.157 +clean_wok()
   6.158 +{
   6.159 +	rm -rf $WOK/$PACKAGE/vim71
   6.160 +}
   6.161 +</file>
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/pages/en/cookbook/releasetasks.txt	Sat Feb 26 12:17:18 2011 +0000
     7.3 @@ -0,0 +1,18 @@
     7.4 +====== Release tasks ======
     7.5 +
     7.6 +Things to do before publishing a new version.
     7.7 +
     7.8 +===== Check list =====
     7.9 +
    7.10 +    * Release version is specified by ///etc/slitaz-release//, this file is controlled by slitaz-base-files. Base files are tagged just before a stable release to change the version string and let Tazpkg use the new packages.
    7.11 +    * Check that the SliTaz version specified in ///etc/issue// message is the same as displayed in isolinux.msg.
    7.12 +    * Add and check that documents and images are in the root of the CD - ie. README, index.html, style.css and the directory of images. All files are in the slitaz-tools archive; just copy the //addfiles/// and regenerate the ISO.
    7.13 +    * Test, test, and test ...
    7.14 +    * Prepare the website announcement and RSS feeds. The Mailing list is used for translation and any text should be submitted 1 or 2 days before release.
    7.15 +
    7.16 +===== Stable documentation =====
    7.17 +
    7.18 +SliTaz stable release provides the release notes on the LiveCD through the package slitaz-doc, the repos are tagged just before release and are archived on the mirror. After the wok has been copied to wok-stable, the docs are back to a cooking cycle and just provide an index with basic information. On the system, docs are located in ///usr/share/doc/slitaz//, a desktop file and icon are provided in the sources package and can be used to have quick access to the documentation.
    7.19 +
    7.20 +    * [[http://hg.slitaz.org/slitaz-doc/ | SliTaz Doc repo]]
    7.21 +    * [[http://labs.slitaz.org/wiki/slitaz-doc | SliTaz Doc on the Labs]]
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/pages/en/cookbook/rootcd.txt	Sat Feb 26 12:17:18 2011 +0000
     8.3 @@ -0,0 +1,115 @@
     8.4 +====== Rootcd ======
     8.5 +
     8.6 +Descriptions of files contained on the cdrom. 
     8.7 +
     8.8 +===== Syslinux/isolinux =====
     8.9 +
    8.10 +Syslinux and the (SliTaz) main bootloader - we use the isolinux version to start the system contained on the CD-ROM. Simple effective and configurable, isolinux was installed during the creation of the base system. The binary is named isolinux.bin and uses the configuration file isolinux.cfg. Here's an example of an isolinux.cfg using isolinux.msg to post the splash image and displayable help files via F1, F2, F3 and F4. You will find the files help.txt, options.txt, etc in [[:en:cookbook:slitaztools|SliTaz tools]].
    8.11 +
    8.12 +<file>
    8.13 +display isolinux.msg
    8.14 +default slitaz
    8.15 +label slitaz
    8.16 +	kernel /boot/bzImage
    8.17 +	append initrd=/boot/rootfs.gz rw root=/dev/null vga=788
    8.18 +implicit 0	
    8.19 +prompt 1	
    8.20 +timeout 80
    8.21 +F1 help.txt
    8.22 +F2 options.txt
    8.23 +F3 isolinux.msg
    8.24 +F4 display.txt
    8.25 +</file>
    8.26 +
    8.27 +===== Isolinux boot splash image =====
    8.28 +
    8.29 +We can configure isolinux to display a splash image when booting SliTaz or any other operating system. This image has a particular format .lss, suitable for Syslinux and must be indexed using the 16 color mode. You can use the official logo, ppmforge, imagemagick, GIMP or other tools to create your image.
    8.30 +
    8.31 +The Syslinux file (//sample/syslogo.lss//) provides an official logo which you can directly use by copying to the root of the CD-ROM. SliTaz provides a logo (//rootcd/boot/isolinux/splash.lss//) which you can find in [[:en:cookbook:slitaztools|SliTaz tools]]. To display a splash image when booting, it's necessary that the 'display' option calls the isolinux.msg file which loads the *.lss format image. Note that the //isolinux.msg// file uses 24 ASCII characters. Example using 'echo' and an isolinux.msg file incorporating a .lss splash image:
    8.32 +
    8.33 +<code> # echo -e "\24isplash.lss\n" > isolinux.msg </code>
    8.34 +
    8.35 +You can also add a text message underneath the splash image by modifying the file with your favorite text editor, echo or cat and so on.
    8.36 +
    8.37 +===== ISO bootable with isolinux =====
    8.38 +
    8.39 +To create a bootable ISO image using isolinux and genisoimage:
    8.40 +
    8.41 +<code>
    8.42 + # genisoimage -R -o slitaz-test.iso -b boot/isolinux/isolinux.bin \
    8.43 +   	-c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
    8.44 +   	-V "SliTaz" -input-charset iso8859-1 -boot-info-table rootcd 
    8.45 +
    8.46 +</code>
    8.47 +
    8.48 +===== GRUB =====
    8.49 +
    8.50 +GRUB (GRand Unified Bootloader) is a bootloader distributed by the GNU project. This is used during installation to a hard drive; it can boot Linux, BSD, HURD and Window$. GRUB provides stage2_eltorito to start the ISO images. To find stage2_eltorito on your system, you need to have the GRUB package installed. Finally you copy stage2_eltorito to the root of the cdrom. Note that SliTaz provides a (.tazpkg) package grub-0.97 that you can find on the mirrors or you can rebuild grub-0.97 from sources. Example using a stage2_eltorito image from a Debian system or SliTaz:
    8.51 +
    8.52 +<code>
    8.53 + # mkdir -p rootcd/boot/grub
    8.54 + # cp /usr/lib/grub/i386-pc/stage2_eltorito \
    8.55 +   	rootcd/boot/grub
    8.56 +</code>
    8.57 +
    8.58 +The GRUB configuration file is called //menu.lst// and can be edited with your favorite text editor. Example:
    8.59 +
    8.60 +<file>
    8.61 +# By default, boot the first entry.
    8.62 +default 0
    8.63 +
    8.64 +# Boot automatically after 20 secs.
    8.65 +timeout 20
    8.66 +
    8.67 +# Change the colors.
    8.68 +color yellow/brown white/black
    8.69 +
    8.70 +title  SliTaz GNU/Linux 1.0 (vga 800x600) (Kernel 2.6.20)
    8.71 +       kernel /boot/bzImage root=/dev/null vga=788
    8.72 +       initrd /boot/rootfs.gz
    8.73 +
    8.74 +title  SliTaz GNU/Linux 1.0 (vga 1024x768) (Kernel 2.6.20)
    8.75 +       kernel /boot/bzImage root=/dev/null vga=771
    8.76 +       initrd /boot/rootfs.gz
    8.77 +</file>
    8.78 +
    8.79 +===== ISO bootable with GRUB =====
    8.80 +
    8.81 +To create a bootable ISO image using GRUB and genisoimage or mkisofs:
    8.82 +
    8.83 +<code>
    8.84 + # genisoimage -R -o slitaz-test.iso -b boot/grub/stage2_eltorito \
    8.85 +   	-no-emul-boot -V "SliTaz" -boot-load-size 4 -input-charset iso8859-1 \
    8.86 +   	-boot-info-table rootcd
    8.87 +</code>
    8.88 +
    8.89 +===== Memtest86 =====
    8.90 +
    8.91 +The application memtest86 is a tool to test random access memory (RAM). We download the utility into the src directory, decompress the archive, and copy the (precompiled) binary:
    8.92 +
    8.93 +<code>
    8.94 + # mkdir -v -p src
    8.95 + # cd src
    8.96 + # wget http://www.memtest86.com/memtest86-3.2.tar.gz
    8.97 + # tar xzfv memtest86-3.2.tar.gz
    8.98 + # cd memtest86-3.2
    8.99 + (# more README)
   8.100 + # cp precomp.bin ../../rootcd/boot/memtest
   8.101 + # cd ../..
   8.102 +</code>
   8.103 +
   8.104 +Once installed, you can add the label for the memtest86 file to isolinux.cfg, specifing the path to the utility:
   8.105 +
   8.106 +<file>
   8.107 +label memtest
   8.108 +	kernel /boot/memtest
   8.109 +</file>
   8.110 +
   8.111 +Or if you want to use GRUB, here's the line to launch memtest86:
   8.112 +
   8.113 +<file>
   8.114 +title 	Memtest86 (Test system memory)
   8.115 +kernel 	/boot/memtest
   8.116 +</file>
   8.117 +
   8.118 +Once the lines are added, you can then create a new ISO and test. 
   8.119 \ No newline at end of file
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/pages/en/cookbook/slitaztools.txt	Sat Feb 26 12:17:18 2011 +0000
     9.3 @@ -0,0 +1,19 @@
     9.4 +====== SliTaz Tools ======
     9.5 +
     9.6 +The SliTaz Toolbox
     9.7 +
     9.8 +    * Mercurial repository.
     9.9 +    * <nowiki>*box </nowiki> - dialog/GTKdialog.
    9.10 +    * Archives source: [[http://download.tuxfamily.org/slitaz/sources/tools/|HTTP]].
    9.11 +
    9.12 +The SliTaz Tools contain useful scripts that enable you to customize SliTaz, such as a script to create a new initramfs or an ISO image, Makefile, etc. They accompany the [[http://doc.slitaz.org/en:scratchbook:start|Scratchbook]] and help the SliTaz developers. The archive is also distributed because it contains files that might be useful to hacker type individuals... The tools are constantly evolving and continue to expand, following the cycle of changes made by the Cooking and Stable versions.
    9.13 +
    9.14 +===== Mercurial repository =====
    9.15 +
    9.16 +The SliTaz Tools have their own Mercurial repository on the SliTaz server, they can be cloned via the command:
    9.17 +
    9.18 +<code> $ hg clone http://hg.slitaz.org/slitaz-tools/ </code>
    9.19 +
    9.20 +===== *box =====
    9.21 +
    9.22 +Mountbox, Netbox, Bootfloopybox, Tazlocale, etc are tools for creating SliTaz using dialog (ncurses) or GTKdialog; the scripts are contained in the directory //tinyutils///. Desktopbox has the ability to be able to launch various boxes (desktopbox usage) scripted or created with Glade3. 
    9.23 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/pages/en/cookbook/start.txt	Sat Feb 26 12:17:18 2011 +0000
    10.3 @@ -0,0 +1,32 @@
    10.4 +====== Cookbook ======
    10.5 +
    10.6 +The Cookbook brings together information about the project management, operation and development of the distribution. It talks about creating packages, receipts, the wok, and scripts that start SliTaz.
    10.7 +
    10.8 +At the base of the Cookbook is the [[en:scratchbook:start|Scratchbook]], this contains instructions to create your own LiveCD by describing the creation of the first ever public version of SliTaz in March 2007. The Cookbook is modified by the SliTaz community and steadily improved, it provides technical instructions about the project useful to developers and advanced users. 
    10.9 +
   10.10 +==== Table of contents ====
   10.11 +
   10.12 +    * [[en:cookbook:devcorner|Developer's Corner]]  - ReadMe page for Developers.
   10.13 +    * [[en:cookbook:receipt|Receipts]]  - Receipts (recipes) for creating (cooking) SliTaz packages.
   10.14 +    * [[en:cookbook:wok|Wok]]  - Creating SliTaz packages from source using Tazwok. (Uses a receipt.)
   10.15 +    * [[en:cookbook:buildbot|Build Bot]] - Automated cooking, testing and reporting of Wok packages.
   10.16 +    * [[en:cookbook:buildhost|Build Host]]  - The SliTaz host.
   10.17 +    * [[en:cookbook:slitaztools|SliTaz Tools]]  - The Toolbox.
   10.18 +    * [[en:cookbook:advancedhg|Advanced usage of Mercurial]] - Add extensions to Mercurial and use MQ.
   10.19 +    * [[en:cookbook:releasetasks|Release Tasks]]  - List of things to do before publishing a new version.
   10.20 +    * [[en:cookbook:bootscripts|Boot Scripts]]  - The start-up and shut-down scripts.
   10.21 +    * [[en:cookbook:rootcd|Root cdrom (rootcd)]]  - Descriptions of files contained on the cdrom.
   10.22 +
   10.23 +---- 
   10.24 +\\
   10.25 +^  Page Review Section  ^^ 
   10.26 +|Quality| Medium  |
   10.27 +|Review| Minor Updates FIXME |
   10.28 +|Priority| Medium |
   10.29 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   10.30 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   10.31 +|How to Improve| Make all pages in cookbook current as of 3.0|
   10.32 +|::: |  |
   10.33 +
   10.34 +\\
   10.35 +----
   10.36 \ No newline at end of file
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/pages/en/cookbook/wok.txt	Sat Feb 26 12:17:18 2011 +0000
    11.3 @@ -0,0 +1,145 @@
    11.4 +====== Wok & Tools ======
    11.5 +
    11.6 +===== Overview =====
    11.7 +
    11.8 +[[http://hg.slitaz.org/tazwok/raw-file/tip/doc/tazwok.en.html|Tazwok]] is used to compile and generate code (cooking) via instructions found in a receipt. It places compiled files in to a directory and calls upon Tazpkg to package said directory. The receipt found in a wok has a different "bottom half" to that of a Tazpkg; Tazwok has rules for compilation //and// packaging (which it forwards to Tazpkg), whereas Tazpkg is only concerned with packaging.
    11.9 +
   11.10 +Tazwok is one of many small utilities the SliTaz project uses to automatically rebuild the distribution from source. The project also offers an archive of [[en:cookbook:slitaztools|tools]] containing various small utilities, examples and configuration files. The distribution generator [[http://hg.slitaz.org/tazwok/raw-file/tip/doc/tazwok.en.html|Tazlito]] is designed for users and developers; it can retrieve and reconstruct a LiveCD ISO image and generate a distribution flavor from a list of packages, a configuration file and a description. The utilities are all distributed as a source archive and are installed by default on SliTaz.
   11.11 +
   11.12 +<note tip>Developers and future contributors can refer to the [[http://doc.slitaz.org/en:cookbook:devcorner|development]] page that provides information on SliTaz project management.</note>
   11.13 +
   11.14 +=== Wok Structure and Organisation ===
   11.15 +
   11.16 +The //wok// is a directory structure that houses all the available packages. Each directory contains at least one receipt to download, unpack, compile and generate a package. Tazwok also needs to create a directory to store downloaded sources (//$SOURCES_REPOSITORY//, usually ///home/slitaz/src//) and a repository of generated packages (//$PACKAGES_REPOSITORY//, usually ///home/slitaz/packages//); these values can be configured in the ///etc/tazwok.conf// file.
   11.17 +
   11.18 +There is more than one Wok on the [[http://hg.slitaz.org|Mercurial repositories]]:
   11.19 +
   11.20 +  *  **wok-undigest**: //contributions awaiting testing/bug-fixing for inclusion in the unstable Wok//
   11.21 +  *  **wok**: //packages for the unstable, Cooking release//
   11.22 +  *  **wok-stable**: //packages for the stable SliTaz release//
   11.23 +
   11.24 +Initially, any contributions will be committed to the //undigest// repository. When the package has seen sufficient testing with regards to automatic generation, it can be moved to the Wok.
   11.25 +
   11.26 +
   11.27 +===== Preparation =====
   11.28 +
   11.29 +The [[en:cookbook:devcorner#mercurial-repositories|Developer's Corner]] provides invaluable background information. Please ensure you have read and understood it before continuing.
   11.30 +
   11.31 +To begin using the Wok, [[http://hg.slitaz.org/tazwok/raw-file/tip/doc/tazwok.en.html|Tazwok]] must already be installed on the system along with the main development tools (binutils, compiler, libraries-dev, make). This requires you to install the meta-package //slitaz-toolchain//:
   11.32 +
   11.33 +<code>
   11.34 + # tazpkg recharge
   11.35 + # tazpkg get-install slitaz-toolchain
   11.36 +</code>
   11.37 +
   11.38 +To access the SliTaz repositories, you will need to install the //mercurial// package:
   11.39 +
   11.40 +<code>
   11.41 + # tazpkg get-install mercurial
   11.42 +</code>
   11.43 +
   11.44 +More information on the use of the Mercurial VCS is available from its [[http://mercurial.selenic.com/|website]] and the "[[http://hgbook.red-bean.com/|Hg Book]]".
   11.45 +
   11.46 +=== Cloning the Wok ===
   11.47 +
   11.48 +If you are to generate a package for inclusion in the SliTaz repositories, it is necessary to first obtain the current wok by using Mercurial. This is called //cloning// the Wok, a procedure that downloads the entire Wok and all its history to a working directory. **If you wish to only use Tazwok to build packages for personal use, this is not necessary.** See the [[#creating-a-personal-wok|Personal Wok]] section below instead.
   11.49 +
   11.50 +The usual destination for a Wok clone is ///home/slitaz/wok//:
   11.51 +
   11.52 +<code>
   11.53 + $ hg clone http://hg.slitaz.org/wok/ /home/slitaz/wok 
   11.54 +</code>
   11.55 +
   11.56 +This download may take some time; you will have a complete directory structure of the [[http://hg.slitaz.org/wok/|Cooking wok]] as a working directory.
   11.57 +
   11.58 +<note important>The Wok is one of many projects hosted in the [[http://hg.slitaz.org|Mercurial repositories]]. Individual packages are grouped as a large project (the Wok, Wok-Stable or Wok-Undigest) and is not its own sub-project but merely a sub-directory; Mercurial cannot (yet) clone specific parts of a project thus you cannot clone an individual package.</note>
   11.59 +
   11.60 +=== Creating a Personal Wok ===
   11.61 +
   11.62 +If your packages are only for personal use and are not intended for inclusion in the SliTaz repositories, a wok can be created from scratch. 
   11.63 +
   11.64 +<code> # tazwok gen-clean-wok </code>
   11.65 +
   11.66 +
   11.67 +===== Compiling and Generating Packages =====
   11.68 +
   11.69 +Before compiling your first package, Tazwok must know where your working directory is. By default the path is ///home/slitaz/wok// but you can change this or rename the wok that you want to download. To view and check Tazwok paths that will be used, and the number of packages in the wok, you can ask Tazwok for statistics:
   11.70 +
   11.71 +<code> # tazwok stats </code>
   11.72 +
   11.73 +The process for generating a SliTaz package from source can be summarised thus: [[http://www.tuxfiles.org/linuxhelp/softinstall.html#s2|configure]], [[http://www.tuxfiles.org/linuxhelp/softinstall.html#s3|compile]] & [[http://linux.die.net/man/1/strip|strip]].
   11.74 +
   11.75 +<note>We do not carry out the '//make install//'-style step ourselves; the built files are not to be installed in the system but left in the output directory (_pkg), ready for packaging.</note>
   11.76 +
   11.77 +When generating your first package, it is advisable to [[http://doc.slitaz.org/en:cookbook:devcorner#kiss-comply-to-standards|keep it simple]] and build your package without changing its receipt or seeking dependencies. M4 is an ideal candidate for your first //cook//:
   11.78 +
   11.79 +<code> # tazwok cook m4 </code>
   11.80 +
   11.81 +When Tazwok has finished building M4, its package is placed in the directory specified by the configuration file (///home/slitaz///packages by default). If all went well, you can install the package on the host system or use it to generate a LiveCD distribution via Tazlito!
   11.82 +
   11.83 +When you are familiar with [[en:cookbook:receipt|receipts]] and the compilation process, you can use the following command to create a new package (and a wok, if you don't have one) before interactively writing its receipt:
   11.84 +
   11.85 +<code> # tazwok new-tree <packageName> --interactive </code>
   11.86 +
   11.87 +Be sure to read the documentation on the options provided by the [[en:cookbook:receipt|receipt]] and the [[en:guides:tazwoktips|Tazwok Tips]] to avoid frustration!
   11.88 +
   11.89 +
   11.90 +=== Cooking Multiple Packages with cook-list ===
   11.91 +
   11.92 +Tazwok can compile several packages with a single command. This is achieved with a //cooking list//, a text file of one package per line. Tazwok can accept a cook-list with the command of the same name; for example, to cook the //mypkgs// cook-list:
   11.93 +
   11.94 +<code> # tazwok cook-list mypkgs.cooklist </code>
   11.95 +
   11.96 +<note tip>There are example lists in ///usr/share/examples/tazwok/cooklists//.</note>
   11.97 +
   11.98 +
   11.99 +===== Package Compilation Options =====
  11.100 +
  11.101 +While you are free to use any options you want, it is necessary to respect the FSH, the documentation in ///usr/share/doc// and follow the FreeDesktop standards (.desktop).
  11.102 +
  11.103 +
  11.104 +=== Package-Specific ===
  11.105 +
  11.106 +Package-specific options are your choice; for example, you can disable support for XML, have smaller binaries for PHP and get rid of libxml2, but in the case of PHP, it's not worth the cost in terms of loss of functionality. If you have any doubts, look at the receipts and compiler options in //compile_rules//. 
  11.107 +
  11.108 +
  11.109 +=== Optimization ===
  11.110 +
  11.111 +The official SliTaz packages are optimized for **i486**, the optimization arguments used to configure are specified in **/etc/tazwok.conf** and can be called via the variable $CONFIGURE_ARGS. If you want to compile a package with different arguments, you can modify the Tazwok configuration file:
  11.112 +
  11.113 +<file>
  11.114 +CONFIGURE_ARGS="--build=i486-pc-linux-gnu --host=i486-pc-linux-gnu"
  11.115 +</file>
  11.116 +
  11.117 +
  11.118 +==== Files to Include/Exclude ====
  11.119 +
  11.120 +Generally, the base packages contain no //man//, //info// or //doc// files, nor static libraries; we have to create them via a package-doc or a package-dev. Note that SliTaz does not intend to use the man or info command so there's no manual or GNU info file. The creation of packages containing docs is really optional. By contrast, writing documentation in the Handbook is more appreciated as it is widely-available and can be updated and improved easily.
  11.121 +
  11.122 +In terms of configuration, the aim is to offer basic configuration files to run the package directly. Special cases exist such as the web server //LightTPD//, for example, where SliTaz supplies configuration files and start-up scripts in ///etc/init.d// (documented in the Handbook). For a new package, you are free to choose its default configuration depending on what you think is best for the end-user. The ///usr/share/examples// directory has example configurations and other kinds of useful information.
  11.123 +
  11.124 +
  11.125 +===== Package Categories =====
  11.126 +
  11.127 +The categories of packages exist only for informational purposes and are not fixed. The idea is to classify packages so that a web page that recovers data in the package receipt, can be generated each night. For the short term, place development packages in 'devel', Xorg in 'x-window' and the variety of new packages in 'extra'
  11.128 +
  11.129 +
  11.130 +===== Structure of a Wok Package =====
  11.131 +
  11.132 +The structure of the packages in the wok should always be respected so that Tazwok can find the correct files and directories. Possible contents of a package (note the directory taz/ is created at time of cooking):
  11.133 +
  11.134 +    * **stuff/** : The material used to configure, compile and generate the package (patch(es), Makefile, pseudo fs, etc);
  11.135 +    * **receipt**: The ever-present [[en:cookbook:receipt|receipt]];
  11.136 +    * //**description.txt** : (optional) The description of the package is included in the final package, copied to its root. Once installed, Tazpkg identifies this file as the description and can display it via //tazpkg desc pkgname//.//
  11.137 +    * //**taz/** : Directory tree containing the package Tazpkg generated, the compressed package is stored in the directory specified by $PACKAGES_REPOSITORY in the Tazwok configuration file.//
  11.138 +
  11.139 +Tazwok will automatically call upon Tazpkg to package the //taz// directory. It also forwards any packaging instructions found in the receipt.
  11.140 +
  11.141 +===== Structure of a Tazpkg =====
  11.142 +
  11.143 +The SliTaz packages are cpio archives containing files and a file-system compressed with gzip:
  11.144 +
  11.145 +    * **fs/**: //Pseudo-file-system containing all the files to install.//
  11.146 +    * **receipt**: //The [[en:cookbook:receipt|receipt]].//
  11.147 +    * **files.list**: //A list of files in the package.//
  11.148 +    * //**description.txt**: The description of the package (optional).//
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/pages/en/devnotes/ash-benchmarks.txt	Sat Feb 26 12:17:18 2011 +0000
    12.3 @@ -0,0 +1,174 @@
    12.4 +Some tips to speed-up scripts... Add yours, and put the better ones on the top of page :)
    12.5 +
    12.6 +==== Sed substitution vs Variable substitution ====
    12.7 +
    12.8 +**Information**
    12.9 +
   12.10 +In some case, both tools can do the same job. As a build-in ash/bash command, variable substitution is a faster.
   12.11 +Note: this is always true - you can compare each type of variable substitution with an equivalent using an external tool.
   12.12 +
   12.13 +**Benchmark**
   12.14 +<code>
   12.15 +$ echo '#!/bin/sh
   12.16 +for i in $(seq 1 1000); do
   12.17 +	echo "slitaz" | sed 's/slitaz/SliTaz/'
   12.18 +done' > /tmp/slow
   12.19 +$ echo '#!/bin/sh
   12.20 +for i in $(seq 1 1000); do
   12.21 +	A=slitaz
   12.22 +	echo "${A/slitaz/SliTaz}"
   12.23 +done' > /tmp/speed
   12.24 +$ chmod +x /tmp/slow /tmp/speed
   12.25 +$ time /tmp/slow
   12.26 +> real	0m 12.40s
   12.27 +$ time /tmp/speed
   12.28 +> real	0m 0.04s
   12.29 +</code>
   12.30 +
   12.31 +==== Group command vs. Sub-process ====
   12.32 +
   12.33 +**Information**
   12.34 +
   12.35 +Group command "{}" group several commands into one (as a function). So, output can be grouped too: "{ com1; com2; } | com3". Sub-process "()" achieve something similar, but create a shell sub-process; which cost a lot more resources. Another difference is that, when you kill an application using CTRL^C, sub-process is killed instead of main application - while CTRL^C on grouped commands kill the application itself. Finally, changing directory or variables into sub-process will not affect main script while it does with grouped commands. Conclusion: always use group command instead of sub-processes, and take care ;D
   12.36 +
   12.37 +//Note:// group command need a newline before closing - or "; }".
   12.38 +
   12.39 +**Benchmark**
   12.40 +<code>
   12.41 +$ echo '#!/bin/sh
   12.42 +for i in $(seq 1 10000); do
   12.43 +	( echo yo )
   12.44 +done' > /tmp/slow
   12.45 +$ echo '#!/bin/sh
   12.46 +for i in $(seq 1 10000); do
   12.47 +	{ echo yo; }
   12.48 +done' > /tmp/speed
   12.49 +$ chmod +x /tmp/slow /tmp/speed
   12.50 +$ time /tmp/slow
   12.51 +> real	0m 5.36s
   12.52 +$ time /tmp/speed
   12.53 +> real	0m 0.23s
   12.54 +</code>
   12.55 +
   12.56 +==== Grep vs Fgrep ====
   12.57 +
   12.58 +**Information**
   12.59 +
   12.60 +fgrep is exactly the same thing that grep if you don't use patterns (^,$,*,etc.). Fgrep is optimized to handle such case, particularly when you look for several different plain patterns. A difference can be found even if you look of only one pattern.
   12.61 +
   12.62 +**Benchmark**
   12.63 +<code>
   12.64 +$ echo -e "line1\nline2\nline3" > /tmp/file
   12.65 +$ echo '#!/bin/sh
   12.66 +for i in $(seq 1 1000); do
   12.67 +	grep 3 /tmp/file
   12.68 +done' > /tmp/slow
   12.69 +$ echo '#!/bin/sh
   12.70 +for i in $(seq 1 1000); do
   12.71 +	fgrep 3 /tmp/file
   12.72 +done' > /tmp/speed
   12.73 +$ chmod +x /tmp/slow /tmp/speed
   12.74 +$ time /tmp/slow
   12.75 +> real	0m 11.87s
   12.76 +$ time /tmp/speed
   12.77 +> real	0m 3.21s
   12.78 +</code>
   12.79 +
   12.80 +==== [ -n "text" ] vs [ "text" ] ====
   12.81 +
   12.82 +**Information**
   12.83 +
   12.84 +The two commands test if "text" exists. Using -n slow the process a little and weight the script a little too.
   12.85 +
   12.86 +**Benchmark**
   12.87 +<code>
   12.88 +$ echo '#!/bin/sh
   12.89 +for i in $(seq 1 1000000); do
   12.90 +	[  -n "$i" ]
   12.91 +done' > /tmp/slow
   12.92 +$ echo '#!/bin/sh
   12.93 +for i in $(seq 1 1000000); do
   12.94 +	[ "$i" ]
   12.95 +done' > /tmp/speed
   12.96 +$ chmod +x /tmp/slow /tmp/speed
   12.97 +$ time /tmp/slow
   12.98 +> real	0m 15.56s
   12.99 +$ time /tmp/speed
  12.100 +> real	0m 14.11s
  12.101 +</code>
  12.102 +
  12.103 +==== [ -z "text" ] vs [ ! "text" ] vs ! [ "text" ] ====
  12.104 +
  12.105 +**Information**
  12.106 +
  12.107 +Theses three commands test if text doesn't exist. [ ! "text" ] and [ -z "text" ] have a similar processing time, while ! [ "text" ] is speeder.
  12.108 +
  12.109 +**Benchmark**
  12.110 +<code>
  12.111 +$ echo '#!/bin/sh
  12.112 +for i in $(seq 1 1000000); do
  12.113 +	[  -n "$i" ]
  12.114 +done' > /tmp/slow1
  12.115 +$ echo '#!/bin/sh
  12.116 +for i in $(seq 1 1000000); do
  12.117 +	[  -n "$i" ]
  12.118 +done' > /tmp/slow2
  12.119 +$ echo '#!/bin/sh
  12.120 +for i in $(seq 1 1000000); do
  12.121 +	[ "$i" ]
  12.122 +done' > /tmp/speed
  12.123 +$ chmod +x /tmp/slow1 /tmp/slow2 /tmp/speed
  12.124 +$ time /tmp/slow1
  12.125 +> real	0m 15.53s
  12.126 +$ time /tmp/slow2
  12.127 +> real	0m 15.60s
  12.128 +$ time /tmp/speed
  12.129 +> real	0m 14.27s
  12.130 +</code>
  12.131 +
  12.132 +==== Awk vs Cut ====
  12.133 +
  12.134 +**Information**
  12.135 +
  12.136 +Awk, as cut, can be used to cut a field of a line. Awk can do many other things, while cut is a tool dedicated to this usage; it's why cut is a little faster for this task.
  12.137 + 
  12.138 +**Benchmark**
  12.139 +<code>
  12.140 +$ echo -e "field1\tfield2\tfield3" > /tmp/file
  12.141 +$ echo '#!/bin/sh
  12.142 +for i in $(seq 1 5000); do
  12.143 +	awk '"'"'{ print $2 }'"'"' /tmp/file
  12.144 +done' > /tmp/slow
  12.145 +$ echo '#!/bin/sh
  12.146 +for i in $(seq 5000); do
  12.147 +	cut -f2 /tmp/file
  12.148 +done' > /tmp/speed
  12.149 +$ chmod +x /tmp/slow /tmp/speed
  12.150 +$ time /tmp/slow
  12.151 +> real	0m 16.61s
  12.152 +$ time /tmp/speed
  12.153 +> real	0m 15.90s
  12.154 +</code>
  12.155 +
  12.156 +==== [ condition1 -a condition2 ] vs [ condition1 ] && [ condition2 ] ====
  12.157 +
  12.158 +**Information**
  12.159 +
  12.160 +While && is a fast built-in function, in this case it uses two process (two test functions) instead one. So, using -a is a little faster, as the "AND" function itself is slower but make possible to use only one process.
  12.161 +
  12.162 +**Benchmark**
  12.163 +<code>
  12.164 +$ echo '#!/bin/sh
  12.165 +for i in $(seq 1 1000000); do
  12.166 +	[ "$i" ] && [ "$i" ]
  12.167 +done' > /tmp/slow
  12.168 +$ echo '#!/bin/sh
  12.169 +for i in $(seq 1 1000000); do
  12.170 +	[  "$i"  -a "$i" ]
  12.171 +done' > /tmp/speed
  12.172 +$ chmod +x /tmp/slow /tmp/speed
  12.173 +$ time /tmp/slow
  12.174 +> real	0m 23.94s
  12.175 +$ time /tmp/speed
  12.176 +> real	0m 22.29s
  12.177 +</code>
  12.178 \ No newline at end of file
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/pages/en/devnotes/cook-flavor-from-scratch.txt	Sat Feb 26 12:17:18 2011 +0000
    13.3 @@ -0,0 +1,186 @@
    13.4 +====== Cook a flavor from scratch ======
    13.5 +
    13.6 +===== Introduction =====
    13.7 +
    13.8 +Welcome to this howto! it's the base for a second scratchbook which explains how to recompile SliTaz entirely from scratch including the toolchain. All jobs will be done using tazwok-experimental (actually in Alpha state). Even if the scripts have some major issues, the steps explained here should do the job without too many problems. Please report any problems to the author (tazpkg info tazwok-experimental gives you my mail).
    13.9 +
   13.10 +Having some knowledge about how the legacy SliTaz tools and basic commands work will help you to understand what's going on in this howto. However, simply copying/pasting the given command lines will probably work.
   13.11 +
   13.12 +==== Explanation ====
   13.13 +
   13.14 +Tazwok now provides tools to cook the [[en:terms:W?&#wok|wok]] from scratch using a minimal chroot. You have to use a special version of the wok called wok-experimental. It contains the needed patches which should be applied on top of the cooking wok. Explanations about how to obtain the wok experimental are here:  [[en:devnotes:prepare-experimental|Prepare experimental wok]].
   13.15 +
   13.16 +**Tools needed**
   13.17 +  * A functional cooking system (live or installed), you also can use the [[http://people.slitaz.org/~gokhlayeh/experimental/iso/slitaz-experimental-base.iso|slitaz-experimental-base]] ISO.
   13.18 +  * tazwok-experimental-0.0.2, tazchroot-0.0.1 and libtaz-0.0.1. Note: installing tazwok-experimental removes tazwok legacy.
   13.19 +  * An internet connection to download sources.
   13.20 +
   13.21 +**Steps**
   13.22 +  * Make the chroot (in this how-to we use the packages of the new toolchain from the experimental repository; but this should work with the cooking toolchain).
   13.23 +  * Cook a temporary toolchain: it's a cross-compiled toolchain which will cook the "real" toolchain (the packaged one) without linking anything to the host system.
   13.24 +  * Cook the definitive toolchain.
   13.25 +  * Cook some of the other packages of one of the SliTaz flavors.
   13.26 +  * Create the iso.
   13.27 +  * Burn, boot & enjoy :).
   13.28 +
   13.29 +
   13.30 +==== Install the tools ====
   13.31 +
   13.32 +<note tip>Note: all the following commands should be executed as root. You don't have to add the experimental repository if you wish to use the cooking toolchain.</note>
   13.33 +
   13.34 +Add the cooking-experimental repository as undigest:
   13.35 +<code>
   13.36 +tazpkg add-undigest experimental http://people.slitaz.org/~gokhlayeh/experimental/packages
   13.37 +</code>
   13.38 +
   13.39 +Give it priority over the main repository:
   13.40 +<code>
   13.41 +echo experimental > /var/lib/tazpkg/priority
   13.42 +</code>
   13.43 +
   13.44 +Install the cooking tools:
   13.45 +<code>
   13.46 +tazpkg get-install tazwok-experimental
   13.47 +tazpkg get-install tazchroot
   13.48 +</code>
   13.49 +
   13.50 +==== Cook toolchain ====
   13.51 +
   13.52 +<note tip>The following command-lines work for a wok at: /home/slitaz/experimental/wok. If you put the wok elsewhere, you can use the option --SLITAZ_DIR=address; where the address is equivalent to /home/slitaz. This option must be used each time --SLITAZ_VERSION is used. You can also define SLITAZ_VERSION & SLITAZ_DIR globally using /etc/slitaz/slitaz.conf.</note>
   13.53 +
   13.54 +Configure the //chroot//:
   13.55 +<code>
   13.56 +tazwok configure-chroot --SLITAZ_VERSION=experimental
   13.57 +</code>
   13.58 +
   13.59 +If you have at least 1GB RAM free you can put the minimal chroot in RAM speeding-up the cooking process:
   13.60 +<code>
   13.61 +sed 's~chroot_dir=.*~chroot_dir=/tmp/chroot-experimental~' -i /home/slitaz/experimental/tazchroot.conf
   13.62 +</code>
   13.63 +
   13.64 +All-in-one command to cook the toolchain packages:
   13.65 +<code>
   13.66 +tazwok cook-toolchain --SLITAZ_VERSION=experimental
   13.67 +</code>
   13.68 +
   13.69 +At the end of this operation the chroot should be removed. If you have modified its address before, you have to do this manually:
   13.70 +<code>
   13.71 +rm -r /tmp/chroot-experimental
   13.72 +</code>
   13.73 +
   13.74 +Toolchain packages are now ready to be used. They're actually are in the packages-incoming repository. If all was cooked fine it's possible to push them to the classical packages directory using:
   13.75 +<code>
   13.76 +tazwok check-incoming --SLITAZ_VERSION=experimental
   13.77 +</code>
   13.78 +
   13.79 +You need to tell to tazpkg that you now have a local version of experimental:
   13.80 +<code>
   13.81 +# If you had already defined the experimental repository:
   13.82 +echo "/home/slitaz/experimental/packages" > /var/lib/tazpkg/undigest/experimental/mirror
   13.83 +tazpkg recharge
   13.84 +# Else:
   13.85 +tazpkg add-undigest experimental /home/slitaz/experimental/packages
   13.86 +echo experimental > /var/lib/tazpkg/priority
   13.87 +tazpkg recharge
   13.88 +</code>
   13.89 +
   13.90 +Recook the toolchain packages except core (linux-api-headers/glibc/binutils/gcc) over themselves to consolidate it; in fact it's not really needed with an actual configuration but it's generally good to do to solve loop dependencies. It warrants consistency of the toolchain before and after an update of non-core toolchain packages. Note that core-toolchain should never be updated in this way - but by reusing the cook-toolchain script:
   13.91 +<code>
   13.92 +tazwok chroot --SLITAZ_VERSION=experimental
   13.93 +tazwok build-depends toolchain-cooklist | sed '1,/^gcc$/d' > /tmp/consolidate.list
   13.94 +tazwok cook-list /tmp/consolidate.list
   13.95 +rm /tmp/consolidate.list
   13.96 +</code>
   13.97 +
   13.98 +As packages has been re-cooked, you have to update the packages repository once again:
   13.99 +<code>
  13.100 +tazwok check-incoming
  13.101 +</code>
  13.102 +
  13.103 +Still in the chroot for the next step.
  13.104 +==== Cook packages of a flavor ====
  13.105 +
  13.106 +First you need data about cooking flavors:
  13.107 +<code>
  13.108 +cd /home/slitaz/experimental/flavors
  13.109 +hg clone http://hg.slitaz.org/flavors .
  13.110 +</code>
  13.111 +
  13.112 +Generate the cooklist for a given flavor. Note: for the next step, use the chosen flavor name instead of FLAVOR in the command line:
  13.113 +<code>
  13.114 +tazwok gen-cooklist --list=/home/slitaz/experimental/flavors/FLAVOR/packages.list > /tmp/FLAVOR.list
  13.115 +</code>
  13.116 +
  13.117 +This list contains some already cooked packages, remove them:
  13.118 +<code>
  13.119 +cat /tmp/FLAVOR.list | while read p; do
  13.120 +	grep -q ^$p$ /home/slitaz/experimental/packages/packages.txt && \
  13.121 +		sed "/^$p$/d" -i /tmp/FLAVOR.list
  13.122 +done
  13.123 +</code>
  13.124 +
  13.125 +
  13.126 +The cooklist is now ready to create the packages:
  13.127 +<code>
  13.128 +tazwok cook-list /tmp/FLAVOR.list
  13.129 +</code>
  13.130 +
  13.131 +Update packages repository:
  13.132 +<code>
  13.133 +tazwok check-incoming
  13.134 +</code>
  13.135 +
  13.136 +<note tip>You can repeat these steps each time you wish to add new packages to your repository.</note>
  13.137 +
  13.138 +Still in chroot for the next step.
  13.139 +
  13.140 +==== Create the ISO ====
  13.141 +
  13.142 +Actually tazlito uses /home/slitaz/flavors. Create a symbolic link:
  13.143 +<code>
  13.144 +ln -s /home/slitaz/experimental/flavors /home/slitaz
  13.145 +</code>
  13.146 +
  13.147 +Set release as experimental for the future ISO:
  13.148 +<code>
  13.149 +cd  /home/slitaz/flavors/FLAVOR
  13.150 +mkdir -p rootfs/etc
  13.151 +echo experimental > rootfs/etc/slitaz-release
  13.152 +</code>
  13.153 +
  13.154 +Configure your ISO to use your local repository:
  13.155 +<code>
  13.156 +mkdir -p rootfs/var/lib/tazpkg
  13.157 +echo /home/slitaz/experimental/packages > rootfs/var/lib/tazpkg/mirror
  13.158 +</code>
  13.159 +
  13.160 +Use tazwok-experimental instead of tazwok and add tazchroot:
  13.161 +<code>
  13.162 +sed 's/tazwok/tazwok-experimental/' -i packages.list
  13.163 +echo tazchroot >> packages.list
  13.164 +</code>
  13.165 +
  13.166 +Pack FLAVOR:
  13.167 +<code>
  13.168 +tazlito pack-flavor FLAVOR
  13.169 +</code>
  13.170 +
  13.171 +Get FLAVOR:
  13.172 +<code>
  13.173 +tazlito get-flavor FLAVOR
  13.174 +</code>
  13.175 +
  13.176 +Generate ISO:
  13.177 +<code>
  13.178 +tazlito gen-distro
  13.179 +</code>
  13.180 +
  13.181 +Save ISO in your home dir:
  13.182 +<code>
  13.183 +mv /home/slitaz/distro/slitaz-FLAVOR.iso /home/slitaz/distro/slitaz-FLAVOR.md5 /home/slitaz/experimental/iso
  13.184 +</code>
  13.185 +
  13.186 +Exit chroot:
  13.187 +<code>
  13.188 +exit
  13.189 +</code>
  13.190 \ No newline at end of file
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/pages/en/devnotes/new-tazwok-illustrated.txt	Sat Feb 26 12:17:18 2011 +0000
    14.3 @@ -0,0 +1,270 @@
    14.4 +====== The new tazwok illustrated! ======
    14.5 +
    14.6 +Some items in revenue no longer needed with the new version of tazwok. During migration, a number of problems appear.The information on these two points are available below, with examples.
    14.7 +
    14.8 +By simplifying the writing of recipes, we simplify the work and contribution that benefits everyone! 
    14.9 +
   14.10 +==== DEPENDS/BUILD_DEPENDS : ====
   14.11 +Tazwok now uses the dependent variable for finding the necessary compilation dependencies. 
   14.12 +Here's how it works:
   14.13 +
   14.14 +	* Tazwok tree list of all dependencies from the dependent variable
   14.15 +	* For each package, if there is a shareholder *-dev package, it adds it to the dependencies
   14.16 +	* Tazwok done the same for BUILD_DEPENDS.
   14.17 +
   14.18 +So far, when a packet was both dependency and build dependency, the recipe looked like this:
   14.19 +
   14.20 +<file>
   14.21 +DEPENDS="pkgX"
   14.22 +BUILD_DEPENDS="pkgX pkgX-dev"
   14.23 +</file>
   14.24 +Now that is enough:
   14.25 +<file>
   14.26 +DEPENDS="pkgX"
   14.27 +</file>
   14.28 +Where there were trees more complex dependencies, the recipe looked like this:
   14.29 +<file>
   14.30 +# pkgY depend's on pkgX
   14.31 +DEPENDS="pkgY"
   14.32 +BUILD_DEPENDS="pkgY pkgY-dev pkgX pkgX-dev"
   14.33 +</file>
   14.34 +Now that is enough:
   14.35 +<file>
   14.36 +DEPENDS="pkgY"
   14.37 +</file>
   14.38 +
   14.39 +The recipes also contain many redundancies in the definition of addiction, for example:
   14.40 +<file>
   14.41 +# pkgY depend's on pkgX
   14.42 +DEPENDS="pkgY pkgX"
   14.43 +</file>
   14.44 +Here, needless to say since pkgX will be installed along pkgY anyway (Tazpkg manages dependencies automatically!).
   14.45 +
   14.46 +By following these three councils, it appears that about half the packages in DEPENDS / BUILD_DEPENDS can be removed without changing the revenue system behavior, it is not nothing!
   14.47 +
   14.48 +<note tip>An automated cleaning using some scripts is expected, after all recipes have been compiled at least once successfully using the new version of tazwok; In the meantime, these tips can be applied to writing new recipe for simplicity or manually with existing revenues when updating / corrections.</note>
   14.49 +
   14.50 +**Examples:**
   14.51 +	* graveman: http://hg.slitaz.org/wok/rev/7f0604e0bde0
   14.52 +	* enlightenment & cie: http://hg.slitaz.org/wok/rev/85cd798d6997
   14.53 +
   14.54 +==== TARBALL/WGET_URL/SOURCE/download from the VCS ====
   14.55 +
   14.56 +This is important: always put the necessary tools to download / decompression sources in DEPENDS or BUILD_DEPENDS. This allows to define tazwok right firing order (do not try to cook a package that needs wget wget before himself).
   14.57 +
   14.58 +//The packets affected by this://
   14.59 +	* wget url for https, ftps and some URLs that busybox does not include
   14.60 +	* mercurial/subversion/git: they are used to obtain the source
   14.61 +	* tar/unzip: sometimes necessary to unpack the sources.
   14.62 +
   14.63 +By default, tazwok re-sources in compact format .tar.lzma. He calls PACKAGE-VERSION.tar.lzma or SOURCE-VERSION.tar.lzma if SOURCE is defined. Note: Choose the name of the archive is now the only function of the variable SOURCE!
   14.64 +
   14.65 +Tazwok now supports files or "weird" URL (download.php?version=foo&blah=Idontknowwhat). The logic is: if WGET_URL does not end with tarball, then names the file downloaded tarball.
   14.66 +
   14.67 +Tazwok also supports the use of mercurial/subversion/git in WGET_URL. The syntax is:
   14.68 +<file>WGET_URL="subversion|svn://svn.mplayerhq.hu/mplayer/trunk</file>
   14.69 +An optional variable is BRANCH: it allows to specify the revision /tag/branch to use (see examples below). Where BRANCH is used, it is important that $VERSION is part of its definition.
   14.70 +
   14.71 +Note that the sources will be obtained through the requested tool, then packaged in .tar.lzma. The archive will be named as explained above. This means that the variable source can be used to ensure that many recipes use the same repository without creating multiple archives.
   14.72 +
   14.73 +First, it helps to know what revision is installed when using the package manager. Second, it allows to differentiate tazwok compressed sources. Indeed, if the archive keeps the same name, it will not be re-downloaded, which is undesirable when trying to update the package.
   14.74 +
   14.75 +**Examples:**
   14.76 +	* Here was necessary wget: http://hg.slitaz.org/wok/rev/012847ddd0cb
   14.77 +	* Tinyproxy did not report the URL of its source code is corrected: http://hg.slitaz.org/wok/rev/25967da0e1af
   14.78 +	* WGET_URL now supports xpi: http://hg.slitaz.org/wok/rev/37738b3ee08f
   14.79 +	* WGET_URL with a "weird" URL:  http://hg.slitaz.org/wok/rev/102de15fea8d
   14.80 +	* WGET_URL using git: http://hg.slitaz.org/wok/rev/e06d60ae03eb
   14.81 +	* WGET_URL using subversion: http://hg.slitaz.org/wok/rev/c4c54646489a
   14.82 +	* WGET_URL using mercurial: http://hg.slitaz.org/wok/rev/756ed4b1daac
   14.83 +	* It was difficult to choose how to define BRANCH and VERSION for aufs: http://hg.slitaz.org/wok/rev/67231cfc5475
   14.84 +	* Here are two sources of records were in conflict, resolved by SOURCE: http://hg.slitaz.org/wok/rev/b891cba4f48e
   14.85 +	* slitaz-dev-tools contains the sources for SliTaz tools that contain very little code, using SOURCE="slitaz-dev-tools" in recipes that use this deposit to avoid having duplicate tarballs: http://hg.slitaz.org/wok/rev/808826645cc2
   14.86 +
   14.87 +==== Exceptions dependencies cooking ====
   14.88 +In some cases, no dependence cooking is installed:
   14.89 +	* For recipes with WANTED
   14.90 +	* For recipes without compile_rules()
   14.91 +
   14.92 +Note that packets may be required to obtain / decompressing the source code will still be installed if they are in DEPENDS / BUILD_DEPENDS. These are wget, mercurial, subversion, git, tar and unzip.
   14.93 +
   14.94 +If you do not compile_rules() but want to force the installation of all dependencies of cooking, there is a little hack:
   14.95 +<file>
   14.96 +compiles_rules()
   14.97 +{
   14.98 +	:
   14.99 +}
  14.100 +</file>
  14.101 +
  14.102 +**Examples:**
  14.103 +	* Removal of compiles_rules() to avoid installing unnecessary dependencies Cooking: http://hg.slitaz.org/wok/rev/f579356b437f
  14.104 +	* Remove a hack with fake compiles_rules was useless ... http://hg.slitaz.org/wok/rev/5b4581f8e476
  14.105 +
  14.106 +==== Define src/_pkg & move in the right place (hacks in the recipe) ====
  14.107 +
  14.108 +By default, the new sources in place tazwok $WOK/$PACKAGES/$PACKAGE-$VERSION: it renames the parent directory of sources if necessary. So far, $src was not properly defined for recipes using both SOURCE and WANTED. Many recipes implement their own solution in different ways, which is difficult to consider a standardized way and can cause compatibility problems.
  14.109 +
  14.110 +If tazwok detects src=/_pkg= in a recipe, it continues to use the old behavior to ensure compatibility (this produces errors in some cases). It is no longer necessary and not ideal.
  14.111 +
  14.112 +The hacks in the recipe source that move in the right place are no longer needed either, and can also cause problems.
  14.113 +
  14.114 +In conclusion, it is better to consider that $src/$_pkg are defined by default and try to rely as much as possible.
  14.115 +
  14.116 +** Examples: **
  14.117 +	* Removing src= by Godane: http://hg.slitaz.org/wok/rev/a1c1d35d9f92
  14.118 +	* src=/_pkg= can / should also be removed from WANTED: http://hg.slitaz.org/wok/rev/07adb7cbd0c8
  14.119 +	* Here, an old hack was the problem: http://hg.slitaz.org/wok/rev/62f6142d9fb3
  14.120 +	* Sources are now //always// placed in a sub-directory $src http://hg.slitaz.org/wok/rev/e64069568fe7
  14.121 +	* Another case: call the configure script from a folder separate compilation (*-build): http://hg.slitaz.org/wok/rev/7461a0c31d62
  14.122 +	* Fixed dmraid: http://hg.slitaz.org/wok/rev/f5b7e0c47763 http://hg.slitaz.org/wok/rev/59ea9409ad8a
  14.123 +
  14.124 +==== Set the default paths in configure: ====
  14.125 +<note tip>See /etc/slitaz/slitaz.conf, /etc/config.site and the new revenue model in place by New tazwok tree</note>
  14.126 +
  14.127 +The new version of tazwok attempts to pass the default paths to configure using the environment variable CONFIG_SITE calling /etc/config.site, which works in most cases. Nevertheless configure scripts are specific to each source and sometimes CONFIG_SITE not be supported. For this reason, the best way to remove the definitions of paths is unnecessary to do so on a case by case, when the updated recipe, and make sure everything works.
  14.128 +
  14.129 +In rare cases, this new product functionality problems. It happens that some recipes that did not use the default paths used by CONFIG_SITE now, and an update function genpkg_rules() is then mandatory.
  14.130 +
  14.131 +** Examples: **
  14.132 +	* A file or did not install properly in acl is corrected by CONFIG_SITE: http://hg.slitaz.org/wok/rev/f831ecb652a6
  14.133 +	* Another example: http://hg.slitaz.org/wok/rev/259214792e30
  14.134 +
  14.135 +<note tip>CONFIG_SITE= can be used in recipes to use a different file than the default (can be useful for packages gnome or something like that ...)</note>
  14.136 +
  14.137 +==== DESTDIR=$PWD/_pkg ====
  14.138 +
  14.139 +DESTDIR is passed to make install using the environment variable of the same name. The new path for installation is $ WOK/$PACKAGE/install. This will remove the source folder after packaging, it does not contain any file used by a recipe in his genpkg_rules().
  14.140 +
  14.141 +Most recipes still use DESTDIR=$PWD/_pkg. However, if no revenue is redefining the variables src/_pkg, automatically move to the tazwok $WOK/$PACKAGE/install.
  14.142 +
  14.143 +In some cases, as with other variables, DESTDIR is not taken into account or the package is not installed by make. In these cases, the variable $DESTDIR is available to define the installation directory in the recipe.
  14.144 +
  14.145 +In rare cases, this behavior causes incompatibilities. This happens when revenues define the path to the installation folder without using src/_pkg. The solution is not to set these paths in revenue (that calling the main recipe with WANTED included), make sure the installation is done well in $WOK/$PACKAGE/install and trust the variables provided by tazwok.
  14.146 +
  14.147 +** Examples: **
  14.148 +	* Remove _pkg= & DESTDIR= same time for this to work: http://hg.slitaz.org/wok/rev/cf088243a4a5
  14.149 +	* Remove references "useless" to $src to the sources are withdrawn: http://hg.slitaz.org/wok/rev/0731792c3994 http://hg.slitaz.org/wok/rev/5d6340961543
  14.150 +	* Bash does not take into account DESTDIR environment variable: http://hg.slitaz.org/wok/rev/fa7b7514e1d8
  14.151 + 	* acl attr does not include DESTDIR (in this installation the destination was still $PWD/_pkg): http://hg.slitaz.org/wok/rev/fa7b7514e1d8
  14.152 +
  14.153 +==== MAKEFLAGS ====
  14.154 +
  14.155 +MAKEFLAGS also increased to make using environment variables, and again this does not always work. In most cases, -j4 can be removed. In some cases it is necessary to use MAKEFLAGS directly to make the recipe:
  14.156 +make $MAKEFLAGS
  14.157 +
  14.158 +Tazwok automatically sets the value for $MAKEFLAGS in the number of heart that contains the processor -j4 should be removed from all the recipes can be compiled on computers that have more resources (4 cores can use -j5)
  14.159 +
  14.160 +**Problems MAKEFLAGS:**
  14.161 +
  14.162 +So far, only recipes with-j4 compiled using the multi-threaded, whereas now all make and make install use. This behavior can cause errors. Some sources do not support multi-threaded compilation but do not disable. This is the most common problem associated with the changes explained here.
  14.163 +
  14.164 +//Problem in compiling://
  14.165 +
  14.166 +During compilation, it happens that rely on other libraries compiled with the same sources. If they are compiled at the same time, this causes an error about a missing library. In this case, we see in the compilation text that the library in question has begun to be built few lines earlier, but that this process was not finished yet. To resolve this problem, add -j1 to make. It is the most common mistake, there are other more rare that take a similar form.
  14.167 +
  14.168 +//Problem in installation://
  14.169 +
  14.170 +The characteristic of this error is that the installation stops and an error message says that it is impossible to create a folder because it already exists: a parallel process is actually creating it. In this case, add-j1 to make install.
  14.171 +
  14.172 +** Examples: **
  14.173 +	* Several changes explained here in the recipe for gettext: http://hg.slitaz.org/wok/rev/9411655af0e2
  14.174 +
  14.175 +==== Variables $stuff, $wanted_stuff and $fs ====
  14.176 +
  14.177 +Now the variable $stuff is available and returns the record stuff in the recipe, it uses an absolute path. The variable $wanted_stuff refers to the file defined in the package stuff WANTED, if any. The variable $fs refers to the future content of the package in taz/*/fs, as before, the difference is that now $fs uses an absolute path
  14.178 +
  14.179 +** Examples: **
  14.180 +	* A commit with several changes regarding the variable $stuff: http://hg.slitaz.org/wok/rev/be13f25e790b
  14.181 +	* A correction necessary when we have made an absolute path $fs: http://hg.slitaz.org/wok/rev/8c897d2542ab
  14.182 +
  14.183 +==== Do not use 'exit' but 'return' ====
  14.184 +
  14.185 +Now when cooking several packages with a list tazwok does not call for new tazwok cook. There is only one session tazwok so that the execution is faster. If a recipe uses exit, it leaves tazwok and following list is not cooked.
  14.186 +
  14.187 +**Example:**
  14.188 +	* Removing all exit the wok recipes: http://hg.slitaz.org/wok/rev/0b4cf0d9e1b5
  14.189 +
  14.190 +==== Conclusion - What to do when updating a recipe: ====
  14.191 +
  14.192 +	* Remove src=/_pkg= recipe and those who declare as WANTED.
  14.193 +	* Remove DESTDIR=$PWD/_pkg and if it does not work, or if the means to define the installation directory is not + make DESTDIR, rather than using $ DESTDIR $PWD/_pkg.
  14.194 +	* Remove the definition of default paths and see if it works, otherwise leave.
  14.195 +	* Remove-j4 and see if it works; If the mutli-threaded does not work, re-activate using $MAKEFLAGS; if multi-threading causes problems, add-j1 to the right place.
  14.196 +	* Remove BUILD_DEPENDS / DEPENDS redundant.
  14.197 +	* Check that packages are created correctly, otherwise update the paths in genpkg_rules().
  14.198 +	* Try to declare all sources of revenue in that SliTaz can be compiled without internet connection (requires to download any source before).
  14.199 +	* Check that the package needed to download / extract the source code are defined in BUILD_DEPENDS.
  14.200 +	* Check as EXIT is not used in the recipe.
  14.201 +
  14.202 +==== Some more complex cases ... ====
  14.203 +
  14.204 +I put them there in the end because there are already too many to be integrated:)
  14.205 +The items below correspond to specific cases.
  14.206 +
  14.207 +== Variable COOK_OPT ==
  14.208 +
  14.209 +This new variable can contain options that alter the behavior of tazwok. They are useful in very special cases.
  14.210 +
  14.211 +**genpkg=**
  14.212 +
  14.213 +In the recipe PACKAGE defines a priority order for the revenue package containing WANTED="PACKAGES" (and only them!). If you include multiple packages, separate them with double points ':'. If packets are not defined in this option, they will be packaged later, in alphabetical order (default)
  14.214 +
  14.215 +Used in glibc: http://hg.slitaz.org/wok/file/tip/glibc/receipt
  14.216 +
  14.217 +**!repack_src**
  14.218 +
  14.219 +Disable re-compression format sources .tar.lzma.
  14.220 +
  14.221 +Ruby-pkgconfig used for the sources remain in gem: http://hg.slitaz.org/wok/file/tip/ruby-pkgconfig/receipt
  14.222 +
  14.223 +**!unpack**
  14.224 +
  14.225 +Prevents decompression of the archive-source in the wok.
  14.226 +
  14.227 +This is used by ruby-pkgconfig as well (see link above)
  14.228 +
  14.229 +This is the only case yet!
  14.230 +
  14.231 +==== Cooking the toolchain ====
  14.232 +
  14.233 +To cook the toolchain SliTaz, we use a temporary toolchain. Some recipes use specific rules in this step. When cooking this toolchain temporarily affected software packaged but are not directly installed in the chroot purpose built. The affected packages are listed in the variable SLITAZ_TOOLCHAIN configuration file /etc/slitaz/slitaz.conf
  14.234 +
  14.235 +Additional features are:
  14.236 +	* Precook_tmp_toolchain() - Used only by gcc & binutils for the moment, because they are cooked twice during the preparation of the temporary toolchain.
  14.237 +	* Cook_tmp_toolchain() - Used by the most packets SLITAZ_TOOLCHAIN to define how they should be compiled for the temporary toolchain. When cook_tmp_toolchain() is absent, compile_rules() is used instead. This avoids writing two identical functions. Note that in this case. ./configure does not set the default paths in the recipe, because the temporary toolchain must be able to do it via the environment variable CONFIG_SITE. Indeed, packets compiled during this stage are not installed in the usual place but in /tools.
  14.238 +
  14.239 +** Examples: **
  14.240 +	* Binutils: http://hg.slitaz.org/wok/file/tip/binutils/receipt
  14.241 +	* Gettext: http://hg.slitaz.org/wok/file/tip/gettext/receipt
  14.242 +	* Bash: http://hg.slitaz.org/wok/file/tip/bash/receipt
  14.243 +	* Patch does not need cook_tmp_toolchain(): http://hg.slitaz.org/wok/file/tip/patch/receipt
  14.244 +	* Autoconf either: http://hg.slitaz.org/wok/file/tip/autoconf/receipt
  14.245 +
  14.246 +== tazwok get-src / report in recipes ==
  14.247 +
  14.248 +Report is a module libtaz for organizing the display commands in the terminal and create logs available including http://bb.slitaz.org interface. It can be used in recipes, as follows (that is abstract, the following examples of actual application):
  14.249 +
  14.250 +<file>
  14.251 +compile_rules() # Per example
  14.252 +{
  14.253 +	report open-bloc #compiles_rules is a step, declaring that there will substeps
  14.254 +	report step "Action machin"
  14.255 +		...
  14.256 +	report step "Action truc"
  14.257 +		.. 
  14.258 +	report close-bloc #Close the open block previously
  14.259 +}
  14.260 +</file>
  14.261 +
  14.262 +Specifically, there is one case where we use it: when using get-src tazwok PACKAGE --target=... . This command creates a new step (postponement step). We need to open a block before and after the close, as well as adding several other deferral step "..." to log and display in the terminal is correct. Each farm deferral step the previous step, if we do not open the block, get-src shut tazwok step "Executing compiles rules"
  14.263 +
  14.264 +Delaying closed block must be completely executed, otherwise the log/display will be broken. That's why we use { report-block closed; return 1; } return rather than alone.
  14.265 +
  14.266 +The practical use of this tazwok get-src is that you can unpack the sources of designated PACKAGE at target.
  14.267 +
  14.268 +In the examples below, observe the correlation between the delay step and displayed in the log. Observe also the correlation between tazwok get-src and the message "Checking for source tarball ..." in the log. You learn how to carry report open-bloc/closed block create a subset in genpkg_rules (named "Executing compile_rules" in the log). If it were not for open-bloc/close-bloc, the new steps would be posted to the result of "Executing compile_rules" This is not what we wanted.
  14.269 +
  14.270 +** Examples (recipe + log): **
  14.271 +	* Linux needs patches contained in the sources of aufs, Godane took the opportunity to improve the log. Recipe: http://hg.slitaz.org/wok/file/tip/linux/receipt; log: http://bb.slitaz.org/log.php?version=cooking&package=linux
  14.272 +	* Gcc uses several other sources of packages during the cooking of the temporary toolchain. Recipe: http://hg.slitaz.org/wok/file/tip/gcc/receipt; log: http://bb.slitaz.org/log.php?version=cooking&package=tmp-toolchain-gcc
  14.273 +	* mingw32-gcc was corrected using this approach, it also allowed to declare all sources used. Commit: http://hg.slitaz.org/wok/rev/fd43246b4613; log: http://bb.slitaz.org/log.php?version=cooking&package=mingw32-gcc
  14.274 \ No newline at end of file
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/pages/en/devnotes/prepare-experimental.txt	Sat Feb 26 12:17:18 2011 +0000
    15.3 @@ -0,0 +1,88 @@
    15.4 +====== Prepare the experimental wok ======
    15.5 +
    15.6 +==== Warning ====
    15.7 +
    15.8 +Before using the experimental wok, it's advisable to read and understand the [[en:cookbook:advancedhg|Advanced usage of Mercurial]] as the experimental wok uses MQ to handle the patch queue.
    15.9 +
   15.10 +Please note that the source code, wok & packages use a lot of space, don't store all of that in your RAM unless you're sure that it will run fine. If you use a live system, you can use a physical disk to store data using the boot option home=. You can also mount the disk (i.e.: on /mnt).
   15.11 +
   15.12 +==== Enabling Mercurial Queue ====
   15.13 +
   15.14 +The experimental wok is shared as patches which can't be integrated into the cooking wok for now. To use them, you need the extension MQ. So your ~/.hgrc should contain these lines:
   15.15 +
   15.16 +<code>
   15.17 +[extensions]
   15.18 +mq =
   15.19 +</code>
   15.20 +
   15.21 +==== Download cooking wok & patch it ====
   15.22 +
   15.23 +First check that the destination disk is mounted. In the directory which contains the data, create a repository called experimental and enter in it:
   15.24 +<code>
   15.25 +cd destination
   15.26 +mkdir experimental
   15.27 +cd experimental
   15.28 +</code>
   15.29 +
   15.30 +
   15.31 +Download the wok:
   15.32 +<code>
   15.33 +hg clone http://hg.slitaz.org/wok wok
   15.34 +</code>
   15.35 +
   15.36 +If you were root, enable read/write permissions to your normal account; then exit the root one:
   15.37 +<code>
   15.38 +chown tux.tux -R wok
   15.39 +</code>
   15.40 +
   15.41 +The patches will apply well on the revisions for which they was created, but problems can appear with the other revisions. The revisions correlated to the last update of the patches can be found here: http://hg.slitaz.org/wok-experimental.
   15.42 +Update the wok to the good revision:
   15.43 +<code>
   15.44 +hg update -C rev
   15.45 +</code>
   15.46 +
   15.47 +Download experimental patches:
   15.48 +<code>
   15.49 +cd .hg
   15.50 +hg clone http://hg.slitaz.org/wok-experimental patches
   15.51 +</code>
   15.52 +
   15.53 +Apply patches:
   15.54 +<code>
   15.55 +cd ..
   15.56 +hg qpush -a
   15.57 +</code>
   15.58 +
   15.59 +==== Update the experimental wok ====
   15.60 +
   15.61 +Go into the wok:
   15.62 +<code>
   15.63 +cd ?/wok
   15.64 +</code>
   15.65 +
   15.66 +Unapply patches (doesn't work if modifications are uncommitted):
   15.67 +<code>
   15.68 +hg qpop-a
   15.69 +</code>
   15.70 +
   15.71 +Update cooking wok:
   15.72 +<code>
   15.73 +hg pull
   15.74 +</code>
   15.75 +
   15.76 +Check the revision to use at http://hg.slitaz.org/wok-experimental and update the working directory to this revision:
   15.77 +<code>
   15.78 +hg update -C rev
   15.79 +</code>
   15.80 +
   15.81 +Update patches repository:
   15.82 +<code>
   15.83 +cd .hg/patches
   15.84 +hg pull -u
   15.85 +</code>
   15.86 +
   15.87 +Apply the new patches:
   15.88 +<code>
   15.89 +cd ../..
   15.90 +hg qpush -a
   15.91 +</code>
   15.92 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/pages/en/devnotes/start.txt	Sat Feb 26 12:17:18 2011 +0000
    16.3 @@ -0,0 +1,14 @@
    16.4 +====== Development Notes ======
    16.5 +
    16.6 +This page contains development information about the cooking version. Some pages will go into the guides or books when the next stable version is released. Others are temporary pages which coordinate development work.
    16.7 +
    16.8 +===== Information for users ===== 
    16.9 +
   16.10 +  * [[xorgserver-user|xorg-server-1.8]] - Update configuration
   16.11 +
   16.12 +===== Information for contributors =====
   16.13 +
   16.14 +  * [[xorgserver-contrib|xorg-server-1.8 ]] - Drivers pre-configuration
   16.15 +  * [[en:devnotes:prepare-experimental|Prepare the experimental wok]] - Howto use the experimentals patches with MQ
   16.16 +  * [[en:devnotes:ash-benchmarks|Ash benchmarks]] - How-to optimize ash scripts ?
   16.17 +  * [[en:devnotes:new-tazwok-illustrated|New Tazwok]] - How the new tazwok works ?
   16.18 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/pages/en/devnotes/xorgserver-contrib.txt	Sat Feb 26 12:17:18 2011 +0000
    17.3 @@ -0,0 +1,63 @@
    17.4 +====== xorg-server-1.8 ======
    17.5 +
    17.6 +===== Introduction =====
    17.7 +
    17.8 +With xorg-server-1.8, the file ///etc/X11/xorg.conf// is deprecated. Though we can actually reserve it for user modifications, it's no longer edited automatically. 
    17.9 +
   17.10 +The configuration files are now in ///etc/X11/xorg.conf.d//. To ensure that the users configuration will not be erased by a system upgrade, here's a suggestion of numbers and content. The configuration files are read in alphanumerical order and their names must end with .conf :
   17.11 +
   17.12 +  * 00 - ServerFlag
   17.13 +  * 05 - ServerLayout Tweaks
   17.14 +  * 10 - ServerLayout
   17.15 +  * 15 - Files Tweaks
   17.16 +  * 20 - Files
   17.17 +  * 25 - Modules Tweaks
   17.18 +  * 30 - Modules
   17.19 +  * 35 - InputClass/InputDevice Tweaks
   17.20 +  * 40 - InputClass/InputDevice
   17.21 +  * 45 - Monitor Tweaks
   17.22 +  * 50 - Monitor
   17.23 +  * 55 - Device Tweaks
   17.24 +  * 60 - Device
   17.25 +  * 65 - Screen Tweaks
   17.26 +  * 70 - Screen 
   17.27 +  * 75 - Modes Tweaks
   17.28 +  * 80 - Modes
   17.29 +  * 85 - DRI Tweaks
   17.30 +  * 90 - DRI
   17.31 +  * 95 - Extension Tweaks
   17.32 +  * 100 - Extension
   17.33 +
   17.34 +Some of the x0 sections are configured by tazx xorg-config using a template //xorg.conf// file (generated with Xorg -configure). You can find more information about this in the function [[http://hg.slitaz.org/slitaz-tools/file/ca6804d9b56b/tinyutils/tazx#l27|xorg_conf_d]] of tazx. 
   17.35 +
   17.36 +If you want add a configuration file to a package, please take care to use a name different from those specified by tazx or this file will be erased when booting in live mode. You can use the same number (x0) with a different name if this configuration doesn't conflict with those used by default. Otherwise, use (x-1)5 for that configuration overwriting the default one.
   17.37 +
   17.38 +Examples :
   17.39 +
   17.40 +  * [[http://hg.slitaz.org/wok/file/c29991cef110/xorg-xf86-input-evdev/stuff/40-evdev.conf|40-evedev.conf]] - Default configuration for all devices
   17.41 +  * [[http://hg.slitaz.org/wok/file/c29991cef110/xorg-xf86-input-synaptics/stuff/35-synaptics.conf|35-synaptics.conf]] - Advanced configuration for touchpad devices, overwriting the default configuration for these devices
   17.42 +  * hwsetup, section [[http://hg.slitaz.org/slitaz-tools/file/ca6804d9b56b/tinyutils/hwsetup#l685|nvidia]] and [[http://hg.slitaz.org/slitaz-tools/file/ca6804d9b56b/tinyutils/hwsetup#l753|ati]] - Add a file 55-DeviceTweaks.conf configuring a graphic driver other than vesa
   17.43 +
   17.44 +===== Configuration files list =====
   17.45 +
   17.46 +This avoid naming two files identically, you can use these in the ///etc/X11/xorg.conf.d/readme// for users with the 4.0 release.
   17.47 +
   17.48 +tazx :
   17.49 +  * 10-ServerLayout.conf
   17.50 +  * 20-Files.conf
   17.51 +  * 30-Module.conf
   17.52 +  * 40-Keyboard.conf
   17.53 +  * 50-Monitor.conf
   17.54 +  * 60-Device.conf
   17.55 +  * 70-Screen.conf
   17.56 +tazhw :
   17.57 +  * 55-DeviceTweaks.conf
   17.58 +xorg-xf86-input-evdev :
   17.59 +  * 40-evdev.conf
   17.60 +xorg-xf86-input-synaptics :
   17.61 +  * 35-synaptics.conf
   17.62 +
   17.63 +===== TODO =====
   17.64 +
   17.65 +  * Improve the auto-configuration tool in tazx : some fonts and modules don't need to be loaded by default or don't exist. Some of these elements can be configured by their original package.
   17.66 +  * Pre-configure some drivers to make them work out-of-the-box.
   17.67 \ No newline at end of file
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/pages/en/devnotes/xorgserver-user.txt	Sat Feb 26 12:17:18 2011 +0000
    18.3 @@ -0,0 +1,29 @@
    18.4 +======= xorg-server-1.8 ======
    18.5 +
    18.6 +===== Upgrade Xorg configuration =====
    18.7 +
    18.8 +
    18.9 +Upgrade Slitaz :
   18.10 +<code># echo 'y' | tazpkg upgrade</code>
   18.11 +Backup xorg.conf :
   18.12 +<code># mv /etc/X11/xorg.conf /etc/X11/xorg.conf-backup</code>
   18.13 +Re-configure Xorg with tazx :
   18.14 +<code># tazx config-xorg</code>
   18.15 +
   18.16 +==== User tweaks ====
   18.17 +
   18.18 +If you have tweaked the //xorg.conf// file, then you have two possibilities. In both cases the tweaks will be read before the default configuration and will not be erased by an upgrade :
   18.19 +
   18.20 +  * Put your modifications (examples) in the file ///etc/X11/xorg.conf.// This file is now reserved for users, it's the first read by Xorg when X boots.
   18.21 +
   18.22 +  * You put them in the correct file in the directory ///etc/X11/xorg.conf.d.// SliTaz use two files for each Xorg section : 
   18.23 +          * n0-Section.conf for the default configuration and : 
   18.24 +          * (n-1)5-SectionTweaks.conf for the configurations which overwrite the default one.
   18.25 +
   18.26 +Example :
   18.27 +
   18.28 +//40-evdev.conf// contains the default configuration for all devices.
   18.29 +
   18.30 +//35-synaptics.conf// is installed with the package xorg-input-xf86-synaptics and contains the configuration file for touchpad. It overwrites the default one (evdev).
   18.31 +
   18.32 +If you wish to modify this section manually, take care to rename the file with a lower number like //31-MyDevices.conf//. And don't use a file named x5 or x0 to ensure that it will not be overwritten by an upgrade.
   18.33 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/pages/en/forum/start.txt	Sat Feb 26 12:17:18 2011 +0000
    19.3 @@ -0,0 +1,3 @@
    19.4 +====== Forum posts ======
    19.5 +
    19.6 +[[http://forum.slitaz.org/index.php?p=/discussion/comment/5404/#Comment_5404|How to build your own kernel modules]]
    19.7 \ No newline at end of file
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/pages/en/guides/alsaequal.txt	Sat Feb 26 12:17:18 2011 +0000
    20.3 @@ -0,0 +1,84 @@
    20.4 +====== Alsaequal ======
    20.5 +
    20.6 +===== Installation (cooking only) =====
    20.7 +
    20.8 +First download alsaequal:
    20.9 +
   20.10 +<code># tazpkg get-install alsaequal</code>
   20.11 +
   20.12 +Then create a /home/tux/.asoundrc file:
   20.13 +
   20.14 +<file>
   20.15 +ctl.equal {
   20.16 +  type equal;
   20.17 +}
   20.18 +
   20.19 +pcm.plugequal {
   20.20 +  type equal;
   20.21 +  # Modify the line below if you don't
   20.22 +  # want to use sound card 0.
   20.23 +  # slave.pcm "plughw:0,0";
   20.24 +  # or if you want to use with multiple applications output to dmix
   20.25 +  slave.pcm "plug:dmix"
   20.26 +}
   20.27 +
   20.28 +pcm.equal {
   20.29 +  # Or if you want the equalizer to be your
   20.30 +  # default soundcard uncomment the following
   20.31 +  # line and comment the above line.
   20.32 +# pcm.!default {
   20.33 +  type plug;
   20.34 +  slave.pcm plugequal;
   20.35 +}
   20.36 +</file>
   20.37 +
   20.38 +===== mpg123 =====
   20.39 +
   20.40 +Change (cd) into your music directory and then run:
   20.41 +
   20.42 +<code>$ mpg123 -a equal *</code>
   20.43 +
   20.44 +Or
   20.45 +
   20.46 +<code>$ mpg123 -a equal track1</code>
   20.47 +
   20.48 +Now you should be able to open up a separate terminal and use:
   20.49 +
   20.50 +<code>$ alsamixer -D equal</code>
   20.51 +
   20.52 +===== mpd =====
   20.53 +
   20.54 +Just edit the audio_output section of your /etc/mpd.conf:
   20.55 +
   20.56 +<file>
   20.57 +audio_output {
   20.58 +	type		"alsa"
   20.59 +	name		"equal"
   20.60 +	device		"plug:plugequal"
   20.61 +##	format		"44100:16:2"	# optional
   20.62 +##	mixer_device	"default"	# optional
   20.63 +##	mixer_control	"PCM"		# optional
   20.64 +##	mixer_index	"0"		# optional
   20.65 +}
   20.66 +</file>
   20.67 +
   20.68 +And start/restart mpd and you should be able to use //$ alsamixer -D equal//
   20.69 +
   20.70 +===== moc =====
   20.71 +
   20.72 +Copy the config.example file in /usr/share/doc/moc to your ~/.moc folder:
   20.73 +
   20.74 +<code>$ cp /usr/share/doc/moc/config.example ~/.moc/config</code>
   20.75 +
   20.76 +Then change the alsa output device line to: 
   20.77 +
   20.78 +<file>
   20.79 +# ALSA output device
   20.80 +AlsaDevice    = equal
   20.81 +</file>		
   20.82 +
   20.83 +And then start/restart moc.
   20.84 +
   20.85 +===== References =====
   20.86 +
   20.87 +http://www.thedigitalmachine.net/alsaequal.html
   20.88 \ No newline at end of file
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/pages/en/guides/bluetooth.txt	Sat Feb 26 12:17:18 2011 +0000
    21.3 @@ -0,0 +1,131 @@
    21.4 +====== Bluetooth ======
    21.5 +
    21.6 +===== Introduction =====
    21.7 +
    21.8 +This guide will help you to configure bluetooth, e.g. to use your phone as a modem.
    21.9 +Do following steps as root.
   21.10 +First of all you must install Slitaz packages related to bluetooth:
   21.11 +  # tazpkg get-install bluez
   21.12 +  # tazpkg get-install linux-bluetooth
   21.13 +The first package contains the Official Linux Bluetooth protocol stack www.bluez.org and the second contains the kernel modules related to bluetooth.
   21.14 +Now you can launch the bluetooth daemon:
   21.15 +  # bluetoothd
   21.16 +And load the module required by your local bluetooth device, this is very likely btusb:
   21.17 +  # modprobe btusb
   21.18 +If btusb is the module you need the command "hcitool dev" to show you the local device address:
   21.19 +  root@slitaz:/home/tux# hcitool dev
   21.20 +  Devices:
   21.21 +          hci0    00:02:72:xx:xx:xx
   21.22 +If the command "hcitool dev" does not show you any hci* device you must detect which module you need and repeat the previous step until you have a hci* device.
   21.23 +Now that you have hci* you can run the "hcitool scan" command to show you if there is any discoverable device nearby.
   21.24 +So if you are searching, e.g. your phone, remember to put it in discoverable mode:
   21.25 +  root@slitaz:/home/tux# hcitool scan
   21.26 +  Scanning ...
   21.27 +          00:18:C5:xx:xx:xx       Nokia 6151
   21.28 +  root@slitaz:/home/tux#
   21.29 +Now you can pair your locale device with your remote device. You use bluez-simple-agent to do that.
   21.30 +
   21.31 +If you want to start the pairing from the remote device you need to put your local device in discoverable mode:
   21.32 +  # hciconfig hci0 piscan
   21.33 +
   21.34 +Now launch bluez-simple-agent, start the pairing from the remote device and wait for bluez-simple-agent to ask you for the pin code needed to pair.
   21.35 +This code will be the same one you typed on the phone. When you are done you need to kill bluez-simple-agent with Ctrl-c:
   21.36 +  root@slitaz:/home/tux# hciconfig hci0 piscan
   21.37 +  root@slitaz:/home/tux# bluez-simple-agent
   21.38 +  Agent registered
   21.39 +  RequestPinCode (/org/bluez/2944/hci0/dev_00_18_C5_xx_xx_xx)
   21.40 +  Enter PIN Code: 1234
   21.41 +  ^CTraceback (most recent call last):
   21.42 +    File "/usr/bin/bluez-simple-agent", line 113, in <module>
   21.43 +      mainloop.run()
   21.44 +  KeyboardInterrupt
   21.45 +  root@slitaz:/home/tux#
   21.46 +Put your local device back in undiscoverable mode:
   21.47 +  # hciconfig hci0 pscan
   21.48 +
   21.49 +If you want to start the pairing from your local device you can do it using bluez-simple-agent with the hci* of your local device and the address of the device you discovered with "hcitool scan". In this case you will choose the pin in bluez-simple-agent and type the same pin on the remote device:
   21.50 +  root@slitaz:/home/tux# bluez-simple-agent hci0 00:18:C5:xx:xx:xx
   21.51 +  RequestPinCode (/org/bluez/3078/hci0/dev_00_18_C5_xx_xx_xx)
   21.52 +  Enter PIN Code: 1234
   21.53 +  Release
   21.54 +  New device (/org/bluez/3078/hci0/dev_00_18_C5_xx_xx_xx)
   21.55 +  root@slitaz:/home/tux# 
   21.56 +Be fast because bluez-simple-agent has a timeout which I don't know how to set (suggestions?)
   21.57 +
   21.58 +===== Use a phone as a modem =====
   21.59 +
   21.60 +Now you have your two devices paired, i will go on with the phone as a modem example, I don't have other experiences with bluetooth devices.
   21.61 +To use your phone as a modem you need the rfcomm module. At the moment I am writing this guide the rfcomm module of Slitaz is compiled without tty support. You can check if this is the case with the following commands:
   21.62 +  root@slitaz:/home/tux# zcat /proc/config.gz | grep RFCOMM                    
   21.63 +  CONFIG_BT_RFCOMM=m
   21.64 +  # CONFIG_BT_RFCOMM_TTY is not set
   21.65 +  root@slitaz:/home/tux#
   21.66 +If CONFIG_BT_RFCOMM_TTY is not =y you must recompile the module with tty support. Install linux-source:
   21.67 +  # tazpkg get-install linux-source
   21.68 +cd in /usr/src/linux-`uname -r`/ and give this command:
   21.69 +  # make CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y M=net/bluetooth/rfcomm
   21.70 +This will build only the rfcomm module with tty support. You will find it in /usr/src/linux-`uname -r`/net/bluetooth/rfcomm/rfcomm.ko.
   21.71 +Now you can delete the old rfcomm module and replace it with your module:
   21.72 +  # rm /lib/modules/`uname -r`/kernel/net/bluetooth/rfcomm/rfcomm.ko.gz
   21.73 +  # cp /usr/src/linux-`uname -r`/net/bluetooth/rfcomm/rfcomm.ko /lib/modules/`uname -r`/kernel/net/bluetooth/rfcomm/ 
   21.74 +  # depmod -a
   21.75 +Now that we have a working rfcomm module we must detect the channel where the phone dialup service is listening:
   21.76 +  # sdptool browse 00:18:C5:xx:xx:xx
   21.77 +Where 00:18:C5:xx:xx:xx is the address of your phone, it will give a list with the services available on your phone. The one you are looking for is Dial-up networking or DUN:
   21.78 +  Service Name: Dial-up networking
   21.79 +  Service RecHandle: 0x10000
   21.80 +  Service Class ID List:
   21.81 +    "Dialup Networking" (0x1103)
   21.82 +    "Generic Networking" (0x1201)
   21.83 +  Protocol Descriptor List:
   21.84 +    "L2CAP" (0x0100)
   21.85 +    "RFCOMM" (0x0003)
   21.86 +      Channel: 1
   21.87 +  Language Base Attr List:
   21.88 +    code_ISO639: 0x656e
   21.89 +    encoding:    0x6a
   21.90 +    base_offset: 0x100
   21.91 +  Profile Descriptor List:
   21.92 +    "Dialup Networking" (0x1103)
   21.93 +      Version: 0x0100
   21.94 +      
   21.95 +===== rfcomm.conf =====
   21.96 +
   21.97 +As you can see it is listening on channel 1, so you edit ///etc/bluetooth/rfcomm.conf// this way:
   21.98 +<file>
   21.99 +  #
  21.100 +  # RFCOMM configuration file.
  21.101 +  #
  21.102 +  rfcomm0 {
  21.103 +  #       # Automatically bind the device at startup
  21.104 +          bind yes;
  21.105 +  #
  21.106 +  #       # Bluetooth address of the device
  21.107 +          device 00:18:C5:xx:xx:xx;
  21.108 +  #
  21.109 +  #       # RFCOMM channel for the connection
  21.110 +          channel 1;
  21.111 +  #
  21.112 +  #       # Description of the connection
  21.113 +  #       comment "Example Bluetooth device";
  21.114 +  }
  21.115 +</file>
  21.116 +Now with:
  21.117 +  # modprobe rfcomm
  21.118 +  # rfcomm bind all
  21.119 +You can use /dev/rfcomm0 as a modem in a wvdial script.
  21.120 +You may want to check this guide http://doc.slitaz.org/en:guides:dialup
  21.121 +
  21.122 +---- 
  21.123 +\\
  21.124 +^  Page Review Section  ^^ 
  21.125 +|Quality| Good  |
  21.126 +|Review| Minor Updates  |
  21.127 +|Priority| Medium |
  21.128 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  21.129 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  21.130 +|How to Improve| Add tazhw setup bluetooth ; Please create "sections" for toc|
  21.131 +|::: |  |
  21.132 +
  21.133 +\\
  21.134 +----
  21.135 \ No newline at end of file
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/pages/en/guides/boottime.txt	Sat Feb 26 12:17:18 2011 +0000
    22.3 @@ -0,0 +1,40 @@
    22.4 +====== Boot time ======
    22.5 +
    22.6 +SliTaz boots fast! But most likely you haven't turned super fast boot on yet. To do this, just edit your ///etc/rcS.conf// :
    22.7 +<file> FAST_BOOT_X="yes" </file>
    22.8 +
    22.9 +Remove dbus, hald and slim from the RUN_DAEMONS array. That's all. Note, on some machines, FAST_BOOT_X may not boot properly. However, if Xvesa/Xorg works after you enable this feature, it's safe to leave it on. 
   22.10 +
   22.11 +Now, how do you measure the boot time? SliTaz logs time that rcS scripts take to run in the ///var/log/boot-time// file. In my case, it shows 5 secs. 
   22.12 +
   22.13 +But, how do you graph your full boot process (including the kernel-boot time)? Its quite easy on SliTaz. Just do and install the following:
   22.14 +
   22.15 +<code> # tazpkg get-install pybootchartgui </code>
   22.16 +
   22.17 +Pybootchartgui will then create a chart automatically in ///var/log//. 
   22.18 +
   22.19 +Now, just edit your //menu.lst// file for grub and add init=/sbin/bootchartd. In my case, it's like this:
   22.20 +
   22.21 +<file>
   22.22 +title slitaz with bootchart
   22.23 +root (hd0,8)
   22.24 +kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda9 init=/sbin/bootchartd quiet
   22.25 +</file>
   22.26 +
   22.27 +Here's my boot chart with WPA2 wifi (under 10 secs boot time on a laptop with hard disk). This is out-of-the-box!!!:
   22.28 +
   22.29 +{{ :en:guides:image:bootchart.png?100 |My bootchart}}
   22.30 +
   22.31 +---- 
   22.32 +\\
   22.33 +^  Page Review Section  ^^ 
   22.34 +|Quality| Good  |
   22.35 +|Review| Minor Updates  |
   22.36 +|Priority| Medium |
   22.37 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   22.38 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   22.39 +|How to Improve| Suggest briefly|
   22.40 +|::: |  |
   22.41 +
   22.42 +\\
   22.43 +----
   22.44 \ No newline at end of file
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/pages/en/guides/bugs.txt	Sat Feb 26 12:17:18 2011 +0000
    23.3 @@ -0,0 +1,19 @@
    23.4 +====== BUGS ======
    23.5 +
    23.6 +The problems listed in this page refer to the Slitaz 3.0 environment.
    23.7 +
    23.8 +===== Burning a CD with Burnbox =====
    23.9 +
   23.10 +To burn a CD, you have to be root (it will NOT work from your default TUX account, even if TUX has been added to the cdrom group). 
   23.11 +
   23.12 +In Burnbox; enclose the file and folder names between quotes if they contain a space (eg "My Documents"), otherwise it will fail to find the document.
   23.13 +
   23.14 +===== Abiword =====
   23.15 +
   23.16 +With AbiWord you MUST install glibc-locale too, it was forgotten as a dependency, but it is needed for AbiWord to work properly.
   23.17 +
   23.18 +===== Chat entry of the Internet menu =====
   23.19 +
   23.20 +This should install pidgin and skype. Practically it has sometimes (but not always) installed pidgin, and always failed to install Skype.
   23.21 +Install Pigin and Skype (well, get-skype) from the package manager.
   23.22 + 
   23.23 \ No newline at end of file
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/pages/en/guides/chroot.txt	Sat Feb 26 12:17:18 2011 +0000
    24.3 @@ -0,0 +1,96 @@
    24.4 +====== Chroot =======
    24.5 +
    24.6 +This guide explain how to setup a chroot to cook packages in a separate environment. The chroot can be built on a USB or HDD device to save RAM when using a live session. There is also a script which removes any packages installed during cooking on exit in order to keep the chroot light and also checks the build_depends.
    24.7 +
    24.8 +===== With Tazdev =====
    24.9 +
   24.10 +Over time the SliTaz developers created tools for the automation of various tasks. The slitaz-dev-tools package provides the tazdev utility and its configuration file /etc/slitaz/tazdev.conf; it can create a chroot to use:
   24.11 +
   24.12 +<code>
   24.13 +# tazpkg get-install slitaz-dev-tools
   24.14 +# tazdev gen-chroot
   24.15 +# tazdev chroot
   24.16 +</code>
   24.17 +
   24.18 +By default the chroot is created in ///home/slitaz/cooking/chroot// and is slitaz-based. For more info and available commands you can use 'tazdev usage' and/or take a look at the configuration file.
   24.19 +
   24.20 +===== Create the chroot =====
   24.21 +<file>
   24.22 +#!/bin/sh
   24.23 +mkdir /home/chroot
   24.24 +# You can mount a device to /home/chroot
   24.25 +# with mountbox or mount
   24.26 +tazpkg get-install busybox --root="/home/chroot"
   24.27 +echo "No" | tazpkg get-install bash --root="/home/chroot"
   24.28 +tazpkg get-install slitaz-toolchain --root="/home/chroot"
   24.29 +tazpkg get-install tazwok --root="/home/chroot"
   24.30 +tazpkg get-install tazpkg --root="/home/chroot"
   24.31 +tazpkg get-install lzma --root="/home/chroot"
   24.32 +mkdir /home/chroot/home/slitaz</file>
   24.33 +
   24.34 +Note, you can keep these lines in a script file if needed. Just add #!/bin/sh to the first line and make executable with:
   24.35 +<code># chmod +x script_file</code>
   24.36 +
   24.37 +===== Add a script file to automate some actions =====
   24.38 +
   24.39 +<code># cat > /home/chroot/chroot_script.sh << "EOF"</code>
   24.40 +<file>
   24.41 +#!/bin/sh
   24.42 +/bin/sh --login
   24.43 +for pkg in $(cat /var/log/tazpkg.log | grep -v Removed | sed 's/\(.*\)\(- Installed - \)\(.*\)\( (.*\)/\3/'); do
   24.44 +	echo "y" | tazpkg remove $pkg
   24.45 +done
   24.46 +rm /var/log/tazpkg.log
   24.47 +
   24.48 +EOF
   24.49 +</file>
   24.50 +<code># chmod +x "/home/chroot/chroot_script.sh"</code>
   24.51 +
   24.52 +Note, /bin/sh --login logs you into the chrooted environment. The commands after that auto-remove any packages added when cooking on exit. You can hack this file to execute various automated actions when entering and exiting the chroot.
   24.53 +
   24.54 +===== Add a script to mount and umount chroot =====
   24.55 +
   24.56 +<code># cat > /usr/bin/tazchroot << "EOF"</code>
   24.57 +<file>
   24.58 +#!/bin/sh
   24.59 +cat /etc/resolv.conf > /home/chroot/etc/resolv.conf
   24.60 +if [ ! -d "/home/chroot/proc/1" ]; then
   24.61 +	echo "Mounting virtual filesystems..."
   24.62 +	mount -t proc proc /home/chroot/proc
   24.63 +	mount -t sysfs sysfs /home/chroot/sys
   24.64 +	mount -t devpts devpts /home/chroot/dev/pts
   24.65 +	mount -t tmpfs shm /home/chroot/dev/shm
   24.66 +	mount /home/slitaz /home/chroot/home/slitaz
   24.67 +	chroot /home/chroot ./chroot_script.sh
   24.68 +	until [ "$ps" = "2" ]; do
   24.69 +		echo "Waiting for the end of all other chroot processes..."
   24.70 +		ps=$(ps | grep `basename $0` | grep -v grep | grep -v basename | wc -l)
   24.71 +		sleep 1
   24.72 +	done
   24.73 +	umount /home/chroot/home/slitaz
   24.74 +	umount /home/chroot/dev/shm
   24.75 +	umount /home/chroot/dev/pts
   24.76 +	umount /home/chroot/sys
   24.77 +	umount /home/chroot/proc
   24.78 +else
   24.79 +	echo "The chroot is already mounted"
   24.80 +fi
   24.81 +EOF
   24.82 +</file>
   24.83 +<code># chmod +x /usr/bin/tazchroot</code>
   24.84 +
   24.85 +Note, this script mounts ///home/slitaz// in your chroot, so you can use tazwok as if it was in your normal environment.
   24.86 +
   24.87 +---- 
   24.88 +\\
   24.89 +^  Page Review Section  ^^ 
   24.90 +|Quality| Good  |
   24.91 +|Review| Minor Updates  |
   24.92 +|Priority| Medium |
   24.93 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   24.94 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   24.95 +|How to Improve| Suggest briefly|
   24.96 +|::: |  |
   24.97 +
   24.98 +\\
   24.99 +----
  24.100 \ No newline at end of file
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/pages/en/guides/conspy.txt	Sat Feb 26 12:17:18 2011 +0000
    25.3 @@ -0,0 +1,107 @@
    25.4 +====== Conspy : tiny screen or VNC ======
    25.5 +
    25.6 +Slitaz core provides the 10Kb conspy to get remote control of Linux virtual consoles. See http://ace-host.stuart.id.au/russell/files/conspy/
    25.7 +
    25.8 +Slitaz opens 6 virtual consoles which you can access with Ctrl-Alt-F1 to Ctrl-Alt-F6. You can connect to console 1 with //conspy 1// and console n with //conspy n// or the current active console with //conspy// (root user only).
    25.9 +
   25.10 +To exit from conspy (and the virtual console) press the escape key three times in quick succession.
   25.11 +
   25.12 +===== Conspy as screen (session manager) =====
   25.13 +
   25.14 +Linux supports up to 63 virtual consoles. You can have up to 62 (63 - X11 on console 7) sessions. Six sessions are already opened by Slitaz.
   25.15 +You can open a new console / new session (say console 28) with //openvt -c 28 /bin/login// or //openvt -c 28 /bin/ash//.
   25.16 +You can free this virtual console with //deallocvt 28//.
   25.17 +
   25.18 +Example:
   25.19 +<code>
   25.20 +home$ ssh tux@slitazbox
   25.21 +box$ su
   25.22 +box# openvt -c 28 /bin/ash
   25.23 +box# conspy 28
   25.24 +# some commands
   25.25 +...
   25.26 +# <ESC><ESC><ESC>
   25.27 +box# exit
   25.28 +box$ exit
   25.29 +</code>
   25.30 +Later:
   25.31 +<code>
   25.32 +home$ ssh tux@slitazbox
   25.33 +box$ su
   25.34 +box# conspy 28
   25.35 +# more commands
   25.36 +...
   25.37 +# <ESC><ESC><ESC> 
   25.38 +box# exit
   25.39 +box$ exit
   25.40 +</code>
   25.41 +To close the session:
   25.42 +<code>
   25.43 +home$ ssh tux@slitazbox
   25.44 +box$ su
   25.45 +box# conspy 28
   25.46 +# exit
   25.47 +<ESC><ESC><ESC>
   25.48 +box# deallocvt 28
   25.49 +box# exit
   25.50 +box$ exit
   25.51 +</code>
   25.52 +If you prefer to use screen, see http://www.gnu.org/software/screen:
   25.53 +<code>
   25.54 +# tazpkg get-install screen
   25.55 +$ screen -S MySession
   25.56 +</code>
   25.57 +
   25.58 +===== Conspy as VNC (shared console) =====
   25.59 +
   25.60 +You can share a virtual console between two or more users.
   25.61 +Say RemoteUser wants to show some commands to SlitazUser using SlitazBox.
   25.62 +RemoteUser selects SlitazUser's console with //chvt//:
   25.63 +<code>
   25.64 +home$ ssh SlitazBox
   25.65 +SlitazBox$ su
   25.66 +SlitazBox# chvt 1
   25.67 +SlitazBox# conspy 1
   25.68 +</code>
   25.69 +Now both users show the same terminal. A third user can do //conspy 1// too.
   25.70 +
   25.71 +If you prefer to share the X11 display, install x11vnc (VNC server) and x11vnc-extra (java VNC client) see http://www.karlrunge.com/x11vnc/:
   25.72 +<code>
   25.73 +SlitazBox# tazpkg get-install x11vnc
   25.74 +SlitazBox# tazpkg get-install x11vnc-extra
   25.75 +SlitazBox# /etc/init.d/x11vnc start
   25.76 +</code>
   25.77 +<code>
   25.78 +home$ su
   25.79 +home# get-java-jre
   25.80 +home# exit
   25.81 +home$ firefox http://SlitazBox:5800/ultrasigned.vnc
   25.82 +</code>
   25.83 +
   25.84 +===== Conspy and slow connections =====
   25.85 +
   25.86 +Launch a very verbose command into a conspy and the output is displayed at full speed in the virtual console what ever your connection speed to the remote box is, even if your connection is broken. 
   25.87 +===== Conspy and Busybox =====
   25.88 +
   25.89 +Conspy is a busybox applet since busybox 1.17.0. It adds 2.5Kb to busybox, has better terminal support and supports some new options:
   25.90 +  * -c to create missing devices (/dev/vcsaXX and /dev/ttyXX)
   25.91 +  * -d for screen shot<code># conspy -d 28 > screen28.txt</code>
   25.92 +  * -s to launch a shell<code># conspy -cs 28</code> (no more openvt)
   25.93 +  * -x COL -y LINE upper left corner position
   25.94 +  * -f follow cursor with automatic scrollings
   25.95 +
   25.96 +The conspy applet is enabled in the busybox package. The conspy package is no longer more useful than the recent busybox.
   25.97 +
   25.98 +---- 
   25.99 +\\
  25.100 +^  Page Review Section  ^^ 
  25.101 +|Quality| Good  |
  25.102 +|Review| Minor Updates  |
  25.103 +|Priority| Medium |
  25.104 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  25.105 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  25.106 +|How to Improve| Suggest briefly|
  25.107 +|::: |  |
  25.108 +
  25.109 +\\
  25.110 +----
  25.111 \ No newline at end of file
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/pages/en/guides/contributor.txt	Sat Feb 26 12:17:18 2011 +0000
    26.3 @@ -0,0 +1,68 @@
    26.4 +====== Contributing to SliTaz ======
    26.5 +
    26.6 +There are so many ways you can help out with the SliTaz community. If you have a little free time, anything from artwork to package testing would be greatly appreciated!
    26.7 +
    26.8 +Post a quick message to the forum or mailing list if you're unsure about anything. We don't bite!
    26.9 +
   26.10 +<note tip>We have a [[http://scn.slitaz.org/|Community Network]] where you can write blog posts, share wallpapers and images, and more. We encourage anyone that contributes to SliTaz to use this platform to show off their hard work!</note>
   26.11 +
   26.12 +\\
   26.13 +
   26.14 +===== Developers & Hackers =====
   26.15 +
   26.16 +=== Packaging ===
   26.17 +
   26.18 +If you are comfortable with the Linux compiling process (//configure, make, make install//), you can help by creating SliTaz packages. We have an automated tool to build packages from source called [[http://doc.slitaz.org/en:cookbook:wok|Tazwok]]. All SliTaz packages contain a [[en:cookbook:receipt|receipt]] - a text file where you control the building process using some variables and functions. You can browse the [[http://hg.slitaz.org/wok|wok]] to see some receipts and understand how they work. Please take time to read the [[en:cookbook:devcorner|Developer's]] page beforehand and practice locally with some new or existing packages.
   26.19 +
   26.20 +When you feel ready to start cooking, read the [[http://labs.slitaz.org/wiki/13/Pkgscooklist|packages cooklist]], pick one and test. You can submit your receipts to the Mailing List or contact a SliTaz dev, so that we can review the work and give you access to the repos.
   26.21 +
   26.22 +=== Package Testing and Debugging ===
   26.23 +
   26.24 +You can help SliTaz by testing packages and reporting bugs on the [[http://labs.slitaz.org/issues|Labs Issue Tracker]]. We have some [[http://labs.slitaz.org/wiki/packages|Package Testing Guidelines]]. You can use the testing project on the Labs, the forum or the mailing list to report any missing dependencies, unexpected package behavior, or wrong configurations, etc. 
   26.25 +
   26.26 +\\
   26.27 +
   26.28 +===== Writers & Translators =====
   26.29 +
   26.30 +Take a look at the [[:guidelines| SliTaz Documentation Guidelines]], pick your page and go! At this stage, we just need solid contributions which will then be reviewed and updated. We're undergoing a [[http://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/2010/04/msg00063.html|Summer of Documentation]], in which we're concentrating on all the docs. You'll be in good company.
   26.31 +
   26.32 +There's many areas in which you can help:
   26.33 +
   26.34 +  * **Are you experienced with SliTaz?**
   26.35 +Go for the Guides. They take users through a process and range from customising your desktop to getting networking set-up. If you've had success with a procedure or feel one could be improved, this is the place for you!
   26.36 +
   26.37 +  * **Are you a general Linux user?**
   26.38 +Take a look at the Handbook. A lot of general introduction to SliTaz, Linux or available software can be written there. Some people find it difficult to write technically, others struggle with more generically informative writing. Both are needed, in describing the topic and scope before brief instructions.
   26.39 +
   26.40 +  * **Do you speak non-English?**
   26.41 +Translations are very important to the global audience SliTaz attracts. We need speakers of the above languages to ensure non-English readers experience better translations than automated services can provide! Those are the locales supported by the SliTaz system. We are aiming to add more in the future -- if you can help, please do!
   26.42 +
   26.43 +\\
   26.44 +
   26.45 +===== Artists & Designers =====
   26.46 +
   26.47 +[[http://community.slitaz.org/image/tid/2|Wallpapers]] make a huge impact on the first impression users receive. Some reviews barely comment further on artwork than the wallpaper!
   26.48 +
   26.49 +\\
   26.50 +
   26.51 +===== PR & Journalism =====
   26.52 +
   26.53 +//(Could we put together some blurbs or short pieces of writing for the press & community? Maybe contacts for them?)//
   26.54 +
   26.55 +\\
   26.56 +
   26.57 +
   26.58 +---- 
   26.59 +\\
   26.60 +^  Page Review Section  ^^ 
   26.61 +|Quality| Low  |
   26.62 +|Review| Major Updates FIXME  |
   26.63 +|Priority| High |
   26.64 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   26.65 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   26.66 +|How to Improve| Suggest briefly, e.g.,|
   26.67 +|::: | [[en:guides:start | Add link]]|
   26.68 +|::: | Add new rows like this ;-)  |
   26.69 +
   26.70 +\\
   26.71 +----
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/pages/en/guides/cpu-frequency.txt	Sat Feb 26 12:17:18 2011 +0000
    27.3 @@ -0,0 +1,93 @@
    27.4 +======= CPU Frequency Scaling =======
    27.5 +
    27.6 +==== Introduction ====
    27.7 +
    27.8 +To reduce power consumption is not only essential for portable computers: it is also essential to use it on desktop machines to reduce unnecessary CO2 emissions. You can save power by turning off not needed hardware components like WiFi, Bluetooth, etc., switching off or reducing the monitor backlight, spinning down HDDs and controlling the CPU frequency. 
    27.9 +
   27.10 +CPU frequency scaling is built into the 2.6 kernel and available; but because Slitaz is very small and light, you have to install some additional tools and set it up by yourself.
   27.11 +
   27.12 +==== Installation ====
   27.13 +
   27.14 +Install linux-cpufreq, linux-acpi, cpufrequtils and optional powertop (for easy controlling) - cpufrequtils and powertop we have to take from cooking, because cpufrequtils does not exist in 3.0 and powertop is buggy.
   27.15 +
   27.16 +<code># tazpkg get-install linux-cpufreq
   27.17 +# tazpkg get-install linux-acpi,
   27.18 +# wget http://mirror.slitaz.org/packages/cooking/cpufrequtils-008.tazpkg
   27.19 +# wget http://mirror.slitaz.org/packages/cooking/powertop-1.13.tazpkg
   27.20 +# tazpkg install cpufrequtils-008.tazpkg
   27.21 +# tazpkg install powertop-1.13.tazpkg
   27.22 +</code>
   27.23 +
   27.24 +==== Cpu driver ====
   27.25 +
   27.26 +You have to load the correct CPU kernel driver for your CPU - if you don't know, which CPU is in your PC you can get it from:
   27.27 +
   27.28 +<file> $ cat /proc/cpuinfo</file>
   27.29 +
   27.30 +Depending on the CPU, load one of the following modules - if you choose the wrong driver, you will get an error message, the module is not loaded and nothing goes wrong. 
   27.31 +
   27.32 +Generic ACPI P-States based driver:
   27.33 +<code> # modprobe acpi-cpufreq</code>
   27.34 +AMD mobile K6-2/3+ PowerNow!:
   27.35 +<code> # modprobe powernow-k6</code>
   27.36 +AMD mobile Athlon PowerNow!:
   27.37 +<code> # powernow-k7</code>
   27.38 +AMD Cool&Quiet PowerNow!(up to AMD "K10" CPU):
   27.39 +<code> # modprobe powernow-k8</code>
   27.40 +Intel SpeedStep using the SMI BIOS interface:
   27.41 +<code> # modprobe speedstep-smi</code>
   27.42 +Intel SpeedStep on ICH-based chipsets:
   27.43 +<code> # speedstep-ich</code>
   27.44 +Intel Enhanced SpeedStep (deprecated - use acpi-cpufreq):
   27.45 +<code> # modprobe speedstep-centrino</code>
   27.46 +Intel Pentium4/Xeon - The kernel documentation says "This adds the CPUFreq driver for Intel Pentium 4 / XEON processors.  When enabled it will lower CPU temperature by skipping clocks. This driver should be only used in exceptional circumstances when very low power is needed because it causes severe slowdowns and noticeable latencies.  Normally Speedstep should be used instead." - the p4-clockmod supports only performance and powersave governors (due to the long transition latency of the module itself):
   27.47 +<code> # modprobe p4-clockmod</code>
   27.48 +NatSemi Geode GX / Cyrix MediaGXm:
   27.49 +<code> # modprobe gx-suspmod</code>
   27.50 +Transmeta Crusoe / Efficeon LongRun:
   27.51 +<code> # modprobe longrun</code>
   27.52 +VIA Cyrix Longhaul:
   27.53 +<code> # /sbin/modprobe longhaul</code>
   27.54 +nForce2 FSB changing cpufreq driver:
   27.55 +<code> # modprobe cpufreq-nforce2</code>
   27.56 +Enhanced PowerSaver driver for VIA C7 CPUs:
   27.57 + <code> # modprobe e_powersaver</code>
   27.58 +
   27.59 +==== Scaling governors ====
   27.60 +
   27.61 +Governors can be thought of as pre-configured power schemes for the CPU. 
   27.62 +
   27.63 +Available governors:
   27.64 +
   27.65 +**cpufreq_performance (default in SliTaz)** \\
   27.66 +The performance governor is built into the kernel and runs the CPU(s) at maximum clock speed 
   27.67 +
   27.68 +**cpufreq_ondemand (also built into the kernel)** \\ 
   27.69 +Dynamically increases/decreases the CPU(s) clock speed based on system load 
   27.70 +
   27.71 +**cpufreq_conservative** \\ 
   27.72 +Similar to ondemand, but more conservative (clock speed changes are more graceful) 
   27.73 +
   27.74 +**cpufreq_powersave** \\ 
   27.75 +Runs the CPU at minimum speed 
   27.76 +
   27.77 +**cpufreq_userspace** \\ 
   27.78 +Manually configured clock speeds by user 
   27.79 +
   27.80 +The built in governors must not be loaded - the others must be loaded with modprobe - you may load as many governors as desired (only one will be active at any given time). 
   27.81 +
   27.82 +Which poses the question, which governor saves most energy? The Powersave governor will only save you power if you're playing 3D games (it does not save power because application process completion times are prolonged at the lower processor frequency and the system does not enter a deep C-state. The greatest power savings occur at idle in deeper C-states) and the performance governor will basically never give you extra performance. Don't use them - therefore I am not happy that the performance governor is used by default in SliTaz. So you might choose between ondemand and conservative, which is a matter of taste.
   27.83 +
   27.84 +The userspace governor is necessary for third party applications - like cpupowerd http://www.themaxer.com/index.php?option=com_content&view=article&id=86:undervolting-your-cpu&catid=41:nas&Itemid=81 - unfortunately it does not work in SliTaz, because the kernel config for CONFIG_X86_MSR is not set.
   27.85 +
   27.86 +==== Select the governor ====
   27.87 +
   27.88 +At this point everything is prepared but no active governor selected - so no power saving yet.
   27.89 +
   27.90 +Use the 'cpufreq-set' command to activate one of the governors - for example:
   27.91 +
   27.92 +<code> # cpufreq-set -g ondemand</code>
   27.93 +
   27.94 +Please note, if you have a dual-core or multiple-core CPU, you must explicitly specify the CPU. There are CPUs where each core can run with different settings! Example for a dual-core CPU:
   27.95 +
   27.96 +<code> # cpufreq-set -c 0 -c 1 -g conservative</code>
   27.97 \ No newline at end of file
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/pages/en/guides/cricket-a600.txt	Sat Feb 26 12:17:18 2011 +0000
    28.3 @@ -0,0 +1,111 @@
    28.4 +====== Setting Up The Cricket A600 Broadband Modem ======
    28.5 +
    28.6 +===== Introduction =====
    28.7 +
    28.8 +First thing you need to do is download wvdial and all it's dependencies. It will do that automatically. From terminal as root:
    28.9 +<code> # tazpkg get-install wvdial</code>
   28.10 +
   28.11 +Download this:[[http://people.slitaz.org/~jozee/packages/3G_modem/usb_modeswitch-1.0.5.tazpkg|Jozee's USB_Modeswitch]] Then from terminal as root install it:
   28.12 +<code> # tazpkg install /path/to/usb_modeswitch-1.0.5.tazpkg</code>
   28.13 +/path/to is where you downloaded it to. So you will need to adjust the above.
   28.14 +
   28.15 +Make a script called flipflop.sh You can place it anywhere but I am going to use where I have it as an example:
   28.16 +///home/tux/scripts///
   28.17 +
   28.18 +If you use another name besides "tux" then adjust it accordingly. Now open up flipflop.sh with your prefered editor. Put the following in it and save the file:
   28.19 +<file>
   28.20 +/usr/sbin/usb_modeswitch
   28.21 +sleep 15
   28.22 +usb_modeswitch -v 0x1f28 -p 0x0020 -R 1
   28.23 +</file>
   28.24 +From terminal we need to chmod it so you can use the script: 
   28.25 +<code> # chmod a+x /home/tux/scripts/flipflop.sh</code>
   28.26 +Again if you have it saved somewhere else then adjust accordingly. Sorry to repeat that lol.
   28.27 +
   28.28 +===== wvdial.conf =====
   28.29 +
   28.30 +We have now installed all that we need to install. There are just a few more steps involved. We need to edit wvdial.conf . As root from terminal enter this:
   28.31 +<code> # leafpad /etc/wvdial.conf</code>
   28.32 +In wvdial.conf we need to make it look like this:
   28.33 +<file>
   28.34 +[Dialer Defaults]
   28.35 +Modem = /dev/ttyACM0
   28.36 +Baud = 460800
   28.37 +Stupid Mode = 1
   28.38 +Auto DNS = 1
   28.39 +Init1 = ATZ
   28.40 +Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
   28.41 +ISDN = 0
   28.42 +Modem Type = USB Modem
   28.43 +Phone = #777
   28.44 +FlowControl = Hardware (CRTSCTS)
   28.45 +Dial Command = ATDT
   28.46 +Username = Your Cricket Number Goes Here.
   28.47 +Password = Cricket
   28.48 +</file>
   28.49 +
   28.50 +Where it says "Your Cricket Number Goes Here" replace that with your cricket number. Your cricket number should be on your monthly bill if you don't know what it is. Once it is done save the file.
   28.51 +
   28.52 +Now again as root in terminal issue this command:
   28.53 +<code> # /home/tux/scripts/flipflop.sh</code>
   28.54 +
   28.55 +You should get something like this below:
   28.56 +<code>
   28.57 +Looking for target devices ...
   28.58 + No devices in target mode or class found
   28.59 +Looking for default devices ...
   28.60 + Found default devices (1)
   28.61 + Found a default device NOT in target class mode
   28.62 +Accessing device 003 on bus 002 ...
   28.63 +Using endpoints 0x08 (out) and 0x87 (in)
   28.64 +Inquiring device details; driver will be detached ...
   28.65 +Looking for active driver ...
   28.66 + OK, driver found ("dummy")
   28.67 + OK, driver "dummy" detached
   28.68 +
   28.69 +Received inquiry data (detailed identification)
   28.70 +-------------------------
   28.71 +  Vendor String: Cricket 
   28.72 +   Model String: T-Flash Disk    
   28.73 +Revision String: 2.31
   28.74 +-------------------------
   28.75 +
   28.76 +Device description data (identification)
   28.77 +-------------------------
   28.78 +Manufacturer: Cal-comp E&CC Limited 
   28.79 +     Product: USB Micro SD Storage
   28.80 +  Serial No.: XXXXXXXXXXXXXXX
   28.81 +-------------------------
   28.82 +Setting up communication with interface 0 ...
   28.83 +Trying to send the message to endpoint 0x08 ...
   28.84 + OK, message successfully sent
   28.85 + Device is gone, skipping any further commands
   28.86 +-> Run lsusb to note any changes. Bye.
   28.87 +
   28.88 +
   28.89 +Looking for target devices ...
   28.90 + No devices in target mode or class found
   28.91 +Looking for default devices ...
   28.92 + No default device found. Is it connected? Bye.
   28.93 +
   28.94 +tux@slitaz:~$
   28.95 +</code>
   28.96 +
   28.97 +It looks like it totally failed but it didn't. It just doesn't know what the driver is. Again from root execute this command:
   28.98 +<code> # modprobe cdc_acm</code>
   28.99 +That should be the last time you have to enter that command. We will now add it to to the LOAD_MODULES line in /etc/rcS.conf to load at boot.
  28.100 +
  28.101 +===== rcS.conf =====
  28.102 +
  28.103 +From terminal as root:
  28.104 +<code> # leafpad /etc/rcS.conf</code>
  28.105 +Go down to the following line:
  28.106 +<file>LOAD_MODULES="snd_intel8x0 yenta_socket rtc agpgart intel-agp"</file>
  28.107 +Add this to the line: "cdc_acm" It should now look like this:
  28.108 +<file>LOAD_MODULES="snd_intel8x0 yenta_socket rtc cdc_acm agpgart intel-agp"</file>
  28.109 +Save it and exit.
  28.110 +
  28.111 +We are almost done. From terminal as root again give this command:
  28.112 +<code>  # wvdial</code>
  28.113 +
  28.114 +It should now dial and connect. Do not close the terminal or it will disconnect. Everytime you poweroff or unplug the modem you have to do the flipflop.sh like I showed you above. If you just reboot your computer you don't have to do the flipflop.sh. Good Luck 
  28.115 \ No newline at end of file
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/pages/en/guides/dialup.txt	Sat Feb 26 12:17:18 2011 +0000
    29.3 @@ -0,0 +1,150 @@
    29.4 +====== 3G-UMTS =======
    29.5 +
    29.6 +The # sign means that you do this command as root on your console:
    29.7 +
    29.8 +===== Automatic Installation =====
    29.9 +
   29.10 +The new hwsetup in SliTaz 3.0 now adds automatic installation for 3G (still in trial version).
   29.11 +
   29.12 +<code># tazhw setup 3g-modem</code>
   29.13 +
   29.14 +Now open the wvdial box by typing y, enter your data (as described in wvdial.conf), save the configuration (if you don't save you risk breaking your pin), dial the pin (you have to do this only once you plug in your modem), then start dialing and you should be connected.
   29.15 +
   29.16 +===== Manual Installation =====
   29.17 +
   29.18 +<code>
   29.19 +# tazpkg get-install wvdial
   29.20 +# tazpkg get-install linux-dialup 
   29.21 +</code>
   29.22 +
   29.23 +You have to bring down your network, otherwise you will have a route problem:
   29.24 +
   29.25 +<code>
   29.26 +# ifconfig eth0 down
   29.27 +# ifconfig eth1 down
   29.28 +</code>
   29.29 +
   29.30 +You have to switch on the modem with:
   29.31 +
   29.32 +<code>
   29.33 +# modprobe option  (Huawei E220, E160g, Venus-VT12)
   29.34 +</code>
   29.35 +
   29.36 +Please help update which modem or phone is using which module using the forum post: http://labs.slitaz.org/issues/show/149. You will find if your modem is supported by linux-dialup.
   29.37 +
   29.38 +There is an extra guide for the [[http://doc.slitaz.org/en-guides:cricket-a600|Cricket-a600]]
   29.39 +
   29.40 +For automatization load the module at startup with your Slitaz Control Box.
   29.41 +
   29.42 +===== wvdial.conf =====
   29.43 +
   29.44 +Check the modem if it is /dev/ttyUSB* or /dev/ttyACM* (e.g. with #dmesg) and edit your wvdial.conf (here as an example):
   29.45 +
   29.46 +<code>
   29.47 +# leafpad /etc/wvdial.conf
   29.48 +</code>
   29.49 +
   29.50 +<file>
   29.51 +[Dialer pin]
   29.52 +Modem = /dev/ttyUSB0
   29.53 +Init1 = AT+CPIN=1234...................,.....!!here's your pin!!
   29.54 +
   29.55 +[Dialer umts]
   29.56 +Modem = /dev/ttyUSB0
   29.57 +ISDN = off
   29.58 +Modem Type = USB Modem
   29.59 +Baud = 460800
   29.60 +Init = ATZ
   29.61 +Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
   29.62 +Dial Prefix =
   29.63 +Dial Attempts = 1
   29.64 +Dial Command = ATM1L3DT
   29.65 +Ask Password = off
   29.66 +Auto Reconnect = off
   29.67 +Abort on Busy = off
   29.68 +Carrier Check = on
   29.69 +Check Def Route = on
   29.70 +Abort on No Dialtone = on
   29.71 +Stupid Mode = off
   29.72 +Idle Seconds = 0
   29.73 +Init3 = AT+CGDCONT=1,"IP","drei.at".....!!here's your string!!
   29.74 +Username = drei.at...........................!!here's your Usern!!
   29.75 +Password = drei.at...........................!!here's your Passw!!
   29.76 +Phone = *99#.................................!!here's your Phone!!
   29.77 +</file>
   29.78 +
   29.79 +All the needed data can be found here:
   29.80 +
   29.81 +Austria, Germany,Switzerland: http://linux.frankenberger.at/Huawei_E220_Daten.html
   29.82 +
   29.83 +World:http://www.flexispy.com/Mobile%20APN%20Setting%20to%20use%20GPRS.htm
   29.84 +
   29.85 +But you can search the net with the name of your provider and wvdial.conf and I think you will need to.
   29.86 +
   29.87 +To connect do:
   29.88 +
   29.89 +<code>
   29.90 +# wvdial pin
   29.91 +# wvdial umts
   29.92 +</code>
   29.93 +
   29.94 +You can put the pin also in Dialer umts, but I use my modem most of the time on the train, and you would get an error when you reconnect (when the connection breaks) - so use wvdial pin only the first time you plug in the modem.
   29.95 +
   29.96 +The only thing thats left is to put the DNS in resolv.conf (you will find the DNS in the two lists with all the data).
   29.97 +
   29.98 +<code>
   29.99 +# leafpad /etc/resolv.conf
  29.100 +</code>
  29.101 +
  29.102 +<file>
  29.103 +nameserver 213.94.78.16........................!!here's your DNS!!
  29.104 +</file>
  29.105 +
  29.106 +If you want to dial out as user - add yourself to the group "dialout" (cat /etc/group) and set the permissions for wvdial and wvdial.conf.
  29.107 +
  29.108 +For automatization you can put a script in /usr/local/bin called umts-connect (executable)! From here it's not proved, because I connect from the console, but it should work like this!
  29.109 +
  29.110 +<code bash>
  29.111 +#! /bin/bash
  29.112 +ifconfig eth0 down
  29.113 +ifconfig eth1 down
  29.114 +wvdial pin
  29.115 +wvdial umts
  29.116 +</code>
  29.117 +
  29.118 +But dont reconnect with this.
  29.119 +
  29.120 +===== Desktop entry =====
  29.121 +
  29.122 +You can also put a desktop entry in /usr/share/applications with the name umts.desktop 
  29.123 +
  29.124 +<file>
  29.125 +[Desktop Entry]
  29.126 +Encoding=UTF8
  29.127 +Name=UMTS connection
  29.128 +Name[de]=UMTS-Verbindung
  29.129 +Comment=UMTS-Verbindung
  29.130 +Type=Application
  29.131 +Exec=/usr/local/bin/umts-connect
  29.132 +Icon=/usr/share/icons/.................whatever you want
  29.133 +Categories=Application;Network;
  29.134 +</file>
  29.135 +
  29.136 +Please check Exec=/usr/local/bin/umts-connect for permissions.
  29.137 +
  29.138 +Here is the forum post about this: http://forum.slitaz.org/index.php/discussion/comment/440/#Comment_440
  29.139 +
  29.140 +
  29.141 +---- 
  29.142 +\\
  29.143 +^  Page Review Section  ^^ 
  29.144 +|Quality| Good  |
  29.145 +|Review| Minor Updates  |
  29.146 +|Priority| Medium |
  29.147 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  29.148 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  29.149 +|How to Improve| Suggest briefly|
  29.150 +|::: |  |
  29.151 +
  29.152 +\\
  29.153 +----
  29.154 \ No newline at end of file
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/pages/en/guides/dvd.txt	Sat Feb 26 12:17:18 2011 +0000
    30.3 @@ -0,0 +1,79 @@
    30.4 +====== All Slitaz resources on one DVD ======
    30.5 +
    30.6 +A bootable DVD image of all available packages version is generated every day. See http://www.slitaz.org/en/get/ . Both cooking or stable versions are built; they contain:
    30.7 +
    30.8 +    * a Slitaz boot
    30.9 +    * a copy of the website
   30.10 +    * a snapshot of the wok
   30.11 +    * all official packages
   30.12 +
   30.13 +It is designed to be used without an internet connection.
   30.14 +
   30.15 +===== Hybrid ISO =====
   30.16 +
   30.17 +The ISO image should be burned onto a DVD using:
   30.18 +<code>
   30.19 +# wodim -v dev=/dev/dvd packages-cooking.iso
   30.20 +</code>
   30.21 +It can also be written onto a USB key (say the key is /dev/usbkey). USE WITH CAUTION this will erase all your data.
   30.22 +<code>
   30.23 +# dd if=packages-cooking.iso of=/dev/usbkey
   30.24 +</code>
   30.25 +After writing the USB key, you can create partitions to get back the remaining storage.
   30.26 +<code>
   30.27 +# fdisk /dev/usbkey
   30.28 +</code>
   30.29 +The USB key is bootable. If your BIOS doesn't support USB boot, you can boot plop from http://www.slitaz.org/en/get/#floppy floppy.
   30.30 +
   30.31 +===== Burnable on CDROM =====
   30.32 +
   30.33 +The files on the ISO image are ordered in 5 groups:
   30.34 +
   30.35 +    - the boot files
   30.36 +    - the loram boot files
   30.37 +    - the website
   30.38 +    - the wok
   30.39 +    - the packages
   30.40 +
   30.41 +The four first groups fit in the first 100-200Mb of the ISO image. If you don't need the packages, you can burn it onto a mini-cdrom (8cm/210Mb)
   30.42 +<code>
   30.43 +# wodim -v dev=/dev/cdrom packages-cooking.iso
   30.44 +</code>
   30.45 +The packages are stored in alphabetical order. 915resolution should likely be present but zsh surely not. The directories are stored at the beginning of the image and are always present. If you try to load a non-present package (zsh) you will get an I/O error.
   30.46 +
   30.47 +===== Dual boot =====
   30.48 +
   30.49 +Both core and loram (loram-cdrom to be exact) boot files are stored in the ISO image. The default boot entry (slitaz) will select which to start according to your RAM size. You can force the choice with //core// or //loram// keyword:
   30.50 +<code>
   30.51 +boot: loram screen=1280x1024
   30.52 +</code>
   30.53 +With core boot you can:
   30.54 +
   30.55 +    * unmount the DVD (umount /cdrom)
   30.56 +    * test (install) packages in RAM
   30.57 +
   30.58 +You can't do that with loram boot because it has /usr mounted read-only from the DVD. You can install slitaz on a hard disk with both boot files.
   30.59 +
   30.60 +===== Auto install =====
   30.61 +
   30.62 +During boot the following is performed:
   30.63 +
   30.64 +    * the DVD is mounted in /cdrom, the wok is onto /home/slitaz/wok
   30.65 +    * a pseudo tazpkg recharge links packages from the DVD
   30.66 +    * the slitaz web site is installed in file:///cdrom/website/index.html//
   30.67 +
   30.68 +Note: USB key users should read USB key instead of DVD
   30.69 +
   30.70 +---- 
   30.71 +\\
   30.72 +^  Page Review Section  ^^ 
   30.73 +|Quality| Good  |
   30.74 +|Review| Minor Updates  |
   30.75 +|Priority| Medium |
   30.76 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   30.77 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   30.78 +|How to Improve| Suggest briefly|
   30.79 +|::: |  |
   30.80 +
   30.81 +\\
   30.82 +----
   30.83 \ No newline at end of file
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/pages/en/guides/faq-dependency.txt	Sat Feb 26 12:17:18 2011 +0000
    31.3 @@ -0,0 +1,29 @@
    31.4 +
    31.5 +====== An Application Cannot Find Libraries/Files ======
    31.6 +
    31.7 +===== Symptoms =====
    31.8 +
    31.9 +  *  When run in a Terminal, an application fails with the message:
   31.10 +<code> [name]: error while loading shared libraries: [library].so.*: cannot open shared object file: No such file or directory</code>
   31.11 +
   31.12 +===== Explanation =====
   31.13 +
   31.14 +The program is missing some files it needs to run. This is caused by the package information missing a reference to another, or not including the file.
   31.15 +
   31.16 +===== Solution =====
   31.17 +
   31.18 +Check if the file required is available in another package. Use the package manager (TazPkg) to search for the file:
   31.19 +  * start the package manager
   31.20 +  * 'Recharge' the package lists, if necessary 
   31.21 +  * click the "Search" tab 
   31.22 +  * in the //Search// box, enter the file-name ([library].so) and click "Files"
   31.23 +  * install the package (pick that with the closest name if there is more than one) by double-clicking the entry and clicking //Install Package//
   31.24 +
   31.25 +Alternatively, run the following command from a terminal:
   31.26 +<code>tazpkg search-pkgname library.so</code>
   31.27 +
   31.28 +
   31.29 +... and install the appropriate package with:
   31.30 +<code> tazpkg get-install [package] </code>
   31.31 +
   31.32 +If no packages are given, report this as a bug over at the [[http://labs.slitaz.org|Labs]] as it needs to be included, or the dependency removed during the build.
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/pages/en/guides/faq-login.txt	Sat Feb 26 12:17:18 2011 +0000
    32.3 @@ -0,0 +1,37 @@
    32.4 +====== Cannot Login to Desktop ======
    32.5 +
    32.6 +===== Symptoms =====
    32.7 +
    32.8 +  * Slim, the SliTaz Login Manager, fails with the message:
    32.9 +<code> failed to execute login command </code>
   32.10 +
   32.11 +===== Explanation =====
   32.12 +
   32.13 +This is caused when files in the user's /home directory are not properly configured. The following files must exist, this can be verified with the ''ls -la'' command:
   32.14 +  * .Xdefaults
   32.15 +  * .xinitrc
   32.16 +  * something else?
   32.17 +
   32.18 +===== Solution =====
   32.19 +You should copy the default files from the template located in the /etc/skel directory. This happens automatically when a new user is created with the SliTaz Control Box, but not when using the command-line utilities. Occasionally users experience these files being removed or modified/broken.
   32.20 +
   32.21 +Switch to the root (super) user:
   32.22 +<code> su root </code>
   32.23 +Change to the affected users /home directory:
   32.24 +<code> cd /home/USERNAME </code>
   32.25 +Set the shell options to allow the dot (.) to be included in file names:
   32.26 +<code> shopt -s dotglob </code>
   32.27 +Copy all files, recursively:
   32.28 +<code> cp -r /etc/skel/* /home/USERNAME </code>
   32.29 +Change ownership of all files and directories in the user's home to that of the affected user:
   32.30 +<code> chown -R USERNAME:USERGROUP /home/USERNAME/* </code>
   32.31 +Restore the shell options:
   32.32 +<code> shopt -u dotglob </code>
   32.33 +The essential files should now be restored!
   32.34 +
   32.35 +EDIT:
   32.36 +
   32.37 +<code> shopt -u dotglob </code>
   32.38 +is not working in slitaz-3.0.iso - instead of this run in addition:
   32.39 +<code> chown -R USERNAME:USERGROUP /home/USERNAME/.[a-zA-Z0-9]*</code>
   32.40 +----
   32.41 \ No newline at end of file
    33.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.2 +++ b/pages/en/guides/faq-pkgconv.txt	Sat Feb 26 12:17:18 2011 +0000
    33.3 @@ -0,0 +1,21 @@
    33.4 +====== Packages from Other Distributions ======
    33.5 +
    33.6 +===== Symptoms =====
    33.7 +
    33.8 +  * There is a useful package that is not yet available in the SliTaz repositories.
    33.9 +  * Can I use packages from other distributions on my SliTaz installation?
   33.10 +
   33.11 +===== Explanation =====
   33.12 +
   33.13 +Packages in a general sense are simply a collection of files and meta-data, compiled from source code to suit a particular environment and installation. Software binaries from other distributions can sometimes run if the libraries that power it exist for SliTaz. It is an easy but not-always-accurate way of testing packages before writing SliTaz [[en:cookbook:receipt | Receipts]] for a SliTaz version of the package.
   33.14 +
   33.15 +The SliTaz Package Manager, Tazpkg, can [[http://hg.slitaz.org/tazpkg/raw-file/tip/doc/tazpkg.en.html#convert | convert]] packages from the Debian, RedHat, Slackware and Arch Linux formats, by unpacking them and using the meta-data information inside to create a Tazpkg.
   33.16 +
   33.17 +===== Solution =====
   33.18 +
   33.19 +Simply run the following command in a Terminal:
   33.20 +''tazpkg convert //filename//''
   33.21 +
   33.22 +The converted Tazpkg will be created after auto-detection of the original format.
   33.23 +
   33.24 +<note important>There may be occasions where the generated package does not function. This could be a result of mismatching libraries or missing dependant software. Similarly, the binaries may under-perform as they may have been compiled for a different environment and have to adapt. For these reasons, it is highly advisable to compile the software from source code and create a Tazpkg proper.</note>
   33.25 \ No newline at end of file
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/pages/en/guides/faq-programfailstorun.txt	Sat Feb 26 12:17:18 2011 +0000
    34.3 @@ -0,0 +1,17 @@
    34.4 +====== A Program Doesn't Run or Quits Unexpectedly ======
    34.5 +
    34.6 +===== Symptoms =====
    34.7 +
    34.8 +  * Nothing happens when an application is run from the Launch menu.
    34.9 +  * An application quits without warning.
   34.10 +
   34.11 +===== Explanation =====
   34.12 +
   34.13 +One or more of problems may have caused this. Run the program in a Terminal to see any error messages the program may deliver.
   34.14 +
   34.15 +===== Solution =====
   34.16 +
   34.17 +Launch a Terminal (command line) and run the application by typing in its name. See the following FAQs on solving common problems.
   34.18 +
   34.19 +
   34.20 +----
   34.21 \ No newline at end of file
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/pages/en/guides/faq-terminal.txt	Sat Feb 26 12:17:18 2011 +0000
    35.3 @@ -0,0 +1,27 @@
    35.4 +====== Overview ======
    35.5 +
    35.6 +There are a variety of terminal emulators available for SliTaz and even more for Linux. SliTaz comes with the venerable XTerm, a basic but functioning program.
    35.7 +
    35.8 +<note tip>You may experience some problems with any graphical program, some more serious than others. By running them via a Terminal, any output will appear in the Terminal window so you can identify any problems. Just find its command, type it and press ''Enter''.</note>
    35.9 +
   35.10 +\\
   35.11 +----
   35.12 +====== XTerm ======
   35.13 +
   35.14 +===== Cannot Copy/Paste =====
   35.15 +
   35.16 +=== Symptoms ===
   35.17 +  * I cannot find the copy/paste feature
   35.18 +  * Right-click for a menu does not work as expected
   35.19 + 
   35.20 +=== Explanation ===
   35.21 +
   35.22 +XTerm does not have a right-click menu -- or any other menu for that matter -- but selection is activated by using the mouse buttons.
   35.23 +
   35.24 +=== Solution ===
   35.25 +
   35.26 +Selection, copy and paste is achievable using the mouse buttons. The three mouse buttons works thus:
   35.27 +
   35.28 +  * //left click// defines where the selection begins
   35.29 +  * //middle click// defines where the selection ends & copies it to clipboard 
   35.30 +  * //right click// pastes the clipboard contents to the current cursor, not mouse, position
   35.31 \ No newline at end of file
    36.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.2 +++ b/pages/en/guides/faq.txt	Sat Feb 26 12:17:18 2011 +0000
    36.3 @@ -0,0 +1,68 @@
    36.4 +====== Frequently Asked Questions ======
    36.5 +
    36.6 +Listed here are the most frequently asked questions from the user forums. Please check here to see if your problem has been fixed before starting a new forum thread.
    36.7 +
    36.8 +These are organised into per-scenario groups - from  system-level through to the desktop. Within each, a symptom describes a give-away identification of the problem; a widely-working solution is then outlined.
    36.9 +
   36.10 +\\
   36.11 +===== General  =====
   36.12 +  * [[faq-login|Log-In Problems]]
   36.13 +  * [[faq-terminal|Terminals (Copy/Paste etc.)]]
   36.14 +
   36.15 +\\
   36.16 +
   36.17 +===== Package or Software  =====
   36.18 +  * [[faq-dependency| An Application Cannot Find Libraries/Files ]]
   36.19 +  * [[faq-programfailstorun | A Program Doesn't Run or Quits Unexpectedly ]]
   36.20 +  * [[faq-pkgconv | Can I install a package on SliTaz from another distribution? ]] 
   36.21 +
   36.22 +\\
   36.23 +
   36.24 +===== Hardware  =====
   36.25 +  * ...
   36.26 +
   36.27 +\\
   36.28 +
   36.29 +===== Questions Still Unanswered? =====
   36.30 +
   36.31 +No problem! We are happy to hear your question over at our [[http://forum.slitaz.org/|Support Forum]] -- or even the [[http://www.slitaz.org/en/mailing-list.html|Mailing List]] if it is a more lengthy discussion -- once you have looked through our [[http://doc.slitaz.org/en:start|documentation]]!
   36.32 +
   36.33 +Answering questions takes time however, to answer them well slightly longer. This time could be better spent for other necessary things, like improving SliTaz or writing documentation.
   36.34 +
   36.35 +** Your first post should include the following things: **
   36.36 +
   36.37 +  * detailed information about your hardware
   36.38 +    *  e.g the manufacturer and model of your computer, motherboard or (even better) detailed chip information. The latter can be found by running the following command and uploading the generated //SysInfo.txt// file:
   36.39 + 
   36.40 +<code>
   36.41 +echo '=== PCI Devices: ===' >> SysInfo.txt && lspci >> SysInfo.txt && echo '=== USB Devices: ===' \ 
   36.42 +>> SysInfo.txt && lsusb >> SysInfo.txt && echo '=== Kernel Modules: ===' >> SysInfo.txt && lsmod >> SysInfo.txt
   36.43 +</code>
   36.44 +
   36.45 +  * precise information about your SliTaz installation:
   36.46 +    *  which version to you have? Stable or Cooking?
   36.47 +    *  are you using the standard ISO or a specific flavor (XVESA, Lo-RAM etc.)?
   36.48 +    *  is it installed on a HD or on an USB stick?
   36.49 +    *  do you know which file-system you used?
   36.50 +
   36.51 +  * identify when your problem appeared:
   36.52 +    *  was it just after installation or after an update?
   36.53 +    *  were there any changes to your normal usage pattern or configuration?
   36.54 +
   36.55 +This should provide enough system information for help to be provided.
   36.56 +
   36.57 +
   36.58 +---- 
   36.59 +\\
   36.60 +^  Page Review Section  ^^ 
   36.61 +|Quality| Low  |
   36.62 +|Review| Major Updates FIXME  |
   36.63 +|Priority| High |
   36.64 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   36.65 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   36.66 +|How to Improve| Suggest briefly, e.g.,|
   36.67 +|::: | [[en:guides:start | Add link]]|
   36.68 +|::: | Add new rows like this ;-)  |
   36.69 +
   36.70 +\\
   36.71 +----
   36.72 \ No newline at end of file
    37.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.2 +++ b/pages/en/guides/flash.txt	Sat Feb 26 12:17:18 2011 +0000
    37.3 @@ -0,0 +1,35 @@
    37.4 +====== How-To install Adobe Flash Player ======
    37.5 +
    37.6 +Open a terminal. Become super-user:
    37.7 +<code> $ su -
    37.8 +</code>
    37.9 +The default password for the root account is **//root//** .
   37.10 +
   37.11 +Type the following as one command:
   37.12 +
   37.13 +<code> # tazpkg get-install get-flash-plugin && get-flash-plugin
   37.14 +</code>
   37.15 +
   37.16 +The package installs a get-flash-plugin command which creates a pseudo-package that downloads the source code from Adobe. It packages the build source code and pulls in any necessary dependencies.
   37.17 +
   37.18 +By using this method the Flash plugin can be managed through tazpkg; it will update itself as the repo package is updated.
   37.19 +
   37.20 +When you install Flash to SliTaz 3.0 and Midori is not recognizing the plugin - just reinstall Midori with
   37.21 +<code> # tazpkg get-install midori --forced</code> Thats it.
   37.22 +
   37.23 +
   37.24 +// This was successfully tested in Midori, Firefox/Shiretoko & Opera, on Cooking 2010-03-14 (the v3 RC). //
   37.25 +
   37.26 +---- 
   37.27 +\\
   37.28 +^  Page Review Section  ^^ 
   37.29 +|Quality| Good  |
   37.30 +|Review| Minor Updates  |
   37.31 +|Priority| Medium |
   37.32 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   37.33 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   37.34 +|How to Improve| Suggest briefly|
   37.35 +|::: |  |
   37.36 +
   37.37 +\\
   37.38 +----
   37.39 \ No newline at end of file
    38.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.2 +++ b/pages/en/guides/frugal.txt	Sat Feb 26 12:17:18 2011 +0000
    38.3 @@ -0,0 +1,123 @@
    38.4 +====== Winboot ======
    38.5 +
    38.6 +===== Frugal install to Microsoft Windows partition =====
    38.7 +
    38.8 +Install [[http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial#Installation|Grub4dos]].
    38.9 +
   38.10 +This article will assume that your C: drive is //(hd0,0)//.
   38.11 +You need at least 160MB to run Slitaz cooking (128MB for Slitaz 1.0).
   38.12 +
   38.13 +Tested with Windows XP on FAT32 and on NTFS.
   38.14 +
   38.15 +For Windows XP, 2000 or NT, copy http://mirror.slitaz.org/boot/grldr
   38.16 +into C:\ and append to C:\boot.ini:
   38.17 +
   38.18 +<file>C:\grldr="Grub4DOS"</file>
   38.19 +
   38.20 +===== Traditional frugal install =====
   38.21 +
   38.22 +Copy http://download.tuxfamily.org/slitaz/boot/cooking/bzImage and
   38.23 +http://download.tuxfamily.org/slitaz/boot/cooking/rootfs.gz (both <30MB)
   38.24 +into C:\boot and append to C:\menu.lst the following text:
   38.25 +
   38.26 +<file>
   38.27 +title SliTaz cooking
   38.28 +  kernel (hd0,0)/boot/bzImage rw root=/dev/null vga=normal
   38.29 +  initrd (hd0,0)/boot/rootfs.gz
   38.30 +</file>
   38.31 +Works fine with Windows XP on FAT32 and on NTFS.
   38.32 +
   38.33 +===== ISO image install =====
   38.34 +
   38.35 +Copy http://download.tuxfamily.org/slitaz/iso/cooking/slitaz-cooking.iso (<30MB)
   38.36 +into C:\boot. Run defragmentation on C:. And append to C:\menu.lst the following text:
   38.37 +
   38.38 +<file>
   38.39 +title SliTaz cooking
   38.40 +  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
   38.41 +  map --hook
   38.42 +  kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal
   38.43 +  initrd (hd1)/boot/rootfs.gz
   38.44 +</file>
   38.45 +
   38.46 +Works fine with Windows XP on FAT32 and on NTFS. Using version 0.4.3.
   38.47 +The file C:\boot\slitaz-cooking.iso MUST be defragmented.
   38.48 +
   38.49 +You need 160MB or 256MB of RAM to run the slitaz-cooking.iso.
   38.50 +If you have less RAM try:
   38.51 +http://mirror.slitaz.org/iso/cooking/flavors/slitaz-cooking-base.iso or
   38.52 +http://mirror.slitaz.org/iso/cooking/flavors/slitaz-cooking-justX.iso or
   38.53 +http://mirror.slitaz.org/iso/cooking/flavors/slitaz-loram.iso instead:
   38.54 +
   38.55 +<file>
   38.56 +title SliTaz cooking base
   38.57 +  map (hd0,0)/boot/slitaz-cooking-base.iso (hd1)
   38.58 +  map --hook
   38.59 +  kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal
   38.60 +  initrd (hd1)/boot/rootfs.gz
   38.61 +</file>
   38.62 +See http://community.slitaz.org/wiki/Loram
   38.63 +
   38.64 +===== Web boot install =====
   38.65 +
   38.66 +Copy http://download.tuxfamily.org/slitaz/boot/gpxe (<200KB)
   38.67 +into C:\boot and append to C:\menu.lst the following text:
   38.68 +
   38.69 +<file>
   38.70 +title SliTaz web
   38.71 +  kernel (hd0,0)/boot/gpxe
   38.72 +</file>
   38.73 +
   38.74 +Gpxe is provided by the SliTaz Live CD too:
   38.75 +<file>
   38.76 +title SliTaz web
   38.77 +  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
   38.78 +  map --hook
   38.79 +  kernel (hd1)/boot/gpxe
   38.80 +</file>
   38.81 +This will boot the latest available version of SliTaz. See http://boot.slitaz.org/.
   38.82 +Works fine with Windows XP on FAT32 and on NTFS.
   38.83 +
   38.84 +===== Tuning the boot process =====
   38.85 +
   38.86 +Additional boot parameters may be appended. For example:
   38.87 +
   38.88 +<file>
   38.89 +title SliTaz cooking
   38.90 +  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
   38.91 +  map --hook
   38.92 +  kernel (hd1)/boot/bzImage rw root=/dev/null vga=extended lang=fr_FR kmap=fr-latin1 laptop autologin config=/dev/hda1,boot/slitaz.sh
   38.93 +  initrd (hd1)/boot/rootfs.gz
   38.94 +</file>
   38.95 +
   38.96 +The file // /boot/slitaz.sh // in // /dev/hda1 // will be executed at the end of the boot script:
   38.97 +
   38.98 +<file>
   38.99 +  initrd (hd1)/boot/rootfs.gz (hd0,0)/boot/extra-softwares.gz (hd0,0)/boot/my-config-files.gz
  38.100 +</file>
  38.101 +
  38.102 +The compressed cpio archives // /boot/extra-softwares.gz // and // /boot/my-config-files.gz // will be loaded after the official initramfs //rootfs.gz//. This is faster than using the previous // /boot/slitaz.sh // script.
  38.103 +
  38.104 +===== Automated Graphical Approach using UNetbootin =====
  38.105 +
  38.106 +A SliTaz Frugal Install or a Live USB installation can be performed using [[http://unetbootin.sourceforge.net/|UNetbootin]].
  38.107 +
  38.108 +Either the standard version ([[http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe|Windows]] | [[http://unetbootin.sourceforge.net/unetbootin-linux-latest|Linux]]) can be used (select SliTaz from the
  38.109 +Distribution list), or a custom SliTaz version ([[http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe|Windows]] | [[http://unetbootin.sourceforge.net/unetbootin-linux-latest|Linux]]) may also be used.
  38.110 +
  38.111 +To perform a Frugal Install, select “Hard Disk” under installation type;
  38.112 +to create a Live USB, select “USB Drive” under installation type.
  38.113 +
  38.114 +---- 
  38.115 +\\
  38.116 +^  Page Review Section  ^^ 
  38.117 +|Quality| Good  |
  38.118 +|Review| Minor Updates  |
  38.119 +|Priority| Medium |
  38.120 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  38.121 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  38.122 +|How to Improve| Suggest briefly|
  38.123 +|::: | Add new rows like this ;-)  |
  38.124 +
  38.125 +\\
  38.126 +----
  38.127 \ No newline at end of file
    39.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.2 +++ b/pages/en/guides/kernel.txt	Sat Feb 26 12:17:18 2011 +0000
    39.3 @@ -0,0 +1,86 @@
    39.4 +====== Build your own custom Linux Kernel for SliTaz ======
    39.5 +
    39.6 +===== Prepare your system =====
    39.7 +
    39.8 +
    39.9 +    * Install the slitaz-toolchain meta package. This package contains the required base files.
   39.10 +        * binutils
   39.11 +        * linux-headers
   39.12 +        * glibc-dev
   39.13 +        * gcc
   39.14 +        * make
   39.15 +
   39.16 +<code>
   39.17 +# tazpkg get-install slitaz-toolchain
   39.18 +</code>
   39.19 +
   39.20 +    * Install the packages required to configure and compile the kernel sources.
   39.21 +        * ncurses-dev
   39.22 +        * perl
   39.23 +
   39.24 +<code>
   39.25 +# tazpkg get-install ncurses-dev
   39.26 +# tazpkg get-install perl
   39.27 +</code>
   39.28 +
   39.29 +    * SliTaz provides a linux-source package. The kernel source tree will be downloaded from the mirror, installed to the /usr/src/linux-<VERSION> directory, and patched for SliTaz..
   39.30 +
   39.31 +<code>
   39.32 +# tazpkg get-install linux-source
   39.33 +# /usr/bin/get-linux-source
   39.34 +# ls -l /usr/src
   39.35 +lrwxrwxrwx    1 root     root           21 Jul 21 21:27 linux -> linux-2.6.25.5-slitaz
   39.36 +drwxrwxr-x   23 root     root         4096 Jul 21 22:41 linux-2.6.25.5-slitaz
   39.37 +-rw-r--r--    1 root     root     48589640 Jul 21 21:28 linux-2.6.25.5.tar.bz2
   39.38 +</code>
   39.39 +
   39.40 +===== Configure and Compile =====
   39.41 +
   39.42 +The Linux kernel source tree is now ready to configure and compile.
   39.43 +
   39.44 +    * Go to the directory that contains the kernel source tree.
   39.45 +<code>
   39.46 +# cd /usr/src/linux
   39.47 +</code>
   39.48 +
   39.49 +    * Prepare the build from the default configuration.
   39.50 +<code>
   39.51 +# make oldconfig && make prepare
   39.52 +</code>
   39.53 +
   39.54 +     * Modify the kernel configuration to your needs, and compile.
   39.55 +     * The //menuconfig// allows you to customise the kernel, which is built into the //bzImage// file. Any //modules// are built and then //install//ed in to the ///usr/include// directory. You should then copy the kernel itself to the ///boot// directory.
   39.56 +<code>
   39.57 +# make menuconfig
   39.58 +# make
   39.59 +# make modules 
   39.60 +# make modules_install
   39.61 +# cp arch/x86/boot/bzImage /boot
   39.62 +</code>
   39.63 +
   39.64 +    * Configure the boot-loader (optional)
   39.65 +<code>
   39.66 +# leafpad /boot/grub/menu.lst
   39.67 +</code>
   39.68 +
   39.69 +    * Add the new kernel to the list
   39.70 +<file>
   39.71 +# My kernel:
   39.72 +title 	SliTaz GNU/Linux (cooking) (Kernel <VERSION>)
   39.73 +		root (hd0,1)
   39.74 +		kernel /boot/bzImage root=/dev/sda2
   39.75 +</file>
   39.76 +
   39.77 +---- 
   39.78 +\\
   39.79 +^  Page Review Section  ^^ 
   39.80 +|Quality| Medium  |
   39.81 +|Review| Minor/Major Updates  |
   39.82 +|Priority| Medium |
   39.83 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   39.84 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   39.85 +|How to Improve| Add "tazwok cook linux"|
   39.86 +|::: |  |
   39.87 +
   39.88 +\\
   39.89 +----
   39.90 \ No newline at end of file
    40.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.2 +++ b/pages/en/guides/liveusb.txt	Sat Feb 26 12:17:18 2011 +0000
    40.3 @@ -0,0 +1,42 @@
    40.4 +====== LiveUSB ======
    40.5 +
    40.6 +===== From SliTaz =====
    40.7 +
    40.8 +Download > Burn > Boot a SliTaz ISO image. Open Terminal > type in (change ///dev/sda// if needed):
    40.9 +
   40.10 +<code>
   40.11 +$ su root
   40.12 +# tazusb format
   40.13 +</code>
   40.14 +Enter a name such as /dev/sda1 or type 'list'... wait ...
   40.15 +<code>
   40.16 +# tazusb gen-liveusb /dev/sda1
   40.17 +</code>
   40.18 +
   40.19 +Wait…. and then reboot!
   40.20 +
   40.21 +===== From Windows =====
   40.22 +
   40.23 +A SliTaz Live USB installation or a Frugal Install  can be performed using [[http://unetbootin.sourceforge.net/|UNetbootin]].
   40.24 +
   40.25 +You may either choose: 
   40.26 +  * the standard version ([[http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe|Windows]] | [[http://unetbootin.sourceforge.net/unetbootin-linux-latest|Linux]]) : select SliTaz ISO from the Distribution list in unetbootin, or 
   40.27 +  * a custom SliTaz version ([[http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe|Windows]] | [[http://unetbootin.sourceforge.net/unetbootin-linux-latest|Linux]]).
   40.28 +
   40.29 +To create a Live USB, select “USB Drive” under installation type.
   40.30 +
   40.31 +You can also choose to do frugal install. To perform a Frugal Install, select “Hard Disk” under installation type;
   40.32 +
   40.33 +---- 
   40.34 +\\
   40.35 +^  Page Review Section  ^^ 
   40.36 +|Quality| Good  |
   40.37 +|Review| Minor Updates  |
   40.38 +|Priority| Medium |
   40.39 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   40.40 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   40.41 +|How to Improve| Add tazusb.exe, a SliTaz alternative to unetbootin |
   40.42 +|::: |   |
   40.43 +
   40.44 +\\
   40.45 +----
   40.46 \ No newline at end of file
    41.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.2 +++ b/pages/en/guides/lowramcd.txt	Sat Feb 26 12:17:18 2011 +0000
    41.3 @@ -0,0 +1,143 @@
    41.4 +====== Live CD for Low-RAM Systems ======
    41.5 +
    41.6 +The minimum RAM requirement for the SliTaz core Live CD is 160MB (128MB for 1.0). Many graphical applications won't run with such a low amount of memory; so, using the text-mode //screen=text// boot option is recommended.
    41.7 +
    41.8 +The packages //slitaz-loram//, //slitaz-loram-http// or //slitaz-loram-cdrom// can be used to build a LiveCD for systems with RAM larger than 64MB, 32Mb or 24MB respectively. These can be installed directly on the host system, rather than specified in the packages list for the LiveCD you are building.
    41.9 +
   41.10 +    * //slitaz-loram// will compress the ///usr// tree and the system will still run in RAM. It will not use a cdrom, harddisk or USB key
   41.11 +    * //slitaz-loram-http// will get the ///usr// tree from an iso image stored in http://mirror.slitaz.org/ built using //slitaz-loram-cdrom//, and pass the 'tiny' keyword while booting from the web
   41.12 +    * //slitaz-loram-cdrom// will move the ///usr// tree onto the cdrom
   41.13 +
   41.14 +///usr// will be read-only. If the package //funionfs// or //aufs// is installed you will have read-write access to ///usr//.
   41.15 +
   41.16 +These packages patch ///etc/init.d/rcS// to mount ///usr// and install two scripts in ///etc/tazlito//:
   41.17 +
   41.18 +    * //loram.rootfs// is called by //tazlito gen-distro// to compress or move ///usr//
   41.19 +    * //loram.extract// is called by the //slitaz-installer// to uncompress or move ///usr// and install the same distribution as the SliTaz core LiveCD
   41.20 +
   41.21 +Let's build a //slitaz-loram-cdrom.iso// !
   41.22 +
   41.23 +===== slitaz-loram-cdrom =====
   41.24 +
   41.25 +We boot the LiveCD and install the slitaz-loram-cdrom package:
   41.26 +
   41.27 +<code> # tazpkg get-install slitaz-loram-cdrom </code>
   41.28 +
   41.29 +//tazlito gen-distro// will then create an ISO with the packages listed in ///etc/tazlito/distro-packages.list// or //./distro-packages.list//. Since some more packages are installed, we remove these files to force tazlito to use all of the installed packages.
   41.30 +
   41.31 +<code> # rm -f /etc/tazlito/distro-packages.list ./distro-packages.list </code>
   41.32 +
   41.33 +Now we can build the iso image…
   41.34 +
   41.35 +<code> # tazlito gen-distro </code>
   41.36 +
   41.37 +…and burn it.
   41.38 +
   41.39 +<code># wodim dev=1,0,0 /home/slitaz/distro/slitaz-hacked.iso </code>
   41.40 +
   41.41 +===== Variations of slitaz-loram & slitaz-loram-cdrom =====
   41.42 +
   41.43 +//slitaz-loram// compresses ///usr// with //cromfs// by default, which gives a higher compression ratio but is very slow. You can use //squashfs// instead:
   41.44 +
   41.45 +    * refuse to install cromfs during the slitaz-loram installation
   41.46 +
   41.47 +<code> # yes n | tazpkg get-install slitaz-loram </code>
   41.48 +
   41.49 +    * install squashfs with its dependencies
   41.50 +
   41.51 +<code> # yes y | tazpkg get-install squashfs </code>
   41.52 +
   41.53 +//slitaz-loram-cdrom// moves ///usr// uncompressed to the cdrom and produces a 90MB iso. If you install cromfs or squashfs, ///usr// will be compressed on the LiveCD and the ISO size will be around 30 megabytes.
   41.54 +
   41.55 +===== Let's build a slitaz-loram-cdrom-sqfs.iso!=====
   41.56 +
   41.57 +Install the package //slitaz-loram-cdrom// and //squashfs// (sqfs) on the host system:
   41.58 +
   41.59 +<code>
   41.60 + # tazpkg get-install slitaz-loram-cdrom
   41.61 + # yes y | tazpkg get-install squashfs
   41.62 +</code>
   41.63 +
   41.64 +Now we repeat the latter points of the above process:
   41.65 +<code>
   41.66 + # rm -f /etc/tazlito/distro-packages.list ./distro-packages.list
   41.67 + # tazlito gen-distro
   41.68 + # wodim dev=1,0,0 /home/slitaz/distro/slitaz-hacked.iso
   41.69 +</code>
   41.70 +
   41.71 +===== slitaz-loram-cdrom and Large Memory Systems =====
   41.72 +
   41.73 +When the //slitaz-loram-cdrom// LiveCD detects enough memory during boot, ///usr// is copied from the CD-ROM to RAM. You can eject and/or use the CD drive. The system behaves as a regular LiveCD in this case:
   41.74 +
   41.75 +    * a slitaz LiveCD (/usr was not compressed on the cdrom)
   41.76 +    * a slitaz-loram LiveCD (/usr was compressed on the cdrom by squashfs or cromfs)
   41.77 +
   41.78 +===== slitaz-loram-cdrom and Tiny Memory Systems =====
   41.79 +
   41.80 +The boot command line is usually:
   41.81 +
   41.82 +<code> boot: slitaz args... </code>
   41.83 +
   41.84 +Slitaz boots on a 9MB RAM system with the boot command:
   41.85 +
   41.86 +<code> boot: loram single root=/dev/hdc </code>
   41.87 +
   41.88 +Where ///dev/hdc// is the CD-ROM device, the loram boot entry avoids RAM disk creation and CD-ROM detection.
   41.89 +
   41.90 +<note tip>Note that on a system with such a low amount of memory, the first thing to do is add swap!</note>
   41.91 +
   41.92 +You need 10MB to use the boot scripts with:
   41.93 +
   41.94 +<code> boot: loram root=/dev/hdc </code>
   41.95 +
   41.96 +In this case you can add arguments like kmap=, config=, etc.
   41.97 +
   41.98 +===== slitaz-loram Auto-Extraction =====
   41.99 +
  41.100 +Each slitaz-loram* flavor can be extracted into RAM at boot time (if enough memory is available) by using the boot argument extract-loram. You will get a core flavor running without read-only restrictions for /usr.
  41.101 +
  41.102 +For example, assuming you boot the slitaz-loram-cdrom-sqfs:
  41.103 +
  41.104 +<code> boot: slitaz extract-loram </code>
  41.105 +
  41.106 +You will get:
  41.107 +
  41.108 +    * /usr read-only squashfs on a CD-ROM with a smaller RAM size
  41.109 +    * /usr read-only squashfs in RAM with a medium RAM size (like slitaz-loram)
  41.110 +    * /usr read-write tmpfs in RAM with a larger RAM size (like slitaz-core)
  41.111 +
  41.112 +===== Build a slitaz-loram with tazlitobox =====
  41.113 +
  41.114 +Since SliTaz 3.0, you can now build a slitaz-loram LiveCD more easily:
  41.115 +    * launch tazlitobox
  41.116 +    * click on the Low RAM tab
  41.117 +    * select //The filesystem is always in RAM// (for slitaz-loram) or //The filesystem may be on a CDROM// (for slitaz-loram-cdrom)
  41.118 +    * fill the ISO input with your Slitaz flavor (3.0 or more recent)
  41.119 +    * update the ISO output
  41.120 +    * click //build ISO//
  41.121 +
  41.122 +The filesystem root (/) is compressed (not /usr only) and mounted read-write thanks to the aufs package.
  41.123 +The //mount// and //df// commands will show a strange output, handy to detect that this kind of loram is running.
  41.124 +
  41.125 +You can also use the following command in text mode:
  41.126 +<code> # tazlito build-loram original.iso loram.iso</code>
  41.127 +or:
  41.128 +<code> # tazlito build-loram original.iso loram-cdrom.iso cdrom</code>
  41.129 +
  41.130 +Meta flavors are supported; you can loramize a slitaz-3in1.iso !
  41.131 +
  41.132 +===== And what to do with only 8MB RAM? =====
  41.133 +Try Tiny Slitaz : http://pizza.slitaz.org/tiny/ !
  41.134 +---- 
  41.135 +\\
  41.136 +^  Page Review Section  ^^ 
  41.137 +|Quality| Good  |
  41.138 +|Review| Minor Updates  |
  41.139 +|Priority| Medium |
  41.140 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  41.141 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  41.142 +|How to Improve|Needs a review by developers|
  41.143 +|::: | Add new rows like this ;-)  |
  41.144 +
  41.145 +\\
  41.146 +----
  41.147 \ No newline at end of file
    42.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.2 +++ b/pages/en/guides/manyinone.txt	Sat Feb 26 12:17:18 2011 +0000
    42.3 @@ -0,0 +1,48 @@
    42.4 +======= Create many-in-1 flavors =======
    42.5 +
    42.6 +Slitaz LiveCDs run fully in RAM. The feature set depends on the available RAM size. You can build an auto adaptive LiveCD to ensure that the right feature set is launched according to the detected RAM size. You need to:
    42.7 +
    42.8 +    * define a flavor list (or an ISO list) where each flavor is nested in the previous one (like russian dolls),
    42.9 +    * define the minimum RAM quantity necessary for each flavor.
   42.10 +
   42.11 +The many-in-1 ISO may be a little bit larger than the largest
   42.12 +flavor. Sometimes the sizes are identical.
   42.13 +
   42.14 +We will build the official slitaz-3in1 flavor which boots:
   42.15 +
   42.16 +    * the core flavor with 160MB or more
   42.17 +    * the justx flavor with 96MB to 160MB
   42.18 +    * the base flavor with 32MB to 96MB
   42.19 +    * and displays an error message with less than 32MB...
   42.20 +
   42.21 +The ISO images slitaz-3.0-3in1.iso and the largest flavor slitaz-3.0.iso share the same size : 31457280 bytes. (caused by the 1MB padding, it should be 123351 bytes larger otherwise).
   42.22 +
   42.23 +===== The best way: create a flavor =====
   42.24 +
   42.25 +A flavor holds all the necessary information to build a LiveCD.
   42.26 +The [[http://bb.slitaz.org/|build bot]] will automagically keep the flavor file (.flavor) up to date and this tiny file will also be used by tazlito to (re)generate the ISO image.
   42.27 +
   42.28 +[[http://hg.slitaz.org/flavors|flavors]] are like software sources for the flavor file: the [[http://bb.slitaz.org/|build bot]] is a make tool and **tazlito pack-flavor** the compiler. Providing flavors is like providing source files and providing ISOs is like providing executables only.
   42.29 +
   42.30 +A meta flavor has no rootfs, rootcd or packages.list.
   42.31 +The **ROOTFS_SELECTION** in the receipt (see http://hg.slitaz.org/flavors/file/324757d594ef/core-3in1) gives the nested flavors with the according ram sizes from the largest to the smallest.
   42.32 +
   42.33 +<code>
   42.34 +ROOTFS_SELECTION="160M core 96M justx 32M base"
   42.35 +</code>
   42.36 +
   42.37 +The rootfs and the rootcd are taken from the largest flavor.
   42.38 +
   42.39 +===== The easy way: using tazlitobox =====
   42.40 +
   42.41 +Launch **tazlitobox**, select tab **meta**. Enter the ISO file in **ISO input** and add the according necessary RAM size in **RAM needed** for each flavor with the **+** button. Fill the **ISO output** name and click **Build ISO**.
   42.42 +
   42.43 +===== The cmdline way: using tazlito =====
   42.44 +
   42.45 +Usage: tazlito merge size1 iso size2 rootfs2 [sizeN rootfsN]...
   42.46 +
   42.47 +The largest flavor is given as an ISO file to get the additional rootcd files and will get the resulting ISO.
   42.48 +
   42.49 +<code>
   42.50 +tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz
   42.51 +</code>
   42.52 \ No newline at end of file
    43.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.2 +++ b/pages/en/guides/midori.txt	Sat Feb 26 12:17:18 2011 +0000
    43.3 @@ -0,0 +1,126 @@
    43.4 +====== Midori Tips & Tweaks ======
    43.5 +I am writing this guide since Midori is the default browser in Slitaz 3. Your first thought may be to install Firefox and not giving Midori a try because it lacks features. I thought it lacked features or Addon's also until I dug around some. If you want to know the history of Midori visit it's Wiki page: [[http://en.wikipedia.org/wiki/Midori_(web_browser)|Midori Wiki]]
    43.6 +
    43.7 +
    43.8 +
    43.9 +Things that I will cover:
   43.10 +<code>
   43.11 +Ad Blocking
   43.12 +Custom Search Engines
   43.13 +Flash Blocking
   43.14 +UserScripts
   43.15 +Shortcuts
   43.16 +</code>
   43.17 +
   43.18 +===== Enabling Extensions =====
   43.19 +
   43.20 +Upon opening Midori click on the "Tools Menu", Go down to "Extensions" and click on it. This should open up a "panel" that displays boxes that you can check to enable different Extensions or Options. Check only the boxes you wish to enable. I would enable "Statusbar Features" and "Toolbar Editor" right now. Everything involving those two should be self explantory. So no need for a "HowTo". I would tell you what other things to enable right now, but if someone adds to this wiki then this paragraph would need to be edited. So if anything needs to be enabled it will be mention it as it go along.
   43.21 +
   43.22 +===== Ad Blocking =====
   43.23 +In extensions enable: Advertisement blocker
   43.24 +
   43.25 +Most people like ad blocking that FireFox has through an extension called Adblock Plus(ABP). Well Midori has an adblocker that uses the well known "easylist" from ABP. Now that you have it enabled we need to edit it. Click on the "Tools Menu", now click on "Configure Advertisement filters". This should now open a box looking like this:
   43.26 +
   43.27 +{{http://img541.yfrog.com/img541/4508/beforeadded.png}}
   43.28 +
   43.29 +From the picture you can see that adding a ruleset is pretty self explanatory. As an example click on Add, then insert this url: <code>http://easylist-downloads.adblockplus.org/easyprivacy.txt</code> 
   43.30 +
   43.31 +
   43.32 +{{http://img541.yfrog.com/img541/2485/added.png}}
   43.33 +
   43.34 +That is what it should now look like. Now to block a single image just right click the image on the page you want to block. Go down to Block Image and click Add. Now that image is blocked.
   43.35 +===== Managing Search Engines ===== 
   43.36 +No extension needs to be enabled for this feature.
   43.37 +
   43.38 +This is one of my favorite things in any browser. I use this for other things then just search engines. I will share that later. Click on the "Tools Menu", then click on "Manage Search Engines". Just like Ad blocking you should get a box to pop up that looks like this:
   43.39 +
   43.40 +{{http://img541.yfrog.com/img541/7471/manage.png}}
   43.41 +
   43.42 +Since I don't really use anything else but google I am just going to add Yahoo! as an example of how to add it and use it. Click add and fill it in to look like this:
   43.43 +
   43.44 +{{http://img542.yfrog.com/img542/4866/yahoo.png}}
   43.45 +
   43.46 +Once that is done go up to the URL bar in midori and type: "y slitaz linux" without the quotes. [[http://img30.yfrog.com/img30/6048/yslitazlinux.png|Example:y slitax linux]]. After pressing Enter you should now see the yahoo search results for slitaz. [[http://img402.yfrog.com/img402/2932/yslitazresults.png|Yahoo Results]] Typing "g slitaz" again without the quotes would give you the google results for SliTaz.
   43.47 +
   43.48 +Here is what I use it for besides search engines. In Opera when you bookmark something you can make a nickname for the site. I have the letters: fs for http://forum.slitaz.org. So I just type "fs" without the quotes in the urlbar to go to SliTaz's forum. Now I don't see this feature in Midori so I just make a custom search engine like I did for Yahoo!. I am not really adding a search just using it as a shortcut. I think for the pictures I added that it is self explanatory how to add any site you want to make a shortcut for.
   43.49 +
   43.50 +For all you twitter users or people that like shortened urls. Add this to custom searches: 
   43.51 +<code>http://is.gd/create.php?longurl=</code>
   43.52 +{{http://img260.yfrog.com/img260/7176/isgd.png}}
   43.53 +
   43.54 +I give mine the Token letter "u". When I have a big url I want to shorten, I go to the URL bar, go to the left of the "http" in the url, then I type "u". Then press space then enter it takes me to that site and shortens the url. Example:[[http://img260.yfrog.com/img260/6982/shorten.png|Shortening URL]]
   43.55 +Result:[[http://img30.yfrog.com/img30/6563/shortened.png|Shortened URL]]
   43.56 +
   43.57 +For those who hate using the mouse like me and want to shorten url's you can do the same thing above like this: <code>Ctrl-L, Left Arrow key, type u, spacebar, then enter</code> If you have javascript enabled then the shortened url should already be highlighted. So a quick Ctrl-c should copy it for you.
   43.58 +    
   43.59 +
   43.60 +===== Flash Blocking =====
   43.61 +
   43.62 +To flashblock you need to use a userscript. UserScripts are just custom javascripts to do a range of things. I will cover other UserScripts later in this wiki but flashblock is more then likely gonna be the only one anyone will use.
   43.63 +
   43.64 +First we need to make a folder if you don't already have it: <code>/home/tux/.local/share/midori/scripts</code>
   43.65 +"tux" is just used as an example. If you have a different user name then change accordingly. 
   43.66 +
   43.67 +These pictures are kind of big so I am just linking to them. Example before FlashBlock:
   43.68 +[[http://img180.yfrog.com/img180/7269/blocked.png|Flash Blocked]]
   43.69 +
   43.70 +Now go to: [[http://rightfootin.blogspot.com/2009/04/flashblock-wannabe.html|Flashblock Wannabe]] . Download FlashBlock.user.js.txt (remove the .txt extension) to the folder we just created. Go to the Tools Menu, and click on UserScripts. You should now see "FlashBlock Wannabe" Make sure there is a checkmark next to it. Sometimes the UserScripts show up right away and other times they don't so I just restart Midori to view the UserScripts. So if it isn't showing then just restart Midori. Now you should have flash blocked unless you click on it like the flashblocker addon for FireFox. It should look like this:
   43.71 +
   43.72 +[[http://img541.yfrog.com/img541/2801/notblocked.png|Flash Unblocked]]
   43.73 +===== User Scripts =====
   43.74 +
   43.75 +If you already did the Flashblocking part then this should be as easy as downloading them and putting them in the correct folder. No big HowTo here I will just show you some examples of the ones I use and what they do.
   43.76 +
   43.77 +[[http://userscripts.org/scripts/show/1352|Linkify]]: If you have ever been to a site or forum and someone posted a link that is just text and not clickable then this is for you. It makes all "http" links clickable. It saves you from highlighting and copying and pasting links to a url bar. 
   43.78 +
   43.79 +[[http://userscripts.org/scripts/show/5059|Google Image Redirector]]: If you ever google search for images and click on an image you will notice that it take you to the page but the tiny image is in a frame. This userscript takes you directly to the actual image. Saves you a couple clicks of the mouse.
   43.80 +
   43.81 +[[http://userscripts.org/scripts/show/72270|Google Show Options]]: Last year google added advanced search options in results. You could click on the "Show Options" and it would list them. This bypasses clicking on it and it shows it right away without have to click it.  
   43.82 +
   43.83 +[[http://userscripts.org/scripts/show/54108|Just Show Images]]: If you have ever clicked on a link from a forum or anything to certain image hosting sites you would notice all the ads. This UserScript just shows the picture you want and little else. 
   43.84 +
   43.85 +[[http://userscripts.org/scripts/show/54790|Easy YouTube Downloader]]: If you would like to download the video from YouTube without going to a seperate site, you can use this script. It adds a download option for multiple video formats on the screen.
   43.86 +
   43.87 +===== Shortcuts =====
   43.88 +In extensions enable: shortcuts
   43.89 +
   43.90 +I try to use the mouse as little as possible. So shortcuts come in handy. Here is how to view and/or edit them to your taste. Open up the "Tools Menu" go down to and click on "Customize Shortcuts." You will get a popup that looks like this:
   43.91 +
   43.92 +{{http://img21.yfrog.com/img21/1046/shortcuts.png}}
   43.93 +
   43.94 +In the picture you will see an action along with an assigned "shortcut". Some show an action but are disabled. I will show you how to change a "shortcut" or to enabled one that is disabled. To assign a "shortcut" click on what you would like to change to highlight. Now go to the right and click the mouse where the "shortcut" or word "disabled" is and click. It should change the text to "New accelerator..." Now all you have to do is press a combination of keys you would like to make up your shortcut. Popular choices to start your shortcut with are any of these:
   43.95 +<code> Control, Alt, or either Winkeys</code>
   43.96 +Winkeys will be either "Super L" or "Super R" depending on which you press. Not every keyboard has a "Winkey" or only has just one. I prefer to use the F1 to F12 keys. Here is an example of some of my shortcuts:
   43.97 +
   43.98 +<code>
   43.99 +Show/Hide Sidepanel   F2
  43.100 +Show/Hide Bookmarkbar F3
  43.101 +Show/Hide Menubar     F4
  43.102 +Refresh               F5
  43.103 +Preferences           F7
  43.104 +Focus Current Tab     F9
  43.105 +Full Screen           F11
  43.106 +Bookmarks             Ctrl+B
  43.107 +Add Bookmarks         Ctrl+D
  43.108 +Homepage              Ctrl+H
  43.109 +Highlight URLbar      Ctrl+L
  43.110 +Close Tab             Ctrl+W
  43.111 +Next Tab              Ctrl+Page Down
  43.112 +Previous Tab          Ctrl+Page Up
  43.113 +</code> 
  43.114 +
  43.115 +Just wanted to add that if you want to "disable" a shortcut. Pressing Backspace in "New accelarator..." will disable it.
  43.116 +
  43.117 +---- 
  43.118 +\\
  43.119 +^  Page Review Section  ^^ 
  43.120 +|Quality| Good  |
  43.121 +|Review| Minor Updates  |
  43.122 +|Priority| Medium |
  43.123 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  43.124 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  43.125 +|How to Improve| Suggest briefly|
  43.126 +|::: |  |
  43.127 +
  43.128 +\\
  43.129 +----
  43.130 \ No newline at end of file
    44.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.2 +++ b/pages/en/guides/modem.txt	Sat Feb 26 12:17:18 2011 +0000
    44.3 @@ -0,0 +1,17 @@
    44.4 +====== Hardware Guides: Modems ======
    44.5 +
    44.6 +[[cricket-a600|Cricket A600 Broadband Modem]]: - How to install a Cricket a600 Broadband Modem
    44.7 +
    44.8 +---- 
    44.9 +\\
   44.10 +^  Page Review Section  ^^ 
   44.11 +|Quality| Low  |
   44.12 +|Review| Major Updates  |
   44.13 +|Priority| Medium |
   44.14 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   44.15 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   44.16 +|How to Improve| Suggest briefly|
   44.17 +|::: |  |
   44.18 +
   44.19 +\\
   44.20 +----
   44.21 \ No newline at end of file
    45.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.2 +++ b/pages/en/guides/netstart.txt	Sat Feb 26 12:17:18 2011 +0000
    45.3 @@ -0,0 +1,57 @@
    45.4 +====== Web start and possible immediate installation ======
    45.5 +
    45.6 +===== Special figure in Slitaz ! =====
    45.7 +
    45.8 +Slitaz is one of the extremely rare OS's available fully prepared for the web start in live mode using a very small starting program. The starting program can be saved on a old floppy disk or very little special ISO burned on a CD-ROM.
    45.9 +
   45.10 +But each starting ISO of Slitaz with the live version of "base", "justX" or "stable" or "cooking" contains also this start program being used through the commando line options at starting time of the ISO.
   45.11 +
   45.12 +The special advantage of this kind of start is to work with the most actual cooking version and not with the version of the CD.
   45.13 +
   45.14 +The same technical ability can of course be used within a closed community.
   45.15 +
   45.16 +==== Where can I find the starting image for a starting floppy disk? ====
   45.17 +
   45.18 +http://mirror.slitaz.org/boot/floppy-grub4dos
   45.19 +
   45.20 +Please read more here:
   45.21 +
   45.22 +http://boot.slitaz.org/
   45.23 +
   45.24 +==== Where can I find the small ISO for a small starting CD rom? ====
   45.25 +
   45.26 +You can use the little flavor version
   45.27 + 
   45.28 +http://mirror.slitaz.org/iso/2.0/flavors/slitaz-2.0-base.iso
   45.29 +
   45.30 +for that.
   45.31 +
   45.32 +Only enter please "web" as commando line option!
   45.33 +
   45.34 +==== Starting from the net ====
   45.35 +
   45.36 +The start from net don't differ from usual start from the CD.
   45.37 +
   45.38 +Only enter "web" as commando line option. The starting program don't follow the CD any more but search the more actual file on the web.
   45.39 +
   45.40 +==== Install Slitaz on the hard disk after the net start ====
   45.41 +
   45.42 +Of course here is an important difference compared with the usual start:
   45.43 +
   45.44 +There is no CD in the drive where the installation program can find the row files.
   45.45 +
   45.46 +.... 
   45.47 +
   45.48 +==== Regular net start in my community net (school etc.) ====
   45.49 +
   45.50 +=== Install the adequate Slitaz version on the own server ===
   45.51 +
   45.52 +....
   45.53 +
   45.54 +=== Limit access if required ===
   45.55 +
   45.56 +....
   45.57 +
   45.58 +=== Prepare an adequate ISO for a own starting check card mini CD ===
   45.59 +
   45.60 +....
    46.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.2 +++ b/pages/en/guides/network-script.txt	Sat Feb 26 12:17:18 2011 +0000
    46.3 @@ -0,0 +1,158 @@
    46.4 +====== Secrets of /etc/init.d/network.sh ======
    46.5 +
    46.6 +===== Introduction =====
    46.7 +
    46.8 +SliTaz launches the /etc/init.d/network.sh at startup to initialize the network. It configures the hostname, loopback interface, and internet connection.
    46.9 +
   46.10 +It's also possible to call the script when SliTaz is started, and use it to open or close internet connections. For example netbox and any software linking get-wifi-firmware (get-ipw2100-firmware, get-b43-firmware...) use it.
   46.11 +
   46.12 +===== Usage =====
   46.13 +
   46.14 +By default, /etc/init.d/network.sh uses /etc/network.conf as the conf file. Parameters written in that file are made for the default network connection.
   46.15 +
   46.16 +To start the default connection, as when booting:
   46.17 +
   46.18 +<code>
   46.19 +# /etc/init.d/network.sh start
   46.20 +</code>
   46.21 +
   46.22 +The start arg should be used only at boot. To stop the connection:
   46.23 +
   46.24 +<code>
   46.25 +# /etc/init.d/network.sh stop
   46.26 +</code>
   46.27 +
   46.28 +To stop and restart:
   46.29 +
   46.30 +<code>
   46.31 +# /etc/init.d/network.sh restart
   46.32 +</code>
   46.33 +
   46.34 +But, most interestingly, is that ///etc/init.d/network.sh// may also use another config file. It's useful if you're using a laptop, as you can configure multiple connections for multiple access points.
   46.35 +
   46.36 +For example, we can create a directory /etc/network, containing some config files, named:
   46.37 +
   46.38 +    * Home, for home, using an ethernet connection and a static ip.
   46.39 +    * Desktop, for the desktop, with a wep encryption, and a static ip.
   46.40 +    * Univ, wifi without encryption, and with dhcp.
   46.41 +
   46.42 +Now to get connected at Home, later at a Desktop and finally at Univ, before stopping connection, we only have to:
   46.43 +
   46.44 +<code>
   46.45 +# /etc/init.d/network.sh restart /etc/network/Home
   46.46 +# /etc/init.d/network.sh restart /etc/network/Desktop
   46.47 +# /etc/init.d/network.sh restart /etc/network/Univ
   46.48 +# /etc/init.d/network.sh stop
   46.49 +</code>
   46.50 +
   46.51 +===== Sudo =====
   46.52 +
   46.53 +Since /etc/init.d/network.sh/ can only be used by root, if you want a normal user to use it, you should install sudo:
   46.54 +
   46.55 +<code>
   46.56 +# tazpkg get-install sudo
   46.57 +</code>
   46.58 +
   46.59 +And then configure it:
   46.60 +
   46.61 +<code>
   46.62 +# visudo
   46.63 +</code>
   46.64 +
   46.65 +For user tux, which must use network.sh from every host; without a password you should add:
   46.66 +
   46.67 +<file>
   46.68 +tux  ALL=NOPASSWD: /etc/init.d/network.sh,
   46.69 +</file>
   46.70 +
   46.71 +For user tortux, which may only get connected from localhost, and which should use a password each time, you should add:
   46.72 +
   46.73 +<file>
   46.74 +tortux my_hostname=PASSWD: /etc/init.d/network.sh,
   46.75 +</file>
   46.76 +
   46.77 +If you forgot your hostname, just run:
   46.78 +
   46.79 +<code>
   46.80 +$ cat /etc/hostname
   46.81 +</code>
   46.82 +
   46.83 +Here is some help to use visudo:
   46.84 +
   46.85 +    * i insertion mode (to write).
   46.86 +    * Escape exit insertion mode.
   46.87 +    * :wq record and quit.
   46.88 +    * :q! quit without recording.
   46.89 +
   46.90 +===== Openbox =====
   46.91 +
   46.92 +All this is not that really user friendly...
   46.93 +
   46.94 +That's why I'll give you a perfect treat: A way to integrate all this in an openbox menu! Create a script /usr/lib/openbox/network-menu.sh, and add this to it:
   46.95 +
   46.96 +<code bash>
   46.97 +#!/bin/sh
   46.98 +#
   46.99 +# openbox pipe menu to start network connections
  46.100 +# (This script is only useful if sudo is installed, and correctly configured)
  46.101 +
  46.102 +echo ''
  46.103 +
  46.104 +# for default file:
  46.105 +echo ''
  46.106 +echo ''
  46.107 +echo 'sudo /etc/init.d/network.sh restart'
  46.108 +echo ''
  46.109 +
  46.110 +# for others files:
  46.111 +for file in $(ls /etc/network/)
  46.112 +	do
  46.113 +	echo -e ""
  46.114 +	echo ''
  46.115 +	echo "sudo /etc/init.d/network.sh restart /etc/network/$file"
  46.116 +	echo ''
  46.117 +	done
  46.118 +
  46.119 +# To stop connections:
  46.120 +echo ''
  46.121 +echo ''
  46.122 +echo 'sudo /etc/init.d/network.sh stop'
  46.123 +echo ''
  46.124 +
  46.125 +echo ''
  46.126 +</code>
  46.127 +
  46.128 +Make it executable:
  46.129 +
  46.130 +<code sh>
  46.131 +# chmod +x /usr/lib/openbox/network-menu.sh
  46.132 +</code>
  46.133 +
  46.134 +And now you only have to add these lines in //~/.config/openbox/menu.xml//:
  46.135 +
  46.136 +<file>
  46.137 + menu id="network-menu" label="Network" 
  46.138 +	execute="/usr/lib/openbox/network-menu.sh" />
  46.139 +</file>
  46.140 +
  46.141 +Then reconfigure openbox:
  46.142 + 
  46.143 +<code>
  46.144 +$ openbox --reconfigure
  46.145 +</code>
  46.146 +
  46.147 +Enjoy!
  46.148 +
  46.149 +---- 
  46.150 +\\
  46.151 +^  Page Review Section  ^^ 
  46.152 +|Quality| Good  |
  46.153 +|Review| Minor Updates  |
  46.154 +|Priority| Medium |
  46.155 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  46.156 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  46.157 +|How to Improve| Suggest briefly|
  46.158 +|::: |  |
  46.159 +
  46.160 +\\
  46.161 +----
    47.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.2 +++ b/pages/en/guides/nvidia.txt	Sat Feb 26 12:17:18 2011 +0000
    47.3 @@ -0,0 +1,111 @@
    47.4 +====== Install the latest non-free Nvidia driver ======
    47.5 +
    47.6 +===== Required Reading =====
    47.7 +
    47.8 +    * Handbook - [[http://www.slitaz.org/en/doc/handbook/x-window.html#xorg|Xorg Installation]]
    47.9 +    * Quickstart Guide - [[en:guides:kernel|Build your own custom Linux Kernel]]
   47.10 +
   47.11 +===== Prepare =====
   47.12 +
   47.13 +    * Download the installer from the Nvidia [[http://www.nvidia.com/object/unix.html|website]]. Latest version 190.53
   47.14 +    * Install the Xorg server
   47.15 +
   47.16 +<code>
   47.17 +# tazpkg get-install xorg-server
   47.18 +</code>
   47.19 +
   47.20 +    * Install the linux-source package and development tools. See [[http://community.slitaz.org/wiki/quickstart/customkernel|here]]
   47.21 +
   47.22 +<code>
   47.23 +# tazpkg get-install linux-source
   47.24 +</code>
   47.25 +
   47.26 +
   47.27 +===== Install the driver =====
   47.28 +For this part you're going to need a pencil and paper as we now have to work in text mode without a X-server running
   47.29 +
   47.30 +When you're ready press alt-ctrl-del, you should now see a command line:-
   47.31 +
   47.32 +    * Configure the X-server and copy the (generated) xorg.conf
   47.33 +
   47.34 +<code>
   47.35 +# Xorg -configure
   47.36 +# cp /root/xorg.conf.new /etc/X11/xorg.conf
   47.37 +</code>
   47.38 +
   47.39 +    * Prepare the Kernel
   47.40 +<code>
   47.41 +# cd /usr/src/linux
   47.42 +
   47.43 +# make oldconfig && make prepare
   47.44 +
   47.45 +# make menuconfig (not required - but if you've come this far, you can take a peek)
   47.46 +# make bzImage
   47.47 +# make modules 
   47.48 +# make modules_install
   47.49 +</code>
   47.50 +
   47.51 +    * Now make executable and install the Nvidia driver, change to directory you installed to
   47.52 +<code>
   47.53 + # chmod +x NVIDIA-Linux-x86-177.80.pkg1.run
   47.54 + # ./NVIDIA-Linux-x86-177.80.pkg1.run --kernel-source-path=/usr/src/linux
   47.55 +</code>
   47.56 +
   47.57 +    * Copy the Kernel Image to /boot
   47.58 +
   47.59 +<code>
   47.60 +# cd /usr/src/linux
   47.61 +# cp arch/x86/boot/bzImage /boot
   47.62 +</code>
   47.63 +
   47.64 +
   47.65 +===== Restart =====
   47.66 +
   47.67 +    * Reboot into text mode
   47.68 +<code>
   47.69 +# reboot - Hard drive users
   47.70 +# tazusb writefs gzip && reboot - USB users
   47.71 +</code>
   47.72 +
   47.73 +Don't forget to pass the screen=text option at startup, (it may well boot into text mode anyway, if not just press alt-ctrl-del again)
   47.74 +
   47.75 +    * Load the nvidia module
   47.76 +
   47.77 +<code>
   47.78 +# modprobe -v nvidia 
   47.79 +</code>
   47.80 +
   47.81 +    * Edit Slim configuration file to load Xorg server
   47.82 +
   47.83 +<code>
   47.84 +# vi /etc/slim.conf
   47.85 +</code>
   47.86 +<file>
   47.87 +default_xserver     /usr/bin/Xorg
   47.88 +#default_xserver     /usr/bin/Xvesa
   47.89 +#xserver_arguments   -ac -shadow dpms +extension Composite -screen 1024x768x24
   47.90 +</file>
   47.91 +
   47.92 +    * Restart Slim
   47.93 +
   47.94 +<code>
   47.95 +# /etc/init.d/slim start
   47.96 +</code>
   47.97 +
   47.98 +Err… that's it
   47.99 +
  47.100 +(If you want the nvidia module to persist, just add it to the LOAD_MODULES variable in /etc/rcS.conf)
  47.101 +
  47.102 +---- 
  47.103 +\\
  47.104 +^  Page Review Section  ^^ 
  47.105 +|Quality| Low  |
  47.106 +|Review| DELETEME |
  47.107 +|Priority| Medium |
  47.108 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  47.109 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  47.110 +|How to Improve| Nvidia pkgs are in repos, no need to compile anymore|
  47.111 +|::: | Missing "tazhw setup nvidia --non-free" |
  47.112 +
  47.113 +\\
  47.114 +----
  47.115 \ No newline at end of file
    48.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.2 +++ b/pages/en/guides/playground.txt	Sat Feb 26 12:17:18 2011 +0000
    48.3 @@ -0,0 +1,4 @@
    48.4 +===== Hardware Guide =====
    48.5 +
    48.6 +^  Laptop  ^  Harddisk  ^  Graphics  ^  Display  ^  Sound  ^  WiFi  ^  Wired  ^  Keyboard  ^
    48.7 +|Lenovo T61  |160GB ATA  |Nvidia NVS 140M\\ Driver: nv (xorg)  |1400 x 900  |Intel Corporation 82801H\\ Driver: snd-hda-intel  |Intel Corporation PRO/Wireless 4965 AG\\ Driver: n/k  |Intel Corporation 82566MM\\ Driver: e1000  |standard  |
    48.8 \ No newline at end of file
    49.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.2 +++ b/pages/en/guides/powermgmt.txt	Sat Feb 26 12:17:18 2011 +0000
    49.3 @@ -0,0 +1,40 @@
    49.4 +====== ACPI (Advanced Configuration and Power Interface) ======
    49.5 +
    49.6 +To install the acpi daemon and modules:
    49.7 +<code>
    49.8 +# tazpkg get-install acpid
    49.9 +# tazpkg get-install linux-acpi
   49.10 +</code>
   49.11 +
   49.12 +The acpi daemon needs to be started before dbus and hal,
   49.13 +so edit your ///etc/rcS.conf// to look like this:
   49.14 +<file>
   49.15 +RUN_DAEMONS="acpid, dbus, hald, etc..."
   49.16 +</file>
   49.17 +
   49.18 +Or, to start manually:
   49.19 +<code>
   49.20 +# /etc/init.d/hald stop
   49.21 +# /etc/init.d/dbus stop
   49.22 +# /etc/init.d/acpid start
   49.23 +# /etc/init.d/dbus start
   49.24 +# /etc/init.d/hald start
   49.25 +</code>
   49.26 +
   49.27 +To check it's working, just:
   49.28 +<code>
   49.29 +$ cat /proc/acpi/battery/{BAT0}/info
   49.30 +</code>
   49.31 +
   49.32 +You can find some example scripts in ///etc/acpi//.
   49.33 +
   49.34 +
   49.35 +
   49.36 +
   49.37 +
   49.38 +
   49.39 +
   49.40 +
   49.41 +
   49.42 +
   49.43 +
    50.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.2 +++ b/pages/en/guides/printer.txt	Sat Feb 26 12:17:18 2011 +0000
    50.3 @@ -0,0 +1,392 @@
    50.4 +====== Printing ======
    50.5 +
    50.6 +The CUPS (Common Unix Printing System) software manages printers connected to the local computer or over a network. The local printers are attached via a loop-back connection (IP 127.0.0.1), a network connection pointing to the same system.
    50.7 +
    50.8 +===== Installing a Network Printer =====
    50.9 +
   50.10 +Install CUPS and add the user(s) to the //lp// group to gain permissions to access the devices. This can be done as root in a terminal:
   50.11 +
   50.12 +<code>
   50.13 +# tazpkg get-install cups
   50.14 +# addgroup tux lp
   50.15 +</code>
   50.16 +
   50.17 +Again as root, customise the default configuration in /etc/cupsd.conf:
   50.18 +
   50.19 +<file>
   50.20 +# Administrator user group...
   50.21 +SystemGroup lp
   50.22 +
   50.23 +# Restrict access to the admin pages...
   50.24 +
   50.25 +  Order allow,deny
   50.26 +  Allow 127.0.0.1
   50.27 +
   50.28 +
   50.29 +# Restrict access to configuration files...
   50.30 +
   50.31 +  AuthType Default
   50.32 +  Require user @SYSTEM
   50.33 +  Order allow,deny
   50.34 +  Deny From None
   50.35 +  Allow From 127.0.0.1
   50.36 +</file>  
   50.37 +
   50.38 +Set the administrative password for CUPS and add an administrative user:
   50.39 +
   50.40 +<code>
   50.41 +# lppasswd -g lp -a tux
   50.42 +</code>
   50.43 +
   50.44 +You should now be able to have access to the CUPS administration through your browser by entering the address ''<nowiki>http://localhost:631/</nowiki>''
   50.45 +
   50.46 +Install the printer drivers with the following packages:
   50.47 +
   50.48 +    - hplip : for HP printers
   50.49 +    - gutenprint : for Canon, Epson, Lexmark, Sony, Olympus
   50.50 +    - foomatic-db, foomatic-db-engine, foomatic-db-nonfree and foomatic-filters : several free software printer drivers
   50.51 +    - ufr2: for Canon printers (extra drivers)
   50.52 +    - splix: for Samsung
   50.53 +    - cups-pdf: for "printing" to PDF files
   50.54 +
   50.55 +For example, install the HP printer drivers with the following //root// command
   50.56 +<code>
   50.57 +# tazpkg get-install hplip
   50.58 +</code>
   50.59 +
   50.60 +Now you add a new printer in the browser interface and choose:
   50.61 +
   50.62 +<nowiki>LPD/LPR Host or Printer (Unknown),
   50.63 +and add the address socket//192.168.2.1:9100</nowiki>
   50.64 +
   50.65 +If you get the error, "//Returning IPP client-error-document-format-not-supported for Print-Job in /var/log/cups/error.log//" then add two files to the /etc/cups directory. The easiest method is to start a text editor such as Leafpad from a root terminal; start the Terminal and switch to the root user.
   50.66 +
   50.67 +  * ''mime.convs'' (/etc/cups/mime.convs):
   50.68 +<file>
   50.69 +application/pdf		application/postscript	33	pdftops
   50.70 +application/postscript	application/vnd.cups-postscript	66	pstops
   50.71 +application/vnd.hp-HPGL	application/postscript	66	hpgltops
   50.72 +application/x-cshell	application/postscript	33	texttops
   50.73 +application/x-csource	application/postscript	33	texttops
   50.74 +application/x-perl	application/postscript	33	texttops
   50.75 +application/x-shell	application/postscript	33	texttops
   50.76 +text/plain		application/postscript	33	texttops
   50.77 +text/html		application/postscript	33	texttops
   50.78 +image/gif		application/vnd.cups-postscript	66	imagetops
   50.79 +image/png		application/vnd.cups-postscript	66	imagetops
   50.80 +image/jpeg		application/vnd.cups-postscript	66	imagetops
   50.81 +image/tiff		application/vnd.cups-postscript	66	imagetops
   50.82 +image/x-bitmap		application/vnd.cups-postscript	66	imagetops
   50.83 +image/x-photocd		application/vnd.cups-postscript	66	imagetops
   50.84 +image/x-portable-anymap	application/vnd.cups-postscript	66	imagetops
   50.85 +image/x-portable-bitmap	application/vnd.cups-postscript	66	imagetops
   50.86 +image/x-portable-graymap application/vnd.cups-postscript	66	imagetops
   50.87 +image/x-portable-pixmap	application/vnd.cups-postscript	66	imagetops
   50.88 +image/x-sgi-rgb		application/vnd.cups-postscript	66	imagetops
   50.89 +image/x-xbitmap		application/vnd.cups-postscript	66	imagetops
   50.90 +image/x-xpixmap		application/vnd.cups-postscript	66	imagetops
   50.91 +image/x-sun-raster	application/vnd.cups-postscript	66	imagetops
   50.92 +
   50.93 +
   50.94 +image/gif		application/vnd.cups-raster	100	imagetoraster
   50.95 +image/png		application/vnd.cups-raster	100	imagetoraster
   50.96 +image/jpeg		application/vnd.cups-raster	100	imagetoraster
   50.97 +image/tiff		application/vnd.cups-raster	100	imagetoraster
   50.98 +image/x-bitmap		application/vnd.cups-raster	100	imagetoraster
   50.99 +image/x-photocd		application/vnd.cups-raster	100	imagetoraster
  50.100 +image/x-portable-anymap	application/vnd.cups-raster	100	imagetoraster
  50.101 +image/x-portable-bitmap	application/vnd.cups-raster	100	imagetoraster
  50.102 +image/x-portable-graymap application/vnd.cups-raster	100	imagetoraster
  50.103 +image/x-portable-pixmap	application/vnd.cups-raster	100	imagetoraster
  50.104 +image/x-sgi-rgb		application/vnd.cups-raster	100	imagetoraster
  50.105 +image/x-xbitmap		application/vnd.cups-raster	100	imagetoraster
  50.106 +image/x-xpixmap		application/vnd.cups-raster	100	imagetoraster
  50.107 +image/x-sun-raster	application/vnd.cups-raster	100	imagetoraster
  50.108 +
  50.109 +application/vnd.cups-postscript	application/vnd.cups-raster	100	pstoraster
  50.110 +</file>
  50.111 +
  50.112 +  * ''mime.types'' (/etc/cups/mime.types):
  50.113 +
  50.114 +<file>
  50.115 +application/pdf			pdf string(0,%PDF)
  50.116 +application/postscript		ai eps ps string(0,%!) string(0,<04>%!) \
  50.117 +				contains(0,128,<1B>%-12345X) + \
  50.118 +				(contains(0,4096,"LANGUAGE=POSTSCRIPT") \
  50.119 +				 contains(0,4096,"LANGUAGE = Postscript") \
  50.120 +				 contains(0,4096,"LANGUAGE = PostScript") \
  50.121 +				 contains(0,4096,"LANGUAGE = POSTSCRIPT") \
  50.122 +				 (contains(0,4096,<0a>%!) + \
  50.123 +				  !contains(0,4096,"ENTER LANGUAGE")))
  50.124 +application/vnd.hp-HPGL		hpgl \
  50.125 +				string(0,<1B>E<1B>%0B) \
  50.126 +				string(0,<1B>%-1B) string(0,<201B>)\
  50.127 +				string(0,BP;) string(0,IN;) string(0,DF;) \
  50.128 +				string(0,BPINPS;) \
  50.129 +				(contains(0,128,<1B>%-12345X) + \
  50.130 +				 (contains(0,4096,"LANGUAGE=HPGL") \
  50.131 +				  contains(0,4096,"LANGUAGE = HPGL")))
  50.132 +
  50.133 +########################################################################
  50.134 +#
  50.135 +# Image files...
  50.136 +#
  50.137 +
  50.138 +image/gif			gif string(0,GIF87a) string(0,GIF89a)
  50.139 +image/png			png string(0,<89>PNG)
  50.140 +image/jpeg			jpeg jpg jpe string(0,) &&\
  50.141 +				(char(3,0xe0) char(3,0xe1) char(3,0xe2) char(3,0xe3)\
  50.142 +				 char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\
  50.143 +				 char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\
  50.144 +				 char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef))
  50.145 +image/tiff			tiff tif string(0,MM<002A>) string(0,II<2A00>)
  50.146 +image/x-photocd			pcd string(2048,PCD_IPI)
  50.147 +image/x-portable-anymap		pnm
  50.148 +image/x-portable-bitmap		pbm string(0,P1) string(0,P4)
  50.149 +image/x-portable-graymap	pgm string(0,P2) string(0,P5)
  50.150 +image/x-portable-pixmap		ppm string(0,P3) string(0,P6)
  50.151 +image/x-sgi-rgb			rgb sgi bw icon short(0,474)
  50.152 +image/x-xbitmap			xbm
  50.153 +image/x-xpixmap			xpm ascii(0,1024) + string(3,"XPM")
  50.154 +#image/x-xwindowdump		xwd string(4,<00000007>)
  50.155 +image/x-sun-raster		ras string(0,<59a66a95>)
  50.156 +
  50.157 +#image/fpx			fpx
  50.158 +image/x-alias			pix short(8,8) short(8,24)
  50.159 +image/x-bitmap			bmp string(0,BM) && !printable(2,14)
  50.160 +image/x-icon			ico
  50.161 +
  50.162 +########################################################################
  50.163 +#
  50.164 +# Text files...
  50.165 +#
  50.166 +
  50.167 +application/x-cshell		csh printable(0,1024) + string(0,#!) +\
  50.168 +				(contains(2,80,/csh) contains(2,80,/tcsh))
  50.169 +application/x-perl		pl printable(0,1024) + string(0,#!) +\
  50.170 +				contains(2,80,/perl)
  50.171 +application/x-shell		sh printable(0,1024) + string(0,#!) +\
  50.172 +				(contains(2,80,/bash) contains(2,80,/ksh)\
  50.173 +				 contains(2,80,/sh) contains(2,80,/zsh))
  50.174 +application/x-csource		c cxx cpp cc C h hpp \
  50.175 +				printable(0,1024) + \
  50.176 +				(string(0,/*) string(0,//)
  50.177 +				 string(0,#include) contains(0,1024,<0a>#include) \
  50.178 +				 string(0,#define) contains(0,1024,<0a>#define))
  50.179 +text/html			html htm printable(0,1024) +\
  50.180 +				(istring(0,"") istring(0,"))
  50.181 +text/plain			txt printable(0,1024)
  50.182 +text/css			css
  50.183 +
  50.184 +
  50.185 +########################################################################
  50.186 +#
  50.187 +# RSS feed type...
  50.188 +#
  50.189 +
  50.190 +application/rss+xml		rss
  50.191 +
  50.192 +
  50.193 +########################################################################
  50.194 +#
  50.195 +# CUPS-specific types...
  50.196 +#
  50.197 +
  50.198 +application/vnd.cups-command	string(0,'#CUPS-COMMAND')
  50.199 +application/vnd.cups-form	string(0,"")
  50.200 +application/vnd.cups-pdf
  50.201 +application/vnd.cups-postscript
  50.202 +application/vnd.cups-ppd	ppd string(0,"*PPD-Adobe:")
  50.203 +application/vnd.cups-raster	string(0,"RaSt") string(0,"tSaR")
  50.204 +application/vnd.cups-raw	(string(0,<1B>E) + !string(2,<1B>%0B)) \
  50.205 +				string(0,<1B>@) \
  50.206 +				(contains(0,128,<1B>%-12345X) + \
  50.207 +				 (contains(0,4096,"LANGUAGE=PCL") \
  50.208 +				  contains(0,4096,"LANGUAGE = PCL")))
  50.209 +
  50.210 +########################################################################
  50.211 +#
  50.212 +# Raw print file support...
  50.213 +#
  50.214 +# Comment the following type to prevent raw file printing.
  50.215 +#
  50.216 +
  50.217 +application/octet-stream
  50.218 +</file>
  50.219 +
  50.220 +<note tip>If at the end of the procedures the printer is not working, restarting the service or computer may help.</note>
  50.221 +
  50.222 +===== Installing an USB Brother HL 2030 Printer =====
  50.223 +
  50.224 +To install cups, hal-cups-utils, usbutils. As root, type:
  50.225 +
  50.226 +<code>
  50.227 +root@slitaz:# tazpkg get-install cups
  50.228 +root@slitaz:# tazpkg get-install hal-cups-utils
  50.229 +root@slitaz:# tazpkg get-install usbutils
  50.230 +</code>
  50.231 +
  50.232 +Cups is used to manage the printer, hal-cups-utils allows cups to use HAL for printer connections and usbutils gives us the lsusb utility which lets us know how the printer is connected.
  50.233 +
  50.234 +Now we can add tux to the lp (printer) group. As root, we do:
  50.235 +
  50.236 +<code>
  50.237 +root@slitaz:# addgroup tux lp
  50.238 +</code>
  50.239 +
  50.240 +For the web interface of cups to be properly activated, we still need to change a few things in the ///etc/cupsd.conf// file:
  50.241 +
  50.242 +<code>
  50.243 +root@slitaz:# leafpad /etc/cups/cupsd.conf
  50.244 +</code>
  50.245 +
  50.246 + <file>
  50.247 +   # Administrator user group...
  50.248 +   SystemGroup lp
  50.249 +   
  50.250 +   # Restrict access to the admin pages...
  50.251 +   
  50.252 +   Order allow,deny
  50.253 +   Allow 127.0.0.1
  50.254 +   
  50.255 +   
  50.256 +   # Restrict access to configuration files...
  50.257 +   
  50.258 +   AuthType Default
  50.259 +   Require user @SYSTEM
  50.260 +   Order allow,deny
  50.261 +   Deny From None
  50.262 +   Allow From 127.0.0.1
  50.263 + </file>
  50.264 +
  50.265 +To modify permissions on the printer you need to know the details of the bus and device. For this, we do as root:
  50.266 +
  50.267 +<code>
  50.268 +root@slitaz:# lsusb
  50.269 +</code>
  50.270 +
  50.271 +And get the following output:
  50.272 +
  50.273 +<code>
  50.274 +   Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  50.275 +   Bus 001 Device 002: ID 04f9:0027 Brother Industries, Ltd HL-2030 Laser Printer
  50.276 +</code>
  50.277 +
  50.278 +You can now change the permissions on the associated file:
  50.279 +
  50.280 +<code>
  50.281 +root@slitaz:# chmod 666 /dev/bus/usb/001/002
  50.282 +</code>
  50.283 +
  50.284 +And then start cups:
  50.285 +
  50.286 +<code>
  50.287 +root@slitaz:# /etc/init.d/cupsd start
  50.288 +</code>
  50.289 +
  50.290 +We can now configure the printer and fetch the openprinting ppd file for that printer 
  50.291 +model: http://www.openprinting.org/printer/Brother/Brother-HL-2030 and also add the following 
  50.292 +packages: foomatic-filters foomatic-db foomatic-db-engine:
  50.293 +
  50.294 +<code>
  50.295 +root@slitaz:# tazpkg get-install foomatic-filters
  50.296 +root@slitaz:# tazpkg get-install foomatic-db
  50.297 +root@slitaz:# tazpkg get-install foomatic-db-engine
  50.298 +</code>
  50.299 +
  50.300 +Now we can restart cups and point midori to http://localhost:631
  50.301 +
  50.302 +Cups then asks for:
  50.303 +
  50.304 +- The login "root" (default tux)
  50.305 +
  50.306 +- The corresponding password.
  50.307 +
  50.308 +Then navigate to > Printers > Add Printer > click on the printer name that you recognize and do not forget to indicate the path in the connection box: ///dev/bus/usb/001/002// (in my case).
  50.309 +
  50.310 +Then go to the web interface of cups ppd and install the new printer using the file Brother HL-2030-hl1250.ppd located in the user's account. Now you can automatically restart cupsd each time you start the system by using System Tools (in the menu) -> Control box -> Initialization and allow the cupsd daemon to run by adding it to the 'Run daemons' section: 
  50.311 +
  50.312 +<file>
  50.313 +dbus hald firewall slim cupsd
  50.314 +</file> 
  50.315 +
  50.316 +===== Installing a HP Printer =====
  50.317 +
  50.318 +<note>This is for a clean installation of SliTaz GNU/Linux cooking-20100314</note>
  50.319 +
  50.320 +  - With the printer plugged in and powered on, run <code>
  50.321 +# su root
  50.322 +# tazpkg recharge
  50.323 +# tazhw setup printer</code>
  50.324 +  - Install only hplip and hal-cups-utils
  50.325 +  - The printer should show up in the list of printers displayed as part of this command. It will then attempt to open the CUPS admin pages in Midori (at http://localhost:631 )
  50.326 +  - On my system, the printer does not show up in the browser under 'Find printers' and I get a 'Forbidden' error when trying to add a printer via the browser
  50.327 +  - Instead, run <code># hp-setup</code> and follow the instructions. The test page should print correctly. The printer should also show up in the list of printers in applications (like the text editor) and will also appear in the list of printers on the CUPS browser pages, although in my case it is still not possible to make any changes to it
  50.328 +
  50.329 +===== Installing a HP All-In-One Printer/Scanner =====
  50.330 +
  50.331 +
  50.332 +=== Preparation & Packages ===
  50.333 +
  50.334 +Power on the scanner before installing the following packages:
  50.335 +
  50.336 +  * xsane
  50.337 +  * sane-backends
  50.338 +  * libusb
  50.339 +  * libusb-compat
  50.340 +  * usbtools
  50.341 +  * usbutils
  50.342 +
  50.343 +<note tip>You can automate the process with the following Bash command as //root// user:
  50.344 +<code>for PKG in xsane sane-backends-libusb libusb-compat usbtools usbutils; do 
  50.345 +tazpkg get-install $PKG
  50.346 +done</code>
  50.347 +</note>
  50.348 +
  50.349 +=== Detection ===
  50.350 +
  50.351 +With those packages installed, use the Hardware Detection Tool (Menu > System Tools > Hardware Detection And Drivers) 
  50.352 +Click on Scanner button
  50.353 +
  50.354 +If your scanner does not show up immediately, enter for none in my set-up; now the scanner device should be listed in purple text, e.g.:
  50.355 +
  50.356 +<file>/dev/bus/usb/004/002</file>
  50.357 +
  50.358 +=== Verify Permissions ===
  50.359 +
  50.360 +Your scanner must be in scanner group with 666 permissions
  50.361 +
  50.362 +<code>$ crw-rw-rw-    1 root     scanner  189, 385 Jun 22 19:44 /dev/bus/usb/0 </code>
  50.363 +
  50.364 +Reply y to start scanner
  50.365 +Warning pops up about running scanner as root
  50.366 +Click continue at your own risk button
  50.367 +Agree to license
  50.368 +
  50.369 +Xsane should open and be working!
  50.370 +
  50.371 +The //tux// user is automatically added to scanner group, so tux may scan, but if you run under another user name that user can't scan until you add them to //scanner// group. Do this with the command (as //root//):
  50.372 +
  50.373 +<code># addgroup //username// scanner</code>
  50.374 +
  50.375 +===== Links ====
  50.376 +
  50.377 +    * http://www.openprinting.org/printers
  50.378 +
  50.379 +===== TODO =====
  50.380 +
  50.381 +    * Parallel Printer
  50.382 +
  50.383 +---- 
  50.384 +\\
  50.385 +^  Page Review Section  ^^ 
  50.386 +|Quality| Low  |
  50.387 +|Review| Major Updates  FIXME |
  50.388 +|Priority| Medium |
  50.389 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  50.390 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  50.391 +|How to Improve| Suggest briefly|
  50.392 +|::: |  |
  50.393 +
  50.394 +\\
  50.395 +----
  50.396 \ No newline at end of file
    51.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.2 +++ b/pages/en/guides/pxe.txt	Sat Feb 26 12:17:18 2011 +0000
    51.3 @@ -0,0 +1,182 @@
    51.4 +====== PXE =======
    51.5 +
    51.6 +The //Preboot eXecution Environment// (or //PXE//, pronounced 'pixie') is the process of booting a computer from a network connection. It is comparable to booting a LiveCD from a remote CD drive.
    51.7 +
    51.8 +This network boot method requires:
    51.9 +
   51.10 +    * a server to store files running DHCP and TFTP (each could be on a separate server);
   51.11 +    * a client with a PXE boot-loader, stored in the BIOS firmware. It maybe disk-less.
   51.12 +
   51.13 +\\
   51.14 +
   51.15 +===== PXE Server Set-Up =====
   51.16 +
   51.17 +A PXE server comprises:
   51.18 +
   51.19 +  * a DHCP server to accept clients;
   51.20 +  * a DHCP boot-file to configure them;
   51.21 +  * a TFTP server to deliver an OS.
   51.22 +
   51.23 +The SliTaz LiveCD can be used as a PXE server. To begin the process, launch the Netbox application (from the System Tools menu).
   51.24 +
   51.25 +    * From the //Static IP// tab, click //Start//.
   51.26 +      *  This box will be the DHCP server. It can't use DHCP to get IP configuration.
   51.27 +
   51.28 +<note tip>Since SliTaz 3.0 the Netbox application is now split into Netbox and Serverbox. If you are running a recent SliTaz version, please read **Serverbox application** instead of **Server tab** below</note>
   51.29 +
   51.30 +    * From the //Server// tab, select the  //INETD// sub-tab and ensure the //tftpd// line is **uncommented** in /etc/initd.conf. This is the default behaviour. Click //Start//.
   51.31 +      *  This will launch the TFTP server, which will deliver the SliTaz LiveCD across the network.
   51.32 +
   51.33 +    * From the //Server// tab, select the //PXE// sub-tab.
   51.34 +
   51.35 +    * Edit the configuration to add your boot options.
   51.36 +      *  This will update the DHCP server configuration automatically.
   51.37 +
   51.38 +    * From the //Server// tab, select the //DHCP// sub-tab. Check the configuration aligns with your network. The previous step has added the lines //boot_file// and //siaddr//. Click //Start//.
   51.39 +      *  This will launch the the DHCP server. If clients to do not receive an IP address, check this configuration.
   51.40 +
   51.41 +    * Ensure the files //bzImage// and //rootfs.gz// are stored in the // /boot // directory of the LiveCD.
   51.42 +
   51.43 +\\ 
   51.44 +
   51.45 +===== PXE Client Set-Up =====
   51.46 +
   51.47 +Most recent machines with on-board Ethernet have a PXE-capable BIOS. Look for this feature in BIOS menus and BIOS boot menu and ensure it is activated. It may require you press a key, such as F12, during the boot process.
   51.48 +
   51.49 +If your computer does not support PXE booting, you can use SliTaz as a client instead. Create a bootable CD-ROM or floppy disk with the // Boot Floppy/CDROM // tool found in the //System Tools// menu.
   51.50 +
   51.51 +In PXE Network tab click Write floppy. Use this to boot the client computer.
   51.52 +
   51.53 +<note tip>Is your Ethernet card not recognised? See [[http://rom-o-matic.net/|ROM-O-Matic]]</note>
   51.54 +
   51.55 +\\
   51.56 +
   51.57 +===== Web Booting =====
   51.58 +
   51.59 +The SliTaz LiveCD has configuration settings to start your computer via the Internet. This is useful for using a newer version of SliTaz from older media.
   51.60 +
   51.61 +You can start the automatic process with the following command at the SliTaz LiveCD boot-splash:
   51.62 +
   51.63 +  web
   51.64 +
   51.65 +That's it!
   51.66 +
   51.67 +You can find more information on using an Internet connection to boot your computer at the [[http://boot.slitaz.org/|SliTaz Web Boot home-page]].
   51.68 +
   51.69 +You will need a DHCP server to get an IP address, netmask, gateway address, as per a normal network connection -- a standard home router should be sufficient for this.
   51.70 +
   51.71 +\\
   51.72 +
   51.73 +=== PXE boot without DHCP server: Web Boot & Command Line ===
   51.74 +
   51.75 +If you have no device that can function as a DHCP server, you need an IP address with a netmask, a gateway address and, optionally, a DNS address. 
   51.76 +<file>
   51.77 +title Slitaz Web
   51.78 +  kernel /boot/gpxe ip=192.168.0.12/24 gw=192.168.0.1 dns=192.168.0.1 url=http://mirror.slitaz.org/pxe/pxelinux.0
   51.79 +</file>
   51.80 +
   51.81 +You can modify the URL thus:
   51.82 +<file>
   51.83 +title Slitaz Web
   51.84 +  kernel /boot/gpxe ip=192.168.0.12/24 gw=192.168.0.1 dns=192.168.0.1 url=ip=192.168.0.12/24 gw=192.168.0.1
   51.85 +  dns=192.168.0.1 url=http://mirror.slitaz.org/pxe/pxelinux.0
   51.86 +</file>
   51.87 +
   51.88 +Note that only the following keywords are recognised:
   51.89 +
   51.90 +  * ip=
   51.91 +  * gw=
   51.92 +  * dns=
   51.93 +  * url=
   51.94 +  * nodhcp (useful to avoid a DHCP timeout error)
   51.95 +
   51.96 +\\
   51.97 +
   51.98 +===== Advanced Web Booting Configuration =====
   51.99 +
  51.100 +The Web Booting process can be embedded into routers and other devices, as well as being customised.
  51.101 +
  51.102 +\\
  51.103 +
  51.104 +=== Embedded Web Boot, with PXE boot PROM (PXE forwarder) ===
  51.105 +
  51.106 +Configure a PXE server with http://download.tuxfamily.org/slitaz/boot/gpxe.pxe as the boot file, a 42Kb second stage loader. This was successfully tested with an [[http://openwrt.org/|OpenWRT]] router:
  51.107 +
  51.108 +    * install http://mirror.slitaz.org/boot/mips/tftpd (mips version) in /jffs/usr/sbin
  51.109 +    * install gpxe.exe in /jffs/boot
  51.110 +    * add dhcp bootfile option in dnsmasq config file
  51.111 +
  51.112 +  # echo "dhcp-boot=gpxe.pxe" >> /tmp/dnsmasq.conf
  51.113 +
  51.114 +launch the tftp server for your lan (say 192.168.0.1/24)
  51.115 +
  51.116 +  # /jffs/usr/sbin/tftpd 192.168.0.1 /jffs/boot
  51.117 +
  51.118 +\\
  51.119 +
  51.120 +=== Modifying the Default GPXE Web Boot URL ===
  51.121 +
  51.122 +The URL is stored at offset 519 in 255 bytes max.
  51.123 +
  51.124 +  * Show the current URL with:
  51.125 +
  51.126 +  $ dd bs=1 skip=519 count=255 if=gpxe 2> /dev/null | strings
  51.127 +
  51.128 +  * Change the URL with:
  51.129 +
  51.130 +  $ echo -n "http://myurl.org/myboot" | cat - /dev/zero | dd conv=notrunc bs=1 seek=519 count=255 of=gpxe
  51.131 +
  51.132 +  * Change the URL and IP configuration with:
  51.133 +
  51.134 +  $ echo -n "ip=192.168.0.10/24 gw=192.168.0.1 dns=192.168.0.1 url=http://myurl.org/myboot" | cat - /dev/zero | dd
  51.135 +  conv=notrunc bs=1 seek=519 count=255 of=gpxe
  51.136 +
  51.137 +  * Remove URL to behave as a normal GPXE with:
  51.138 +
  51.139 +  $ dd if=/dev/zero conv=notrunc bs=1 seek=519 count=255 of=gpxe
  51.140 +
  51.141 +\\
  51.142 +
  51.143 +=== Hack the gpxe.pxe Default Web Boot URL ===
  51.144 +
  51.145 +The URL is stored at offset 5 in 255 bytes max.
  51.146 +
  51.147 +Show the current URL with:
  51.148 +
  51.149 +  $ dd bs=1 skip=5 count=255 if=gpxe.pxe 2> /dev/null | strings
  51.150 +
  51.151 +Change the URL with:
  51.152 +
  51.153 +  $ echo -n "http://myurl.org/myboot" | cat - /dev/zero | dd conv=notrunc bs=1 seek=5 count=255 of=gpxe.pxe
  51.154 +
  51.155 +Remove the URL and behave as a normal //gpxe.pxe// with:
  51.156 +  $ dd if=/dev/zero conv=notrunc bs=1 seek=5 count=255 of=gpxe.pxe
  51.157 +
  51.158 +\\
  51.159 +
  51.160 +=== Using Redundancy with Web Boot Servers ===
  51.161 +
  51.162 +Comma separated URL lists are supported.
  51.163 +
  51.164 +The PXE client will try to load the first URL. If the load fails, it will try the next URL, and so on.
  51.165 +
  51.166 +Example with current Slitaz Web boot servers :
  51.167 +
  51.168 +  $ echo -n "http://mirror.slitaz.org/pxe/pxelinux.0,http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,http:
  51.169 +  download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | dd conv=notrunc bs=1 seek=519 count=255 of=gpxe
  51.170 +
  51.171 + 
  51.172 +---- 
  51.173 +\\
  51.174 +^  Page Review Section  ^^ 
  51.175 +|Quality| Good  |
  51.176 +|Review| Minor Updates  |
  51.177 +|Priority| Medium |
  51.178 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  51.179 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  51.180 +|How to Improve| Improve readability |
  51.181 +|:::           | Section in to Client/Server, with Simple/Advanced in each |
  51.182 +|::: |  |
  51.183 +
  51.184 +\\
  51.185 +----
  51.186 \ No newline at end of file
    52.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.2 +++ b/pages/en/guides/qemu.txt	Sat Feb 26 12:17:18 2011 +0000
    52.3 @@ -0,0 +1,64 @@
    52.4 +====== QEMU ======
    52.5 +
    52.6 +===== Introduction =====
    52.7 +
    52.8 +QEMU provides a virtual machine that will run within XP. Refer to the QEMU documentation for a detailed description of the virtual hardware.
    52.9 +
   52.10 +It allows to test an operating system environment without actually installing it and without rebooting out of XP; e.g. you can test Slitaz this way, before deciding if you want to install it on your machine.
   52.11 +
   52.12 +Compared with Virtual Box (which I am also using regularly), QEMU is initially much faster and easier to set up. You will also have less problems if you are somewhat memory constrained (which you are, if you have less than 1.0 or 1.5 GB RAM). Performance wise, both virtualization platforms looked similar to me (although way slower than a native install). 
   52.13 +
   52.14 +If you just want to try Slitaz within your XP environment, prefer the QEMU solution described here (unless VirtualBox is already installed and set up on your machine).
   52.15 +
   52.16 +===== Getting started =====
   52.17 +==== Requirements ====
   52.18 +This works on XP with Slitaz 3.0 (should work with all versions of Slitaz). 
   52.19 +
   52.20 +==== Install QEMU ====
   52.21 +Go to Pendrivelinux.com  and download the QEMU PC hardware emulator installer (QPU804.exe).
   52.22 +This executable is actually a self-extracting archive. When you run it you just need to tell the installer where to unzip the contents (which may be on your hard disk or on a flash drive). The result will be a folder named QPU804.
   52.23 +
   52.24 +The QEMU setup can execute any ISO that you put in that folder.
   52.25 +Copy the SliTaz ISO to that folder.
   52.26 +You now have a virtualized SliTaz installation that can run alongside Windows.
   52.27 +
   52.28 +==== Start QEMU ====
   52.29 +Execute QPU804.bat (double click on it from an explorer window) to start your virtual machine (it will advertise it is running Ubuntu, but really it will run the ISO you copied to that folder, Slitaz.iso in this case).
   52.30 +
   52.31 +You will see your virtual machine booting from the ISO file, as if it would be booting from a Slitaz LiveCD. Refer to other parts of the Slitaz documentation for a detailed presentation of what you can do from there.
   52.32 +
   52.33 +==== Getting in and out of the QEMU Window ====
   52.34 +To move the mouse out of the QEMU screen window press ctrl, keep it pressed and press the alt key simultaneously. To go back, just left click in the window.
   52.35 +
   52.36 +==== Shared Folder ====
   52.37 +Open a pcmanfm window: the Slitaz partition labeled "QEMU VVFAT" refers to the same physical (shared) location as the XP "QPU804\shared folder" folder. 
   52.38 +
   52.39 +==== Screen resolution ====
   52.40 +My screen resolution was 800x600. You may want to read the QEMU documentation and play around with the available options from both QEMU and Slitaz to get a higher resolution.
   52.41 +
   52.42 +To get a full screen Slitaz, try adding the -full-screen option to the qemu command line of the QPU804.BAT file.
   52.43 +
   52.44 +===== I want to keep the changes I made in Slitaz =====
   52.45 +
   52.46 +==== Private data ====
   52.47 +Copy any private data created in Slitaz to the shared directory: it will survive a virtual machine reboot.
   52.48 +
   52.49 +==== Keeping system changes ====
   52.50 +Two ways to do this: 
   52.51 +  * create a new iso with your changes, or 
   52.52 +  * install Slitaz in a qemu virtual drive
   52.53 +
   52.54 +
   52.55 +== Create an ISO file with your system changes ==
   52.56 +In the Slitaz menu select //System Tools-> Create a LiveCD// (refer to the LiveCD section of the documentation).
   52.57 +
   52.58 +The writeISO panel will create a bootable image of Slitaz with any changes you made, and will store this image file as /home/slitaz/distro/slitaz.iso. 
   52.59 +
   52.60 +In the Slitaz environment, copy-paste that slitaz.iso file to the shared folder. Then from XP you will be able to copy the slitaz.iso file from the QPU804\shared folder to the QPU804 folder, replacing the existing ISO file (delete the old .iso file if it has a different name). Next time you start QEMU, it will boot from your new ISO which brings you back to the same environment.
   52.61 +
   52.62 +
   52.63 +== Install Slitaz in a qemu virtual drive ==
   52.64 +
   52.65 +Alternatively, refer to the QEMU documentation to start QEMU with a "virtual disk" file, where you will be able to install Slitaz by using the menu item //System Tools -> Slitaz Installer//. 
   52.66 +
   52.67 +(Not tested with Slitaz but tested with other systems in the past)
    53.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    53.2 +++ b/pages/en/guides/remotedesktop.txt	Sat Feb 26 12:17:18 2011 +0000
    53.3 @@ -0,0 +1,110 @@
    53.4 +===== Remote Desktop =====
    53.5 +
    53.6 +\\
    53.7 +
    53.8 +==== NoMachine (NX) ====
    53.9 +
   53.10 +<note important>This section is under construction and has not been verified by others. It has been created from one particular (working) configuration.</note>
   53.11 +
   53.12 +[[http://www.nomachine.com|NoMachine]] (NX) is a propietary remote desktop system, supporting multiple hosts and keypair-based log-ins.
   53.13 +
   53.14 +<note>This guide assumes you have a working SSH configuration for remote access. NoMachine/NX channels authentication and encrypted communications through SSH. This can be via password authentication or an RSA key pair; NoMachine/NX uses a DSA key pair to authenticate.</note>
   53.15 +
   53.16 +<note>My ([[http://forum.slitaz.org/index.php/profile/20/seawolf|seawolf]]) personal SSH configuration uses a non-standard port and key pair-based, password-less authentication. The differences in this guide to a standard, password-protected SSH configuration using port 22 are irrelevant as the default is given initially.</note>
   53.17 +
   53.18 +There are three parts to a NX system:
   53.19 +  - the **server** is the machine to which you connect;
   53.20 +  - the **node** is one in a group of resources that hosts your session - this can be the server;
   53.21 +  - the **client** that connects to a server (and in turn, the node).
   53.22 +
   53.23 +\\
   53.24 +
   53.25 +=== Download the Software ===
   53.26 +
   53.27 +There are three packages available to [[http://www.nomachine.com/download-package.php?Prod_Id=2071|download]] from NoMachine. All clients must have installed the client package, whereas all three packages must be installed on servers and nodes. This is because parts of the client package is used by the node, parts of which are used by the server.
   53.28 +
   53.29 +  * Decompress the three NX packages (client, node, server) on the server into ''/usr'' to create ''/usr/NX'' directory.
   53.30 +  * Decompress the client package on the client(s).
   53.31 +
   53.32 +\\
   53.33 +
   53.34 +=== Server Configuration ===
   53.35 +
   53.36 +The automated commands are not compatible with BusyBox and the SliTaz configuration, so the installation commands need to be edited:
   53.37 +  * Create the symlinks ''/etc/rc.d/rc#.d/'' all pointing to ''/etc/init.d/''. This can be easily achieved with the following command performed as the //root// user:
   53.38 +  * ''for NUM in 0 1 2 3 4 5 6 ; do cp /etc/rc.d/init.d /etc/rc.d/rc$NUM.d; done''
   53.39 +
   53.40 +  * Modify ''/usr/NX/scripts/setup/nxserver'' by:
   53.41 +      * fixing the user add/del commands in lines 924, 963, 984.
   53.42 +      * comment out the command in line 956 by placing a hash immediately after the opening quotation mark (command not needed)
   53.43 +  * Install the server: ''sudo /usr/NX/scripts/setup/nxserver --install fedora''
   53.44 +      * the OS doesn't really matter but it's the closest match for the numerous /etc/init.d commands
   53.45 +  * Change the server name & SSH port (if necessary) in ''/usr/NX/etc/server.cfg'' (line 31, 36 & 236)
   53.46 +  * Allow administrative logins in line 87 of ''/usr/NX/etc/server.cfg''
   53.47 +
   53.48 +\\
   53.49 +
   53.50 +=== Node Configuration ===
   53.51 +
   53.52 +The automated commands are not compatible with BusyBox and the SliTaz configuration, so the installation commands need to be edited:
   53.53 +  * Modify ''/usr/NX/scripts/setup/nxnode'' by:
   53.54 +      * specify SSH port in line 43 (if necessary)
   53.55 +      * change to ''local.sh'' on line 1305
   53.56 +
   53.57 +  * Install the node: ''sudo /usr/NX/scripts/setup/nxnode --install fedora''
   53.58 +      * ignoring warning about CUPS detection if you don't have a printer
   53.59 +  * Change server name & SSH port (if necessary) in'' /usr/NX/etc/node.cfg'' (line 32, 342)
   53.60 +
   53.61 +\\
   53.62 +
   53.63 +=== User Configuration ===
   53.64 +
   53.65 +  * Enable the nx user account by using: ''sudo passwd -u nx''
   53.66 +  * Confirm this with: ''sudo /usr/NX/bin/nxserver --usercheck //username//''
   53.67 +
   53.68 +<code>
   53.69 +NX> 900 Verifying public key authentication for NX user: //username//.
   53.70 +NX> 900 Adding public key for user: //username// to the authorized keys file.
   53.71 +NX> 716 Public key added to: /home/ //username// /.ssh/authorized_keys2.
   53.72 +NX> 900 Verifying public key authentication for NX user: //username//.
   53.73 +NX> 900 Public key authentication succeeded.
   53.74 +NX> 999 Bye.
   53.75 +</code>
   53.76 +
   53.77 +You should now be able to log-in to the server/node using a normal username and password.
   53.78 +
   53.79 +\\
   53.80 +
   53.81 +=== Recreating Keys ===
   53.82 +
   53.83 +When the default key pair authenticates correctly, they should be regenerated for security reasons. Issue the following command to create a new key pair:
   53.84 +''sudo /usr/NX/bin/nxserver --keygen''
   53.85 +
   53.86 +New keys should be created. Distribute the secret key ''/usr/NX/share/keys/default.id_dsa.key'' to clients and import it in the client GUI (Configure > General > Server > Key... > Import).
   53.87 +
   53.88 +Restart the server (''sudo /usr/NX/bin/nxserver --restart'') to complete the changes.
   53.89 +
   53.90 +\\
   53.91 +
   53.92 +=== Tips ===
   53.93 +
   53.94 +  * If you want to use key pair and password-less authentication, ammend ///etc/ssh/sshd_config// with:
   53.95 +PasswordAuthentication no
   53.96 +AllowUsers nx //other usernames//
   53.97 +
   53.98 +  * Open ports 5000-5200 for an unencrypted connection. This is because after a successful authentication has taken place the client reconnects to a display in the range starting at 'DisplayBase' up to the value ('DisplayBase' + 'DisplayLimit'). These parameters default to the values "1,000" and "200" respectively and TCP port numbers are obtained by adding the value "4,000" to the display numbers, thus giving 5000 and 5200. If encrypted display is enabled, all traffic is piped through SSH.
   53.99 +
  53.100 +  * If the client fails to connect to the server with the following messages:
  53.101 + 
  53.102 +<code>
  53.103 +NX> 203 NXSSH running with pid: //PID//
  53.104 +NX> 285 Enabling check on switch command
  53.105 +NX> 285 Enabling skip of SSH config files
  53.106 +NX> 285 Setting the preferred NX options
  53.107 +NX> 200 Connected to address: //IP address// on port: //SSH port//
  53.108 +NX> 202 Authenticating user: nx
  53.109 +NX> 208 Using auth method: publickey
  53.110 +NX> 204 Authentication failed.
  53.111 +</code>
  53.112 +
  53.113 +then the ''/usr/nx/home/nx/.ssh/authorized_keys2'' file is likely at fault.
    54.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    54.2 +++ b/pages/en/guides/sdcard.txt	Sat Feb 26 12:17:18 2011 +0000
    54.3 @@ -0,0 +1,94 @@
    54.4 +====== Installing SliTaz to a MMC/SD-card ======
    54.5 +SliTaz can be installed to a MMC/SD flash-memory card (the kind used in digital cameras) in either of two ways: in a LiveUSB version as used on a "memory-stick" (also called "thumb-drive", "flash-drive", or a variety of other names), or as a regular install as used on a hard-drive. There are advantages and disadvantages to both methods.
    54.6 +
    54.7 +===== LiveUSB-type installation =====
    54.8 +A memory-stick uses NAND flash memory which eventually wears out after about 100,000 read/write cycles. SliTaz tries to minimize this wear, and thus prolong the life of the memory-stick, by storing the entire main root-file-system ("rootfs") as a compressed image in one file (rootfs.gz), then uncompressing it into the machine's memory (RAM) when booting. Only the /home directory is normally written onto the memory-stick, unless the user issues this command:
    54.9 +<code>
   54.10 +# tazusb writefs [compression]
   54.11 +</code>
   54.12 +Where "[compression]" can be "lzma", "gzip", or "none". This command re-writes the rootfs.gz file onto the memory-stick, so that changes made to the system can be saved and used again at the next boot-up. The big advantage to using this method is obviously that it prolongs the life of the USB device. The big disadvantage is that booting takes a long time because of the use of compression, and the more packages you install to your rootfs system the longer it takes to boot. The rootfs can also be saved without compression (i.e., # tazusb writefs none), which will allow it to boot much faster. This was not such a good option when SliTaz 1.0 was released in 2008, because memory-sticks had much less storage space then, but with 4 GB memory-sticks common now, it's not as much of a problem. This same method can be used to install SliTaz to a MMC/SD card.
   54.13 +
   54.14 +===== Regular "hard-drive"-type installation =====
   54.15 +The other option is to treat the MMC/SD card as if it were a real hard-drive, and simply use:
   54.16 +<code>
   54.17 +# gparted
   54.18 +</code>
   54.19 +to format the card and set up partitions like on a regular hard-drive, and
   54.20 +<code>
   54.21 +# slitaz-installer
   54.22 +</code>
   54.23 +to do the actual installation. Be sure to also allow the installer to install GRUB onto the card, so that you can boot from it the normal way, same as you would from a regular hard-drive.
   54.24 +
   54.25 +===== Example as used on my own Asus Eee-PC =====
   54.26 +The SliTaz installation which I put onto a MMC/SD-card (16 GB) was for my Asus Eee-PC 701, leaving the Eee's original Xandrox Linux installation intact on its SSD (solid-state drive), and keeping the MMC/SD-card with SliTaz always in the card-reader slot. The Eee's BIOS needed to be changed to allow the SD-card to be the first boot device, so that the machine would boot into GRUB before anything else. The /boot/grub/menu.lst is setup to allow me to boot from either Xandros or SliTaz on the GRUB menu:
   54.27 +<file>
   54.28 +# /boot/grub/menu.lst: GRUB boot loader configuration.
   54.29 +#
   54.30 +
   54.31 +# By default, boot the first entry.
   54.32 +default 0
   54.33 +
   54.34 +# Boot automatically after 8 secs.
   54.35 +timeout 8
   54.36 +
   54.37 +# Change the colors.
   54.38 +color yellow/brown light-green/black
   54.39 +
   54.40 +# To boot newest slitaz from : /dev/sdb5
   54.41 +#
   54.42 +title  SliTaz GNU/Linux (cooking - kernel 2.6.30.6)
   54.43 +  root (hd0,4)
   54.44 +#  kernel /boot/vmlinuz-2.6.30.6-slitaz rootdelay=10 root=/dev/sdb5
   54.45 +# the kernel line used to be necessary
   54.46 +# but apparently a later upgrade of SliTaz commented it out
   54.47 +# GRUB boots into SliTaz with no problem using only the root (hd0,4) command
   54.48 +
   54.49 +# To boot Asus eee pc Xandros
   54.50 +#
   54.51 +title Xandros (kernel vmlinuz-2.6.21.4-eeepc)
   54.52 +  root (hd1,0)
   54.53 +  kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll i8042.noloop=1 root=/dev/sda1
   54.54 +  initrd /boot/initramfs-eeepc.img
   54.55 +</file>
   54.56 +
   54.57 +The first 3 partitions on my MMC/SD-card were originally used as storage for various parts of the Eee's Xandros system, with the 4th partition formatted as an Extended Partition and further divided into two, with Partition 5 used for the SliTaz install and Partition 6 for Linux-Swap. But because this SliTaz installation has become my main one for the Eee, as I added more packages I finally decided to move parts of the SliTaz filesystem to other partitions and use this layout:
   54.58 +<code>
   54.59 +$ df -h
   54.60 +Filesystem                Size      Used Available Use% Mounted on
   54.61 +rootfs                    1.4G    413.3M    913.1M  31% /
   54.62 +/dev/root                 1.4G    413.3M    913.1M  31% /
   54.63 +tmpfs                   500.7M         0    500.7M   0% /dev/shm
   54.64 +/dev/sdb2                 3.0G      1.4G      1.6G  46% /usr
   54.65 +/dev/sdb3                 2.5G      2.1G    323.0M  87% /home
   54.66 +/dev/sdb1                 7.4G      5.2G      1.9G  73% /home/shared
   54.67 +</code>
   54.68 +
   54.69 +The /home/shared directory is one which has documents shared by the Xandros system.
   54.70 +
   54.71 +The Eee-PC was already set-up to recognize and read the MMC/SD-card. But one day I accidentally moved the whole contents of /boot to another directory and thus was unable to boot SliTaz. When I inserted the card into a Toshiba Satellite A215-S5850 laptop (my biggest, most modern, and main laptop), I was surprised to find that the machine did not see the MMC/SD-card. It was necessary to add a kernel package:
   54.72 +<code>
   54.73 +# tazpkg get-install linux-mmc
   54.74 +</code>
   54.75 +and then to load this module:
   54.76 +<code>
   54.77 +# modprobe mmc_block
   54.78 +</code>
   54.79 +After that, SliTaz was able to read the contents of the MMC/SD-card, and I was able to move the /boot files back to where they belonged and fix the system. If the output of
   54.80 +<code>
   54.81 +# lsmod
   54.82 +</code>
   54.83 +does not show mmc_block, then that module must be loaded manually. To have SliTaz always load it at boot-up, simply add it to the LOAD_MODULES line of /etc/rcS.conf.
   54.84 +
   54.85 +---- 
   54.86 +\\
   54.87 +^  Page Review Section  ^^ 
   54.88 +|Quality| Good  |
   54.89 +|Review| Minor Updates  |
   54.90 +|Priority| Medium |
   54.91 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   54.92 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   54.93 +|How to Improve| Suggest briefly|
   54.94 +|::: |  |
   54.95 +
   54.96 +\\
   54.97 +----
   54.98 \ No newline at end of file
    55.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.2 +++ b/pages/en/guides/sexydesktop.txt	Sat Feb 26 12:17:18 2011 +0000
    55.3 @@ -0,0 +1,74 @@
    55.4 +====== Sexy desktop apps and config ======
    55.5 +
    55.6 +===== Introduction =====
    55.7 +
    55.8 +This page provides information about creating a beautiful desktop, available applications via the SliTaz package manager and configuration file examples or tweaks.
    55.9 +Wbar and Tint2 desktop
   55.10 +
   55.11 +First install the used packages:
   55.12 +
   55.13 +    * wbar
   55.14 +    * tint2
   55.15 +    * nitrogen
   55.16 +    * cairo-clock
   55.17 +
   55.18 +We have to create, modify or configure 3 files in your personal home directory (click on the link to download files or check the bottom of the page):
   55.19 +
   55.20 +    * //~/.wbar//
   55.21 +    * //~/.config/tint2/tint2rc//
   55.22 +    * //~/.config/openbox/autostart.sh//
   55.23 +
   55.24 +Wbar and Tint2 configuration files don't exist if you've never started the applications before, but Openbox autostart scripts should exist since it is the default Window Manager on SliTaz. Save the attached config files and put them in the correct directory.
   55.25 +
   55.26 +The cairo analog desktop clock needs the "Composite" extension enabled and a composite manager running (both activated by default on SliTaz). If you use Xorg you must adjust your xorg.conf file. The composite manager we use in Slitaz is called xcompmgr, it is light and has some command line options for shadows, etc.
   55.27 +
   55.28 +To automatically execute all applications when your X session starts you must edit the Openbox autostart script with your favorite editor or use the GUI //$(desktopbox autostart)// to add the following lines:
   55.29 +
   55.30 +<file>
   55.31 +# Start the Freedesktop standard menu panel.
   55.32 +#lxpanel &
   55.33 +
   55.34 +# Tint2 - Simple and clean panel.
   55.35 +tint2 &
   55.36 +
   55.37 +# Desktop Wallpaper with Nitrogen.
   55.38 +nitrogen --restore &
   55.39 +
   55.40 +# Desktop effects composer (xcompmgr -c -r 10 &).
   55.41 +xcompmgr &
   55.42 +
   55.43 +# Wbar icons panel.
   55.44 +(sleep 4 && wbar -above-desk -bpress -pos top center -isize 24 -jumpf 0 -zoomf 2.0 -balfa 0) &
   55.45 +
   55.46 +# Nice clock for the desktop.
   55.47 +(sleep 2 && cairo-clock) &
   55.48 +</file>
   55.49 +
   55.50 +Make sure to comment out lxpanel and modify PCmanfm preferences to let Nitrogen handle the desktop background. To choose your image:
   55.51 +
   55.52 +<code> $ nitrogen /usr/share/images </code>
   55.53 +
   55.54 +Now logout and login again into your customized desktop. Or kill the current process and then restart the applications:
   55.55 +
   55.56 +<code>
   55.57 +$ killall lxpanel
   55.58 +$ tint2 &
   55.59 +$ wbar -above-desk -bpress -pos top center -isize 24 -jumpf 0 -zoomf 2.0 -balfa 0 &
   55.60 +</code>
   55.61 +{{ :en:guides:image:wbar-tint2-desktop.preview.png?100|Click to Preview}}
   55.62 +[[http://savedonthe.net/download/185/dot.html|Link to download .wbar file]]
   55.63 +[[http://savedonthe.net/download/186/tint2rc.html|Link to download tint2rc file]]
   55.64 +
   55.65 +---- 
   55.66 +\\
   55.67 +^  Page Review Section  ^^ 
   55.68 +|Quality| Good  |
   55.69 +|Review| Minor Updates  |
   55.70 +|Priority| Medium |
   55.71 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   55.72 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   55.73 +|How to Improve| Suggest briefly|
   55.74 +|::: |  |
   55.75 +
   55.76 +\\
   55.77 +----
   55.78 \ No newline at end of file
    56.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    56.2 +++ b/pages/en/guides/start.txt	Sat Feb 26 12:17:18 2011 +0000
    56.3 @@ -0,0 +1,138 @@
    56.4 +====== Guides ======
    56.5 +
    56.6 +The SliTaz GNU/Linux quick start and complete guides by the community. You will find here specific guides to software, hardware or system configurations written by SliTaz users and contributors. These guides aim to provide concise and correct instructions. They explain a precise example of a solution and don't expect to be a general how-to.
    56.7 +
    56.8 +
    56.9 +===== General =====
   56.10 +   * [[newbie | SliTaz Newbie Guide]] 
   56.11 +   * [[read | README ]] - Before you post a question in the Community Forum
   56.12 +   * [[contributor | Contribute to Slitaz]] - Guidelines to become a SliTaz Contributor
   56.13 +   * [[bugs | Most Annoying Bugs ]]
   56.14 +   * [[faq | FAQ]]
   56.15 +   * [[testingapps | Testing Packages]] - Quality Management
   56.16 +   * [[ http://scn.slitaz.org/image | Artwork]] - Showcase your screenshots, wallpaper, themes and other Artwork 
   56.17 +
   56.18 +===== Installation, flavors and virtualization =====
   56.19 +  * [[pxe|PXE boot]] - Boot from the web
   56.20 +  * [[lowramcd|Live CD for low RAM systems]]
   56.21 +  * [[frugal|Frugal install to Windows partition ]]
   56.22 +  * [[uncommoninst|Unusual install methods]]
   56.23 +  * [[liveusb| LiveUSB]]- Installation to a USB flash drive 
   56.24 +  * [[dvd|Offline DVD]] - All Slitaz resources on one DVD 
   56.25 +  * [[sdcard|SD Card]] - How to install SliTaz to a MMC/SD flash memory card
   56.26 +  * [[ http://pizza.slitaz.org/ | Online builder ]] - Create a flavor using Pizza
   56.27 +  * [[manyinone | Create many-in-1 flavors]]
   56.28 +  * [[internationalization | Internationalization ]] - Add language support and create your own language flavor
   56.29 +  * [[qemu | Qemu ]] - SliTaz GNU/Linux with Qemu
   56.30 +  * [[vmware| VMware]] - SliTaz GNU/Linux with VMware
   56.31 +  * [[virtualbox | Virtualbox]]- SliTaz GNU/Linux with virtualbox
   56.32 +  * [[netstart|Net start usage and immediate installation on hard disk]]
   56.33 +  * [[http://blog.bodhizazen.net/linux/how-to-install-slitaz-with-ext4-and-grub2/|Grub2]] - Install SliTaz with grub2 (and ext4)
   56.34 +
   56.35 +
   56.36 +===== Networking / LAN =====
   56.37 +  * [[wifi-easy|Wifi easy]] - Easy way to configure wifi
   56.38 +  * [[wifi-hard|Wifi hard]] - Hard way to configure wifi
   56.39 +  * [[network-script|Network.sh script]] - The /etc/init.d/network.sh file
   56.40 +  * [[vpn|VPN]] - Build your own Virtual Private Network
   56.41 +  * [[dialup | 3G/Dialup]] - How to get your 3G modem working
   56.42 +  * [[modem | Modem]] - Modem dialup with ppp or wvdial
   56.43 +  * [[bluetooth|Bluetooth]] - Configure bluetooth
   56.44 +  * [[samba | Window Networking with Samba]]
   56.45 +  * [[remotedesktop | Remote Desktop ]] - NX software from NoMachine 
   56.46 +
   56.47 +===== SliTaz tinyutil Boxes =====
   56.48 +  * [[tazpkgbox | Tazpkgbox]] - Package Manager GUI
   56.49 +  * [[tazctrlbox | Tazctrlbox]] - SliTaz system administration GUI
   56.50 +  * [[tazlitobox | Tazlitobox]] - GUI to generate LiveCD/flavors
   56.51 +  * [[tazusbbox | Tazusbbox]] - GUI to generate LiveUSB
   56.52 +  * [[tazhwbox | Tazhw box]] - Hardware detection and driver installation
   56.53 +  * [[mountbox | Mountbox ]] - Graphically access and mount filesystems 
   56.54 +  * [[burnbox | Burnbox]] - Burn CDs/VCDs/DVDs
   56.55 +  * [[wifibox | Wifibox]] - Wireless Configuration
   56.56 +  * [[netbox | Netbox]] - Ethernet/PPP/VPN/DHCP/Static IP configuration
   56.57 +  * [[serverbox | Serverbox]] - Manage servers and/or firewall 
   56.58 +  * [[scpbox | Scpbox]] - Copy securely using scp
   56.59 +
   56.60 +===== Software =====
   56.61 +  * [[recommended | Recommended Software Packages]] - Applications to do almost anything on Slitaz
   56.62 +  * [[flash|FlashInstall]] - How to install Adobe Flash Player 
   56.63 +  * [[boottime|Super Fast Boot]] - Super fast boot time 
   56.64 +  * [[burncd | Burn CD / DVD]] - Burn CD/DVD audio/video 
   56.65 +  * [[backup| Backup ]] - How to make backups on CD / computer
   56.66 +  * [[Midori|Midori]] - Midori Tips and Tweaks 
   56.67 +  * [[panels | Panels and Launchers ]]
   56.68 +  * [[arts | Themes, Wallpaper, Icon sets ]]
   56.69 +  * [[fonts | Useful Fonts ]]
   56.70 +  * [[sexydesktop| Sexy Desktop]] - Desktop apps and config
   56.71 +  * [[conky | Conky ]] 
   56.72 +  * [[audioplayers | Audio Players ]]
   56.73 +  * [[videoplayers | Video Players ]]
   56.74 +  * [[soundconvert | Sound and Video Conversion]] - Sound/Video conversion, Audio creation and synthesis
   56.75 +  * [[importphotos | Import photos from digital camera]] - using gphoto2 
   56.76 +  * [[dropbox | Dropbox ]]
   56.77 +  * [[tor|Tor]] - The Tor Install Guide without blah-blah
   56.78 +  * [[conspy|Conspy]] - Tiny session manager or shared console
   56.79 +  * [[wicd | Wicd]] - Lightweight network manager
   56.80 +  * [[grub | Grub and Grub2]]
   56.81 +  * [[alsaequal | Alsaequal]] - Real-time adjustable equalizer plugin for ALSA
   56.82 + 
   56.83 +
   56.84 +===== Hardware =====
   56.85 +  * [[xorg/xvesa | Xorg/Xvesa]] - What to do if X is will not start or has the wrong resolution
   56.86 +  * [[nvidia|Nvidia]] - Install the latest non-free Nvidia driver
   56.87 +  * [[ati | ATI]] - Install the latest non-free catalyst ATI driver
   56.88 +  * [[webcam | Webcam]] - How to get webcam working
   56.89 +  * [[printer | Printing]] - Howto print, CUPS install and configuration
   56.90 +  * [[scanner | Scanning]]
   56.91 +  * [[udev | UDEV and HAL]]
   56.92 +  * [[troubleshoot | Troubleshoot]]
   56.93 +  * [[powermgmt | Power Management ]] - ACPI (Advanced Configuration and Power Interface)
   56.94 +  * [[CPU-frequency | CPU Frequency Scaling]] - CPU Frequency Scaling instructions
   56.95 +
   56.96 +===== Server setup and system Administration =====
   56.97 +  * [[apache | Apache Webserver ]]
   56.98 +  * [[lighttpd | Lighttpd Webserver]]
   56.99 +  * [[ssh | Dropbear, Openssh ]]
  56.100 +  * [[mailman | Mailserver and Mailman]]
  56.101 +  * [[database|Database engine]] - SQLite, MySQL and other DB management systems
  56.102 +  * [[redmine | Redmine Setup ]]
  56.103 +  * [[mercurial | Mercurial Installation ]]
  56.104 +  * [[en:handbook:server-apps#drupal|Drupal]] - Powerful CMS engine using PHP/MySQL
  56.105 +  * [[streaming | Media Streaming Server ]]
  56.106 +  * [[encryption | File, Drive Encryption ]]
  56.107 +  * [[firewall | Firewall]]
  56.108 +  * [[router | Router and Internet Gateway ]]
  56.109 +
  56.110 +
  56.111 +===== Window Managers=====
  56.112 +  * [[en:handbook:wm#dwm|DWM]] 
  56.113 +  * [[en:handbook:wm#pekwm|Pekwm]]
  56.114 +  * [[fluxbox | Fluxbox ]]
  56.115 +  * [[en:handbook:wm#xfce | Xfce ]]
  56.116 + 
  56.117 + 
  56.118 +
  56.119 +===== Kernel and SliTaz Build system =====
  56.120 +  * [[kernel|CustomKernel]] - Build your own custom Linux Kernel
  56.121 +  * [[en:guides:linuxpkgs | linux-* packages]] - Explanation of various linux packages
  56.122 +  * [[chroot|Chroot]] - How to setup a chroot to cook packages
  56.123 +  * [[tazwoktips | Tips for compiling with Tazwok ]] - Build packages for SliTaz more effectively
  56.124 +
  56.125 +===== Playground =====
  56.126 +  * [[playground|Playground]] - For testing purposes only
  56.127 +
  56.128 +---- 
  56.129 +\\
  56.130 +^  Page Review Section  ^^ 
  56.131 +|Quality| Low  |
  56.132 +|Review| Major Updates FIXME  |
  56.133 +|Priority| Medium |
  56.134 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  56.135 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  56.136 +|How to Improve| Suggest briefly, e.g.,|
  56.137 +|::: | [[en:guides:start | Add link]]|
  56.138 +|::: | Add new rows like this ;-)  |
  56.139 +
  56.140 +\\
  56.141 +----
    57.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    57.2 +++ b/pages/en/guides/tazwoktips.txt	Sat Feb 26 12:17:18 2011 +0000
    57.3 @@ -0,0 +1,38 @@
    57.4 +====== Tazwoktips ======
    57.5 +
    57.6 +You must read the [[http://doc.slitaz.org/en:cookbook:start|Cookbook]] first - it's a great collection of documents. This guide supplements the cookbook with some tips that you are most likely to face while compiling packages for SliTaz.
    57.7 +
    57.8 +===== Tips =====
    57.9 +
   57.10 +  - Add the "slitaz-dev-pkgs" package - it's a meta package that adds some of the useful *-dev packages
   57.11 +  - Compilation Errors like 
   57.12 +        * checking for $PKG... configure: error: Couldn't find $PKG >= 1.0.0,
   57.13 +        * configure: error: Couldn't find $FILENAME
   57.14 +        * use: "tazpkg search-pkgname $FILENAME" to find the package with the missing file; Add this package to the BUILD_DEPENDS in the receipt
   57.15 +  - Read receipts of the other packages for standardization. The problems you face may already have a solution in one of these receipts. Some example receipts include: 
   57.16 +       * xorg-libSM (or any xorg-*) : to use a $SOURCE variable
   57.17 +       * cups : to strip files other than .so in usr/lib, and to compress some driver files
   57.18 +       * ndiswrapper-driver or broadcom-wl : to cook linux modules
   57.19 +       * mplayer-svn : to create packages from a svn/git repository
   57.20 +       * 915resolution or busybox : to add patches
   57.21 +       * nvidia : to create non-free packages that need the linux package for compiling modules
   57.22 +       * get-* : to create non-free packages
   57.23 +       * *-dev : to see how to create a dev receipt
   57.24 +  - Create lighter packages. Always remember to disable gnome dependencies or any other dependencies that are not so useful. Always use "configure --help" to see the compile options. Many packages have auto-dependency tracking, i.e., if it finds a corresponding *-dev package installed on the system, it will auto-enable an option. So, if you don't disable an unwanted dependency, then when a package is cooked on the SliTaz tank server, it is likely that the package won't run properly because of the missing dependency. The missing dependency problems that are often reported on the forum are caused due to this problem. 
   57.25 +  - Missing .pc files : Sometimes a dev package created upstream misses .pc files, so pkg-config cannot locate the corresponding dev files correctly. This can play havoc sometimes as you expect the upstream packages to be properly distributed. firefox-dev is one such example.
   57.26 +  - gcc4.4 patches : The new stricter format of gcc4.4 breaks many packages. This is quite a common problem. You need to either create a simple patch or see if a new upgrade is available upstream. See mplayerplug-svn. 
   57.27 +  - Use a chroot environment and keep it clean so that you can submit the receipt with the correct BUILD_DEPENDS. 
   57.28 +
   57.29 +---- 
   57.30 +\\
   57.31 +^  Page Review Section  ^^ 
   57.32 +|Quality| Good  |
   57.33 +|Review| Minor Updates  |
   57.34 +|Priority| Medium |
   57.35 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   57.36 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   57.37 +|How to Improve| Suggest briefly|
   57.38 +|::: |  |
   57.39 +
   57.40 +\\
   57.41 +----
   57.42 \ No newline at end of file
    58.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.2 +++ b/pages/en/guides/testingapps.txt	Sat Feb 26 12:17:18 2011 +0000
    58.3 @@ -0,0 +1,31 @@
    58.4 +======= Testing Applications =======
    58.5 +<note important>Not started yet - this is only a suggestion to discuss in the forum</note>
    58.6 +
    58.7 +As a result of [[http://forum.slitaz.org/index.php/discussion/668/testing-packages/#Item_23|discussions in the forum]], this is the page for documentation - please take part and report any troubles with packages here.
    58.8 +
    58.9 +===== system-tools =====
   58.10 +
   58.11 +^  Package  ^  Maintainer  ^ Tester ^  Status  ^  Problems  ^  Link ^
   58.12 +|Midnight Commander|~|kultex|tested|ok|~|
   58.13 +|pcmanfm|~|~|not tested|~|~|
   58.14 +
   58.15 +===== x-window =====
   58.16 +
   58.17 +^  Package  ^  Maintainer ^ Tester ^  Status  ^  Problems  ^  Link  ^
   58.18 +|xorg-xf86-video-intel|~|kultex|tested|should be updated to 2.7.1\\ update in progress|http://hg.slitaz.org/wok/rev/c86710039a5f|
   58.19 +|xorg-xf86-video-nv|~|kultex|started|~|~|
   58.20 +
   58.21 +---- 
   58.22 +\\
   58.23 +^  Page Review Section  ^^ 
   58.24 +|Quality| Poor FIXME |
   58.25 +|Review| Major Updates or DELETEME |
   58.26 +|Priority| Low |
   58.27 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   58.28 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   58.29 +|How to Improve| Suggest briefly, e.g.,|
   58.30 +|::: |  [[http://labs.slitaz.org/wiki/packages | New test guidilines are here]]|
   58.31 +|::: | Add new rows like this ;-)  |
   58.32 +
   58.33 +\\
   58.34 +----
    59.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.2 +++ b/pages/en/guides/tor.txt	Sat Feb 26 12:17:18 2011 +0000
    59.3 @@ -0,0 +1,42 @@
    59.4 +====== The Tor Install Guide without blah-blah ======
    59.5 +
    59.6 +===== Installation =====
    59.7 +<code>
    59.8 +# tazpkg get-install tor
    59.9 +# tazpkg get-install privoxy
   59.10 +# echo 'forward-socks4a /        127.0.0.1:9050   .' >> /etc/privoxy/config
   59.11 +# sed -r '/RUN_DAEMONS/s/(" *)$/ privoxy\1/' -i /etc/rcS.conf 
   59.12 +# echo 'tor > /dev/tty2 & ' >> /etc/init.d/local.sh
   59.13 +</code>
   59.14 +
   59.15 +Use Bridges to get tor working if the options above are not working.
   59.16 +
   59.17 +<code>
   59.18 +# echo '
   59.19 +UseBridges 1
   59.20 +UpdateBridgesFromAuthority 1
   59.21 +bridge 66.160.141.98:6085 ' >> /etc/tor/torrc
   59.22 +</code>
   59.23 +
   59.24 +===== Reboot system and relogin. =====
   59.25 +
   59.26 +Login to tty2 (Ctrl+Alt+F2 gets you into tty2; Alt+F7 back to the Desktop) to check if it works or not.
   59.27 +If it shows Success... then this means it works.
   59.28 +
   59.29 +Then install the "tor button" plugin for Firefox.
   59.30 +
   59.31 +Over the Wall, you can touch everywhere in the world.
   59.32 +
   59.33 +---- 
   59.34 +\\
   59.35 +^  Page Review Section  ^^ 
   59.36 +|Quality| Medium  |
   59.37 +|Review| Minor Updates  |
   59.38 +|Priority| Low |
   59.39 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   59.40 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   59.41 +|How to Improve| Introduction is missing|
   59.42 +|::: |  |
   59.43 +
   59.44 +\\
   59.45 +----
   59.46 \ No newline at end of file
    60.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    60.2 +++ b/pages/en/guides/uncommoninst.txt	Sat Feb 26 12:17:18 2011 +0000
    60.3 @@ -0,0 +1,288 @@
    60.4 +====== Unusual install methods ======
    60.5 +
    60.6 +The //slitaz-installer// installs SliTaz in a partition or a hard drive as most Linux distributions do. However, there are many other ways to install SliTaz...
    60.7 +
    60.8 +===== Frugal install =====
    60.9 +
   60.10 +You don't need a special partition, the system runs in RAM like a Live CD...
   60.11 +
   60.12 +See [[http://doc.slitaz.org/en:guides:frugal#traditional-frugal-install|frugal install]] and [[http://doc.slitaz.org/en:guides:frugal#iso-image-install|ISO image install]]
   60.13 +
   60.14 +...it can be tuned to your needs a little bit.
   60.15 +
   60.16 +See [[http://doc.slitaz.org/en:guides:frugal#tuning-the-boot-process|tune boot]]
   60.17 +
   60.18 +You can also use a LORAM flavor created with //tazlitobox// and //The filesystem is always in RAM//...
   60.19 +
   60.20 +...or //The filesystem may be on a small CDROM//. Install the CD-ROM files // /boot/bzImage // and // /boot/rootfs.gz // and copy the // /rootfs.gz //. Say into // /this/directory //. Now get the label of the partition. Say mypartition:
   60.21 +  # blkid
   60.22 +And append the param //loram=// to the cmdline:
   60.23 +<file>
   60.24 +kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal loram=LABEL=mypartition,this/directory
   60.25 +</file>
   60.26 +<note tip>
   60.27 +You can also use a device name (loram=/dev/hda2,this/directory). The device name may vary with the kernel version (hda or sda) and USB keys.</note>
   60.28 +
   60.29 +===== USB key install =====
   60.30 +
   60.31 +==== Tazusb ====
   60.32 +
   60.33 +This is a mix between a frugal and traditional install. The system runs fully in RAM but the // home // directory is always on the key. You can modify the system (configure, install packages) and then save the new system on the key 8-).
   60.34 +See [[http://hg.slitaz.org/tazusb/raw-file/tip/doc/tazusb.en.html|tazusb manual]]
   60.35 +
   60.36 +==== Hybrid ISO ====
   60.37 +
   60.38 +This install method will **erase all of your key** and install a **unmodifiable** :-/ SliTaz. You can create a custom system with //tazlito// or //tazlitobox//. Each Slitaz ISO image is [[http://doc.slitaz.org/en:guides:dvd#hybrid-iso|hybrid]].
   60.39 +
   60.40 +===== Loop install =====
   60.41 +
   60.42 +If you want to install SliTaz on a disk (not a frugal install), and you don't want to create a partition for SliTaz, but you have enough room in a feature-poor filesystem (FAT32 or NTFS)...
   60.43 +
   60.44 +... create a loop file and install SliTaz into it!
   60.45 +
   60.46 +The problem is: what size? 200MB should be the minimum. Imagine, you could like it and install many more packages!
   60.47 +
   60.48 +==== Loopfile creation ====
   60.49 +
   60.50 +You can create the loop file with **mountbox** (click loop, enter the file name, then click create, enter the size, the units, click create) or with the command line:
   60.51 +  # dd if=/dev/zero bs=1M count=200 of=slitaz.fs
   60.52 +
   60.53 +You now need to create a filesystem in this loopfile:
   60.54 +  # yes | mke2fs -j slitaz.fs
   60.55 +
   60.56 +Later, if the loopfile is too small you can extend it (assuming you don't boot from the loopfile, but a Slitaz Live CD for example):
   60.57 +  # dd if=/dev/zero bs=1M count=100 >> slitaz.fs
   60.58 +  # resize2fs slitaz.fs
   60.59 +
   60.60 +==== Root filesystem files installation ====
   60.61 +
   60.62 +Copy files from the rootfs.gz archive of a cdrom into the loopfile:
   60.63 +  # mount /dev/cdrom /media/cdrom
   60.64 +  # mount -o loop,ro slitaz.fs /media
   60.65 +  # unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt; cpio -idmu )
   60.66 +  # umount -d /mnt
   60.67 +  # umount /media/cdrom
   60.68 +
   60.69 +==== Boot setup ====
   60.70 +
   60.71 +Get a **preinit** iso file with same version (the kernel version must match the modules version in the root filesystem).
   60.72 +The partition storing the loopfile (say /dev/hda1) and its path into the partition (say /data/slitaz.fs) is defined by the **mount** and **loopfs** arguments:
   60.73 +<file>
   60.74 +title SliTaz cooking
   60.75 +  map (hd0,0)/boot/slitaz-preinit.iso (hd1)
   60.76 +  map --hook
   60.77 +  kernel (hd1)/boot/bzImage mount=/dev/hda1 loopfs=data/slitaz.fs
   60.78 +  initrd (hd1)/boot/rootfs.gz
   60.79 +</file>
   60.80 +<note tip>The loop install does not use exotic packages from preinit. You can use any SliTaz flavor (except lorams).</note>
   60.81 +<note tip>
   60.82 +You can built an up-to-date **preinit** iso anytime with<code># tazlito get-flavor preinit
   60.83 +# tazlito gen-distro</code></note>
   60.84 +<file>
   60.85 +title SliTaz cooking in loop file
   60.86 +  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
   60.87 +  map --hook
   60.88 +  kernel (hd1)/boot/bzImage mount=/dev/hda1 loopfs=data/slitaz.fs
   60.89 +  initrd (hd1)/boot/rootfs.gz
   60.90 +  
   60.91 +title SliTaz cooking in RAM (like the Live CD)
   60.92 +  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
   60.93 +  map --hook
   60.94 +  kernel (hd1)/boot/bzImage rw root=/dev/null autologin
   60.95 +  initrd (hd1)/boot/rootfs.gz
   60.96 +</file>
   60.97 +Or, you can replace the device name of the mount variable by the UUID or LABEL returned by blkid:
   60.98 +<file>
   60.99 +title SliTaz cooking
  60.100 +  map (hd0,0)/boot/slitaz-preinit.iso (hd1)
  60.101 +  map --hook
  60.102 +  kernel (hd1)/boot/bzImage mount=a4b346ee-4c7b-46aa-9fd4-6bc39ab4fa96 loopfs=data/slitaz.fs
  60.103 +  initrd (hd1)/boot/rootfs.gz
  60.104 +</file>
  60.105 +<note tip>You can extract the bzImage and rootfs.gz from the iso image to avoid map commands and defragmentation.</note>
  60.106 +
  60.107 +===== Subdirectory install =====
  60.108 +
  60.109 +If you want install SliTaz on a disk (not a frugal install), and you don't want to create a partition for SliTaz, but you have room in a filesystem for another Unix and you don't know how much space to reserve for SliTaz...
  60.110 +
  60.111 +... create a subdirectory and install SliTaz into it!
  60.112 +
  60.113 +<note important>This install method can waste some MB of RAM: it loads a ramdisk from the preinit flavor and doesn't disallocate RAM fully from the ramdisk.
  60.114 +</note>
  60.115 +
  60.116 +==== Root filesystem files installation ====
  60.117 +
  60.118 +Simply install SliTaz file in a subdirectory (say /var/slitaz) of another linux partition:
  60.119 +  # mkdir /mnt/var/slitaz
  60.120 +  # unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt/var/slitaz ; cpio -idmu )
  60.121 +
  60.122 +==== Boot setup ====
  60.123 +
  60.124 +Like a loop install, you need a preinit iso file with a matching version.
  60.125 +The partition (say /dev/hda1) and the path into the partition are defined by the mount and subroot arguments: 
  60.126 +<file>
  60.127 +title SliTaz cooking
  60.128 +  map (hd0,0)/boot/slitaz-preinit.iso (hd1)
  60.129 +  map --hook
  60.130 +  kernel (hd1)/boot/bzImage mount=/dev/hda1 subroot=var/slitaz
  60.131 +  initrd (hd1)/boot/rootfs.gz
  60.132 +</file>
  60.133 +
  60.134 +Both notes in 'Loop install' section about bzImage extraction and UUID/LABEL also apply here.
  60.135 +<note tip>The subdirectory install does not use exotic packages from preinit. You can use any SliTaz flavor (except lorams). However this is not recommended because the RAM filesystem is not fully disallocated</note>
  60.136 +
  60.137 +===== LVM install =====
  60.138 +
  60.139 +The Logical Volume Manager can manage (add disks, replace disks ...) and logically freeze any disks for backup (snapshots) without disrupting service. 
  60.140 +See [[wp>Logical_Volume_Manager_(Linux)]]
  60.141 +
  60.142 +==== LVM partition setup ====
  60.143 +
  60.144 +A small amount of storage (depending on the disk activity, likely between 1% and 15%) is used by snapshots to hold frozen data during a backup.
  60.145 +Assuming we use the sda1 partition with 5% reserved for snapshots:
  60.146 +  # tazpkg get-install lvm2
  60.147 +  # modprobe dm-mod
  60.148 +  # pvcreate /dev/sda1
  60.149 +  # vgcreate slitaz /dev/sda1
  60.150 +  # lvcreate -l 95%VG slitaz -n root 
  60.151 +  # mke2fs -j /dev/mapper/slitaz-root        
  60.152 +  # tune2fs -c 0 -i 0 /dev/mapper/slitaz-root
  60.153 +  # mount /dev/mapper/slitaz-root /mnt
  60.154 +
  60.155 +==== Root filesystem files installation ====
  60.156 +
  60.157 +Similar to a loop install:
  60.158 +  # unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt ; cpio -idmu )
  60.159 +
  60.160 +==== Boot setup ====
  60.161 +
  60.162 +Like a loop install, you need a **preinit** iso file with a matching version. The argument **lvmroot** holds the volume name:
  60.163 +<file>
  60.164 +title SliTaz cooking
  60.165 +  map (hd0,0)/boot/slitaz-preinit.iso (hd1)
  60.166 +  map --hook
  60.167 +  kernel (hd1)/boot/bzImage lvmroot=slitaz-root
  60.168 +  initrd (hd1)/boot/rootfs.gz
  60.169 +</file>
  60.170 +
  60.171 +===== RAID install =====
  60.172 +
  60.173 +==== Hardware RAID ====
  60.174 +
  60.175 +Full hardware [[wp>RAID]] is transparent for SliTaz. The disk array is seen as a single disk and nothing special has to be done to install SliTaz.
  60.176 +
  60.177 +==== Semi hardware RAID ====
  60.178 +
  60.179 +=== Creation & installation ===
  60.180 +
  60.181 +The [[wp>RAID]] array is built with the BIOS menus. SliTaz needs the driver **dmraid** to see the array and not only each hard disk:
  60.182 +  # tazpkg get-install lvm2
  60.183 +  # tazpkg get-install dmraid
  60.184 +  # dmraid -s            <== shows raid infomation
  60.185 +  # modprobe raid1       <== could be raid0, raid456 or raid10
  60.186 +  # dmraid -ay           <== activates the array in /dev/mapper
  60.187 +  # mount /etc/mapper/myraid /media
  60.188 +  # unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt ; cpio -idmu )
  60.189 +
  60.190 +=== Boot setup ===
  60.191 +
  60.192 +Like a loop install, you need a **preinit** iso file with a matching version. The argument **dmraid** holds the volume name:
  60.193 +<file>
  60.194 +title SliTaz cooking
  60.195 +  map (hd0,0)/boot/slitaz-preinit.iso (hd1)
  60.196 +  map --hook
  60.197 +  kernel (hd1)/boot/bzImage dmraid=myraid
  60.198 +  initrd (hd1)/boot/rootfs.gz
  60.199 +</file>
  60.200 +
  60.201 +
  60.202 +
  60.203 +==== Software RAID ====
  60.204 +
  60.205 +The array does not need the BIOS and can be fully administered remotely!
  60.206 +<note tip>
  60.207 +You should tune the **preinit** flavor to your needs. Enable the dropbear startup in /etc/rcS.conf and maybe install a VPN. If the software RAID does not start on startup, you will be able to fix it remotely...
  60.208 +</note>
  60.209 +
  60.210 +=== Creation & installation ===
  60.211 +
  60.212 +Example for mirroring (raid1) devices /dev/sda3 and /dev/sdb3:
  60.213 +  # tazpkg get-install lvm2
  60.214 +  # tazpkg get-install mdadm
  60.215 +  # echo y | mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3 --bitmap=internal --assume-clean
  60.216 +  # modprobe raid1
  60.217 +  # mdadm --assemble --scan
  60.218 +  # mount /dev/md0 /media
  60.219 +  # unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt ; cpio -idmu )
  60.220 +
  60.221 +=== Boot setup ===
  60.222 +
  60.223 +Like a loop install, you need a preinit iso file with a matching version. The argument **softraid** holds the device name:
  60.224 +<file>
  60.225 +title SliTaz cooking
  60.226 +  map (hd0,0)/boot/slitaz-preinit.iso (hd1)
  60.227 +  map --hook
  60.228 +  kernel (hd1)/boot/bzImage softraid=/dev/md0
  60.229 +  initrd (hd1)/boot/rootfs.gz
  60.230 +</file>
  60.231 +
  60.232 +===== Crypto install =====
  60.233 +
  60.234 +<note>
  60.235 +Encrypts the whole [[wp>Disk_encryption|root filesystem]], not just the /home partition. Important, because the files in /tmp, /var/tmp may betray your work. The swap does too unless you use a file instead of a partition (like /tmp/swapfile; this will be encrypted too because this file is in the root filesystem)
  60.236 +</note>
  60.237 +
  60.238 +==== LUKS ====
  60.239 +
  60.240 +[[wp>LUKS]] replaces the [[wp>Cryptoloop]] and Loop-AES formats now.
  60.241 +
  60.242 +=== Creation & installation ===
  60.243 +
  60.244 +Create the encrypted device with **mountbox** (crypto button). You may have to accept the missing packages installation. Select the device (say /dev/sda3) and click the **create** button. Now you can start to format it:
  60.245 +  # mke2fs -j /dev/mapper/crypto-sda3
  60.246 +  # tune2fs -c 0 -i 0 /dev/mapper/crypto-sda3
  60.247 +  # mount /dev/mapper/crypto-sda3 /media
  60.248 +  # unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt ; cpio -idmu )
  60.249 +
  60.250 +=== Boot setup ===
  60.251 +
  60.252 +Like a loop install, you need a preinit iso file with a matching version. The argument cryptoroot holds the volume name:
  60.253 +<file>
  60.254 +title SliTaz cooking
  60.255 +  map (hd0,0)/boot/slitaz-preinit.iso (hd1)
  60.256 +  map --hook
  60.257 +  kernel (hd1)/boot/bzImage cryptoroot=sda3
  60.258 +  initrd (hd1)/boot/rootfs.gz
  60.259 +</file>
  60.260 +
  60.261 +====== TODO ======
  60.262 +
  60.263 +==== Loop-AES compatibility ====
  60.264 +
  60.265 +This deprecated format needs the same __boot setup__ as LUKS.
  60.266 +
  60.267 +====== TODO ======
  60.268 +
  60.269 +===== Mixed install =====
  60.270 +
  60.271 +You can mix several above methods using one device access and/or one filesystem access.
  60.272 +
  60.273 +^Device access^Filesystem access^
  60.274 +|mount=|subroot=|
  60.275 +|*raid=|loopfs=|
  60.276 +|lvmroot=|cryptoroot=|
  60.277 +|*raid= + lvmroot=|loopfs= + cryptoroot=|
  60.278 +
  60.279 +==== Example 1 : RAID + LVM ====
  60.280 +
  60.281 +==== Example 2 : Loop + crypto ====
  60.282 +
  60.283 +==== Possible improvements? ====
  60.284 +
  60.285 +Add network support: nbd/iscsi + RAID 1 net&local + crypto 
  60.286 +
  60.287 +====== TODO ======
  60.288 +
  60.289 +===== PXE: No install ! =====
  60.290 +
  60.291 +You can [[http://doc.slitaz.org/en:guides:pxe#pxe-server-set-up|setup a PXE server]] (well... you need to configure your server) or a [[http://doc.slitaz.org/en:guides:pxe#advanced-web-booting-configuration|PXE forwarder]], see the //Embedded Web Boot with PXE boot PROM// (the SliTaz team has [[http://boot.slitaz.org|configured the server for you]] 8-))
  60.292 \ No newline at end of file
    61.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.2 +++ b/pages/en/guides/virtualbox.txt	Sat Feb 26 12:17:18 2011 +0000
    61.3 @@ -0,0 +1,63 @@
    61.4 +====== Virtualbox ======
    61.5 +
    61.6 +===== SliTaz GNU/Linux with VirtualBox =====
    61.7 +
    61.8 +You can now play with SliTaz GNU/Linux on Windows with VirtualBox.
    61.9 +Required:
   61.10 +
   61.11 +    * [[http://virtualbox.wordpress.com/2008/06/27/slitaz-gnulinux-is-here/|SliTaz GNU/Linux Image]], the virtual machine.
   61.12 +    * [[http://www.virtualbox.org/wiki/Downloads|Oracle VirtualBox]] software, binaries for Windows.
   61.13 +    * [[http://www.7-zip.org/fr/download.html|7-Zip]], needed to decompress the file.
   61.14 +
   61.15 +===== Step 1 - Downloads and installation. =====
   61.16 +
   61.17 +    * Download and install 7-Zip - necessary to decompress the files.
   61.18 +    * Download and install the Oracle VitualBox software.
   61.19 +    * Download and decompress the virtual machine somewhere on your local hard drive.
   61.20 +
   61.21 +===== Step 2 - Play the virtual machine. =====
   61.22 +
   61.23 +Before running SliTaz GNU/Linux virtual machine you need to configure a new virtual machine in the VirtualBox software.
   61.24 +
   61.25 +  -     Run virtualbox [//Start/Programms/Oracle xVM VirtualBox/VirtualBox//].
   61.26 +  -     Add a new Machine: Click on [//New//] toolbar button.
   61.27 +  -     Click [//Next//] in the “ Create New Virtual Machine ” dialog box.
   61.28 +  -     Give a name to your new virtual machine ( i.e: SliTaz GNU/Linux ), and select Linux 2.6 in OS Type list and click [//Next//] .
   61.29 +  -     Select the amount of memory for the virtual machine. 256MB default should be sufficient.
   61.30 +  -     In the “ //Virtual Hard Disk// ” dialog box click on the [//Existing//] button to use your SliTaz virtual disk.
   61.31 +  -     The Virtual Disk Manager start. Click the [//Add//] toolbar button, locate and select the VDI file (i.e: slitaz-1.9-x86.vdi ).
   61.32 +  -     Click on [//Next//] and [//Finish//].
   61.33 +
   61.34 +You can now play with your new SliTaz GNU/Linux virtual machine.
   61.35 +
   61.36 +<note>
   61.37 +VirtualBox can use VMware virtual disks as well.
   61.38 +</note>
   61.39 +
   61.40 +===== Virtualbox-OSE =====
   61.41 +
   61.42 +You can install the open source edition of virtualbox (free software) in SliTaz with the package virtualbox-ose:
   61.43 +<code>
   61.44 +# tazpkg get-install virtualbox-ose
   61.45 +</code> 
   61.46 +This is a restricted version without USB support.
   61.47 +
   61.48 +===== Slitaz get-virtualbox =====
   61.49 +
   61.50 +You can install virtualbox (full, but non-free version) in Slitaz with the get-virtualbox package:
   61.51 +<code># tazpkg get-install get-virtualbox ; get-virtualbox</code>
   61.52 +
   61.53 +Other virtualization (free software) is also available such as lguest or qemu.
   61.54 +---- 
   61.55 +\\
   61.56 +^  Page Review Section  ^^ 
   61.57 +|Quality| Low |
   61.58 +|Review| Major Updates FIXME |
   61.59 +|Priority| Medium |
   61.60 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   61.61 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   61.62 +|How to Improve| We have get-virtualbox pkg now? Can we remove linux-source dependency from get-virtualbox like nvidia?|
   61.63 +|:::|  |
   61.64 +
   61.65 +\\
   61.66 +----
   61.67 \ No newline at end of file
    62.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    62.2 +++ b/pages/en/guides/vmware.txt	Sat Feb 26 12:17:18 2011 +0000
    62.3 @@ -0,0 +1,32 @@
    62.4 +====== VMWare ======
    62.5 +
    62.6 +===== Test SliTaz GNU/Linux with VMware =====
    62.7 +
    62.8 +What you will need:
    62.9 +
   62.10 +    * [[http://dl.free.fr/getfile.pl?file=/Dz6bYtdE/slitaz.7z|SliTaz GNU/Linux Virtual Appliance]] The Virtual appliance file.
   62.11 +    * [[http://www.7-zip.org/fr/download.html|7-Zip]] Needed to decompress the file.
   62.12 +    * [[http://www.vmware.com/products/player/overview.html|VMware Player]] Run the virtual machine on your Windows system.
   62.13 +
   62.14 +   -  Download and install 7-Zip.
   62.15 +   -  Download and install the VMware Player.
   62.16 +   -  Download the SliTaz GNU/Linux file and decompress it with 7-zip.
   62.17 +   -  Now you can run the SliTaz virtual machine ( slitaz.vmx ) with VMware Player.
   62.18 +
   62.19 +<note>
   62.20 +When starting the virtual machine for the first time, VMware Player detects that files have been moved from another location. Keep the default option in the dialog box and click on the [Ok] button.
   62.21 +</note>
   62.22 +
   62.23 +---- 
   62.24 +\\
   62.25 +^  Page Review Section  ^^ 
   62.26 +|Quality| Low  |
   62.27 +|Review| Major Updates  |
   62.28 +|Priority| Medium |
   62.29 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   62.30 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   62.31 +|How to Improve|Are instructions still valid? Some link don't work |
   62.32 +|::: | How about creating get-VMWare pkg?? |
   62.33 +
   62.34 +\\
   62.35 +----
   62.36 \ No newline at end of file
    63.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    63.2 +++ b/pages/en/guides/vpn.txt	Sat Feb 26 12:17:18 2011 +0000
    63.3 @@ -0,0 +1,73 @@
    63.4 +====== Virtual Private Network =======
    63.5 +
    63.6 +A VPN binds isolated networks with tunnels over the Internet network. A tunnel encrypts and encapsulates network frames.
    63.7 +
    63.8 +    * frames are hidden (data and header, including routing info)
    63.9 +    * encapsulation sets tunnel ends as source and destination
   63.10 +    * only traffic volume is visible. But you can send dummy frames
   63.11 +
   63.12 +===== Tunnel using SSH and PPP =====
   63.13 +
   63.14 +Slitaz can build such tunnels out of the box (without additional packages) with menu system / netbox.
   63.15 +You need on remote server:
   63.16 +
   63.17 +    * a user account
   63.18 +    * a ssh access
   63.19 +    * pppd launch rights (group rights or setuid bit)
   63.20 +    * remote stations know how to route frames to the tunnel (peer is the default router or is running routing protcols such as rip, ospf, …)
   63.21 +
   63.22 +===== Tunnel setup =====
   63.23 +
   63.24 +    * launch system / netbox
   63.25 +    * select VPN tab
   63.26 +    * fill Peer and update Route(s) fields. Routes are the local area networks on peer side you want to reach. You only need to update Local IP and Remote IP when you create multiple tunnels. They are tunnel end IP points
   63.27 +    * click Send Key and enter password
   63.28 +    * click Connect
   63.29 +
   63.30 +===== Limitations =====
   63.31 +
   63.32 +    * This tunnel should not be used for real time traffic like VoIP. Based on TCP, the tunnel tries to avoid data loss instead of respecting timing. VoIP should use UDP based tunnels
   63.33 +    * Only the Slitaz box can see the remote network. Other stations on the lan can't, until you add your lan routes to peer (assuming Slitaz is the default router or is running routing protcols)
   63.34 +
   63.35 +===== OpenSSH =====
   63.36 +
   63.37 +The openssh package is available on the mirror and provides TCP based tunnels:
   63.38 +
   63.39 +<code> # yes y | tazpkg get-install openssh </code>
   63.40 +
   63.41 +See http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1#SSH-BASED+VIR...
   63.42 +
   63.43 +===== OpenVPN =====
   63.44 +
   63.45 +The //openvpn// package is available on the mirror:
   63.46 +
   63.47 +<code> # yes y | tazpkg get-install openvpn </code>
   63.48 +
   63.49 +See documentation at http://openvpn.net/
   63.50 +
   63.51 +===== Cisco EasyVPN =====
   63.52 +
   63.53 +The //vpnc// package is available on the mirror:
   63.54 +
   63.55 +<code> # yes y | tazpkg get-install vpnc </code>
   63.56 +
   63.57 +See documentation at http://www.unix-ag.uni-kl.de/~massar/vpnc/
   63.58 +
   63.59 +===== Others VPN =====
   63.60 +
   63.61 +SliTaz packages search tool shows every VPN supported by SliTaz:
   63.62 +http://pkgs.slitaz.org/search.cgi?tags=vpn
   63.63 +
   63.64 +---- 
   63.65 +\\
   63.66 +^  Page Review Section  ^^ 
   63.67 +|Quality| Good  |
   63.68 +|Review| Minor Updates  |
   63.69 +|Priority| Medium |
   63.70 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   63.71 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   63.72 +|How to Improve| Any new changes in the process? |
   63.73 +|::: |  |
   63.74 +
   63.75 +\\
   63.76 +----
   63.77 \ No newline at end of file
    64.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    64.2 +++ b/pages/en/guides/wicd.txt	Sat Feb 26 12:17:18 2011 +0000
    64.3 @@ -0,0 +1,23 @@
    64.4 +====== WICD ======
    64.5 +
    64.6 +[[http://doc.slitaz.org/en:guides:network-script|Pankso's openbox treat]] is very close to WICD, but if you want to set up SliTaz for not very experienced users it's recommended that you use WICD for Wireless Internet Control.
    64.7 +
    64.8 +Do as root:
    64.9 +
   64.10 +<code># tazpkg get-install wicd
   64.11 +# leafpad /etc/rcS.conf</code>
   64.12 +
   64.13 +In ///etc/rcS.conf// remove from the section RUN_SCRIPTS: **network.sh**
   64.14 +and add to the section RUN_DAEMONS: **wicd**
   64.15 +
   64.16 +Then as user:
   64.17 +
   64.18 +<code>$ leafpad .config/openbox/autostart.sh</code>
   64.19 +And add to the end:
   64.20 +
   64.21 +<file># wicd Network Configuration
   64.22 +wicd-client &</file>
   64.23 +
   64.24 +Then remove the network-plugin from the LX-Panel by right clicking on the network-plugin. 
   64.25 +
   64.26 +Reboot - don't test before rebooting, because network.sh is interfering with WICD (even if you stop it by typing /etc/int.d/network.sh stop).
   64.27 \ No newline at end of file
    65.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    65.2 +++ b/pages/en/guides/wifi-easy.txt	Sat Feb 26 12:17:18 2011 +0000
    65.3 @@ -0,0 +1,271 @@
    65.4 +====== Wifi configuration, easy method ======
    65.5 +
    65.6 +===== Introduction =====
    65.7 +
    65.8 +To install wifi under Linux, two methods are possible:
    65.9 +
   65.10 +    * Use the kernel module specific to your wifi card
   65.11 +    * Use the Ndiswrapper module to install a Windows driver
   65.12 +
   65.13 +
   65.14 +Here, we will discuss the usage of a kernel module specific to your card (Ndiswrapper will one day have another page on the wiki).
   65.15 +
   65.16 +To use a specific kernel module, you'll need to:
   65.17 +
   65.18 +    - Know your wifi hardware
   65.19 +    - Know which module your card needs
   65.20 +    - Install this module, and possibly firmware too
   65.21 +    - Configure your connection to the access point
   65.22 +    - Get connected and surf
   65.23 +
   65.24 +Netbox is a tool which can do that just by clicking a few buttons. 
   65.25 +But it's also possible to configure your wifi from the command line.
   65.26 +
   65.27 +===== Wifibox/Netbox Graphical Utility =====
   65.28 +
   65.29 +With //netbox// or //wifibox// you can configure your wifi with only a few mouse clicks. As you already know which module you need, it's easy to use //wifibox//:
   65.30 +<code>
   65.31 +$ subox wifibox
   65.32 +</code>
   65.33 +//Wifibox// will install all the software needed and then launch the wifi. You won't have to manually install your wifi.
   65.34 +
   65.35 +Here are the necessary steps for //Wifibox//:
   65.36 +
   65.37 +    * First, go to the Drivers tab, and install the module you need. SliTaz will load the firmware (if needed), the kernel module, configure your wifi, and connect to the access point.
   65.38 +    * Then, go to "//Configuration//", and start to configure. If you don't know what to add, have a look at the sample /etc/network.conf - wifibox uses the same parameters. Click on "//Start//"
   65.39 +    * If all goes well, you may start surfing!
   65.40 +
   65.41 +===== Manually Configure your Wifi =====
   65.42 +
   65.43 +If you want to understand how wifi works in SliTaz, then you can try configuring your wifi manually. 
   65.44 +
   65.45 +But if you want to know how wifi generally works under linux, or if your kernel module is not on this list, you should look at the step by step wifi.
   65.46 +
   65.47 +Here is a quick summary of the steps needed:
   65.48 +
   65.49 +    * Know your wifi card
   65.50 +    * Check and install if your wifi card needs any firmware, e.g., b43
   65.51 +    * Load the kernel module specific to your wifi card       
   65.52 +    * Check that your wifi card is detected and your module is loaded
   65.53 +    * Configure /etc/network.conf
   65.54 +    * Load up your WIFI interface
   65.55 +    * Start /etc/init.d/network.sh
   65.56 +
   65.57 +The following commands do all of the above steps. This is also the easiest way: 
   65.58 +
   65.59 +<code>
   65.60 +# tazhw detect-pci --get-firmware
   65.61 +# /etc/init.d/network.sh restart
   65.62 +</code>
   65.63 +
   65.64 +Now for more detailed instructions: 
   65.65 +
   65.66 +===== Detailed Instructions =====
   65.67 +=== Identifying your hardware (Which wifi card do I have?) ===
   65.68 +
   65.69 +You can list your hardware using the terminal. It's useful to know which wifi card you have.
   65.70 +
   65.71 +If you have an integrated wifi card:
   65.72 +<code>
   65.73 +$ lspci | grep -i network
   65.74 +</code>
   65.75 +
   65.76 +If your card is an usb one, you'll need //lsusb// which is available in the package //usbutils//:
   65.77 +<code>
   65.78 +# tazpkg get-install usbutils
   65.79 +$ lsusb
   65.80 +</code>
   65.81 +
   65.82 +In either case, you'll see something like this:
   65.83 +<code>
   65.84 +02:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
   65.85 +</code>
   65.86 +
   65.87 +This tells us the following:
   65.88 +
   65.89 +    * //Intel Corporation// made the card
   65.90 +    * The card is a //Pro/Wireless Lan 2100 3B//
   65.91 +    * The chipset is a //IPW 2100 (Intel Pro Wireless 2100)//
   65.92 +    * The interface is a //Mini PCI//
   65.93 +
   65.94 +=== Which module do I need, and do I need firmware? ===
   65.95 +
   65.96 +The SliTaz linux kernel is made to be light. Some software modules; especially those needed by wifi cards are not installed by default, but have to be loaded by the user.
   65.97 +
   65.98 +Many wifi cards will work if you load the correct module. The easiest way is to let SliTaz auto-detect your hardware. 
   65.99 +
  65.100 +For integrated wifi cards:
  65.101 +<code>
  65.102 +# tazhw detect-pci
  65.103 +</code>
  65.104 +
  65.105 +For usb cards:
  65.106 +<code>
  65.107 +# tazhw detect-usb
  65.108 +</code>
  65.109 +
  65.110 +Sometimes, however, the module alone is not enough. Some types of card (Intel for example) also need firmware. Such firmware is not free software, so we can't distribute it as part of SliTaz. You may need to obtain the firmware from the website of your card manufacturer and download it to ///lib/firmware//. But you'll see that SliTaz can sometimes do this for you! 
  65.111 +
  65.112 +=== For b43, b43legacy, ipw2100 or ipw2200 kernel modules ===
  65.113 +
  65.114 +
  65.115 +If the kernel module you need is either b43, b43legacy, ipw2100 or ipw2200, you also need to install the package: get-wifi-firmware. You can install it like this:
  65.116 +<code>
  65.117 +# tazpkg get-install get-wifi-firmware
  65.118 +</code>
  65.119 +
  65.120 +=== Launch wifi ===
  65.121 +
  65.122 +get-wifi-firmware will install some commands named get-"//a module//"-firmware. To see the list: 
  65.123 +<code>
  65.124 +# ls /usr/bin/get-*-firmware
  65.125 +</code>
  65.126 +Launch the software that corresponds to your module (ipw2100 in the earlier example):
  65.127 +<code>
  65.128 +# get-my_module-firmware
  65.129 +</code>
  65.130 +
  65.131 +For example, say your module is ipw2200, you can type:
  65.132 +
  65.133 +<code>
  65.134 +# get-ipw2200-firmware
  65.135 +</code>
  65.136 +
  65.137 +This command will:
  65.138 +
  65.139 +    - Get the needed firmware for "//my_module//", make the package //my_module-firmware//, and install it.
  65.140 +    - Get useful software for wifi support (iwconfig, wpa_supplicant if needed...)
  65.141 +    - Load the module "//my_module//" into the linux kernel.
  65.142 +    - Launch ///etc/init.d/network.sh restart//, which starts wifi.
  65.143 +  
  65.144 +If ///etc/network.conf// is correctly configured, you can surf!
  65.145 +
  65.146 +The easiest way is to do this is to download the firmware graphically using Wifibox (Slitaz Wireless Manager). Yes, Slitaz graphical wireless manager (wifibox) can do these steps on the Driver tab (after selecting the correct module, say ipw2200 and pressing install). 
  65.147 +
  65.148 +
  65.149 +
  65.150 +===== Troubleshoot your wifi =====
  65.151 +
  65.152 +Here is a quick summary of the steps needed (Repeated again for understanding):
  65.153 +
  65.154 +    * Know your wifi card
  65.155 +    * Check and install if your wifi card needs any firmware, e.g., b43
  65.156 +    * Load the kernel module specific to your wifi card       
  65.157 +    * Check that your wifi card is detected and your module is loaded
  65.158 +    * Configure /etc/network.conf
  65.159 +    * Load up your WIFI interface
  65.160 +    * Start /etc/init.d/network.sh
  65.161 +
  65.162 +The following commands do all of the above steps. This is also the best way to troubleshoot. To get maximum help on the forums; please post the output of each of these commands. 
  65.163 +
  65.164 +<code bash> 
  65.165 +lspci | grep -i network
  65.166 +modprobe your_module
  65.167 +dmesg | tail 
  65.168 +lsmod 
  65.169 +nano /etc/network.conf
  65.170 +ifconfig eth1 up 
  65.171 +ifconfig -a 
  65.172 +iwconfig 
  65.173 +/etc/init.d/network.sh restart 
  65.174 +ifconfig -a 
  65.175 +</code>
  65.176 +
  65.177 +===== Configure /etc/network.conf =====
  65.178 +
  65.179 +Slitaz launches wifi using the script ///etc/init.d/network.sh//. This script uses the config file: ///etc/network.conf//. You should first edit your config file using the instructions in the sample /etc/network.conf.
  65.180 +You'll find more information about /etc/init.d/network.sh [[en:guides:network-script|here]]
  65.181 +
  65.182 +Now your module must be loaded at each boot. To automate, add "//my_module//" to the line //LOAD_MODULES// in ///etc/rcS.conf//:
  65.183 +<code>
  65.184 +# geany /etc/rcS.conf
  65.185 +</code>
  65.186 +
  65.187 +LOAD_MODULES="nls_utf8 my_module"
  65.188 +
  65.189 +===== Sample /etc/network.conf file with comments =====
  65.190 +
  65.191 +<code bash>
  65.192 +# start wifi on boot "yes" or "no"
  65.193 +WIFI="yes"
  65.194 + 
  65.195 +# wifi interface,  (usually "wlan0" or "eth0")
  65.196 +WIFI_INTERFACE="wlan0"
  65.197 +
  65.198 + 
  65.199 +# ESSID of access point: "my_essid" or "any"
  65.200 +# if any is chosen, slitaz will try to connect to the first access point
  65.201 +# Be careful:
  65.202 +# In some states (in France for example), you are not allowed to connect
  65.203 +# to a private access point if it is not secured.
  65.204 +# WIFI_ESSID="any" 
  65.205 +
  65.206 + 
  65.207 +# type of connection:
  65.208 +# you can chose between:
  65.209 +# ad-hoc : Connect to one cell without access point.
  65.210 +# managed : One or more cell, with access point.
  65.211 +# master : Your card is a master card
  65.212 +# repeater : Your card acts as a repeater.
  65.213 +#          Useful for long distances.
  65.214 +# secondary : Your card is a backup for master or repeater
  65.215 +# monitor : Your card only receives messages.
  65.216 +# For most of the time, you'll use managed.
  65.217 +# (Home, cyber-coffe, work, university...)
  65.218 +WIFI_MODE="managed"
  65.219 +
  65.220 +
  65.221 +# Key
  65.222 +WIFI_KEY="ma8clef8de8chiffrement8difficilement8déchiffrable"
  65.223 +
  65.224 + 
  65.225 +# Key type wep or wpa or any or none
  65.226 +# If you're using WPA-EAP (at work for example),
  65.227 +# try any.
  65.228 +WIFI_KEY_TYPE="wpa"
  65.229 +
  65.230 + 
  65.231 +# driver needed by wpa_supplicant.
  65.232 +# It depends on your kernel module.
  65.233 +# The possible drivers are:
  65.234 +#  wext = Linux wireless extensions (in most cases, use this one.)
  65.235 +#  hostap = Host AP driver (Intersil Prism2/2.5/3)
  65.236 +#  atmel = ATMEL AT76C5XXx (USB, PCMCIA)
  65.237 +#  wired = wpa_supplicant wired Ethernet driver
  65.238 +WPA_DRIVER="wext"
  65.239 +
  65.240 + 
  65.241 +# Wifi channel. Leave it blank, if you don't know what it is.
  65.242 +WIFI_CHANNEL=""
  65.243 +
  65.244 + 
  65.245 +# More args to pass to iwconfig.
  65.246 +# Look at iwconfig man page for more information.
  65.247 +WIFI_IWCONFIG_ARGS=""
  65.248 +
  65.249 +</code>
  65.250 +
  65.251 +===== Extra Information =====
  65.252 +Now for more detailed instructions: 
  65.253 +First do "lspci" to know which card you have. Once we know which card you have, we can surf the internet to find which module you require, and if we need any special firmware. To help you, here are some useful links:
  65.254 +
  65.255 +    * [[http://linux-wless.passys.nl/|Linux wireless LAN support]] (The column on the right, tells you where to get the firmware, if applicable)
  65.256 +    * [[http://help.ubuntu.com/|Ubuntu documentation]] (Good Ubuntu website, wifi page)
  65.257 +    * [[http://www.google.com/|Google]] with "//the name of your wifi card//" + "//modprobe//" or "//linux//"
  65.258 +If these links are not useful, you can ask at the [[http://forum.slitaz.org/|forum]]
  65.259 +
  65.260 +So we learn that the //Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter// works with the //IPW2100// module and the firmware is available at http://ipw2100.sourceforge.net/.
  65.261 +
  65.262 +---- 
  65.263 +\\
  65.264 +^  Page Review Section  ^^ 
  65.265 +|Quality| Good  |
  65.266 +|Review| Minor Updates  |
  65.267 +|Priority| Medium |
  65.268 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  65.269 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  65.270 +|How to Improve| Suggest briefly|
  65.271 +|::: |  |
  65.272 +
  65.273 +\\
  65.274 +----
  65.275 \ No newline at end of file
    66.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    66.2 +++ b/pages/en/guides/wifi-hard.txt	Sat Feb 26 12:17:18 2011 +0000
    66.3 @@ -0,0 +1,169 @@
    66.4 +====== Wifi, step by step =======
    66.5 +
    66.6 +===== Introduction =====
    66.7 +
    66.8 +If you want to use your wifi right away, this page is not for you. You should look at the easy wifi tutorial which explains how to use the tools given by SliTaz.
    66.9 +But if you want to know how to use wifi (under linux), this page will explain how, and help you to configure it //from scratch//.
   66.10 +Before continuing:
   66.11 +
   66.12 +    * You should know the kernel module needed by your wifi card.
   66.13 +    * If you need any firmware; you should know where to download it.
   66.14 +
   66.15 +We are going to:
   66.16 +
   66.17 +    -Install any useful software and firmware.
   66.18 +    -Load the kernel module.
   66.19 +    -Configure the wifi connection.
   66.20 +    -Configure wpa.
   66.21 +    -Get connected and surf.
   66.22 +    -Shutdown wifi.
   66.23 +
   66.24 +//PS:// On SliTaz, the script /usr/bin/get-wifi-firmware takes care of steps 1 and 2, and the script /etc/init.d/network.sh; steps 3 to 6.
   66.25 +
   66.26 +===== Install needed software =====
   66.27 +
   66.28 +You'll need the wifi kernel modules and some software to manage wifi. If you are using a wpa key, you'll also need wpa_supplicant:
   66.29 +
   66.30 +<code>
   66.31 +# tazpkg get-install linux-wireless
   66.32 +# tazpkg get-install wireless_tools
   66.33 +# tazpkg get-install wpa_supplicant
   66.34 +</code>
   66.35 +
   66.36 +If you need firmware:
   66.37 +<code>
   66.38 +# cd /lib/firmware
   66.39 +# wget http://www.address/of/my/firmware
   66.40 +</code>
   66.41 +
   66.42 +Untar to install:
   66.43 +<code>
   66.44 +# tar -xvf my_firmware.tar*
   66.45 +# rm my_firmware.tar*
   66.46 +</code>
   66.47 +
   66.48 +===== Load the kernel module =====
   66.49 +
   66.50 +<code>
   66.51 +# modprobe -v my_module
   66.52 +</code>
   66.53 +If you've got errors, verify that your firmware is where it should be and look at dmesg:
   66.54 +<code>
   66.55 +$ ls -l /lib/firmware
   66.56 +$ dmesg
   66.57 +</code>
   66.58 +If you don't have any errors, you can continue.
   66.59 +
   66.60 +===== Configure wifi interface =====
   66.61 +
   66.62 +Before configuring a new interface, you should de-configure the old one. If your ethernet interface is configured, you should:
   66.63 +<code>
   66.64 +# ifconfig eth0 down
   66.65 +</code>
   66.66 +
   66.67 +iwconfig allows you to configure your wifi card, so that it can connect to your access point. You need to know the name of your wifi interface (usually //wlan0// or //eth1//). If you don't know its name, just run iwconfig:
   66.68 +<code>
   66.69 +# iwconfig
   66.70 +</code>
   66.71 +
   66.72 +Now we can configure your wifi interface and start it:
   66.73 +<code>
   66.74 +# ifconfig WIFI_INTERFACE up
   66.75 +# iwconfig WIFI_INTERFACE txpower on
   66.76 +</code>
   66.77 +
   66.78 +Let's test that the card works:
   66.79 +<code>
   66.80 +# iwlist scan
   66.81 +</code>
   66.82 +If you've got a list of access points you can now tell your wifi interface which ESSID to connect to:
   66.83 +<code>
   66.84 +# iwconfig WIFI_INTERFACE essid MY_ESSID 
   66.85 +</code>
   66.86 +Iwconfig can also accept others args, look at its man page to know more.
   66.87 +
   66.88 +===== Configure a wep or wpa key =====
   66.89 +
   66.90 +You can easily configure a wep key with iwconfig:
   66.91 +<code>
   66.92 +# iwconfig WIFI_INTERFACE key my_wep_key
   66.93 +</code>
   66.94 +
   66.95 +But you should //always// use a wpa key, because wep keys can be easily cracked with aircrack, as noted [[http://www.tuto-fr.com/tutoriaux/tutorial-crack-wep-aircrack.php|here]],
   66.96 +wpa_supplicant allows you to use a wpa key (some cards may use wpa without wpa_supplicant). It needs a config file. Usually, ///etc/wpa_supplicant.conf//. If you are using wpa_psk (normally, you are), add this to the file:
   66.97 +<file>
   66.98 +ap_scan=1
   66.99 +network={
  66.100 +	ssid="my_essid"
  66.101 +	scan_ssid=1
  66.102 +	proto=WPA
  66.103 +	key_mgmt=WPA-PSK
  66.104 +	psk="my_clear_key"
  66.105 +	priority=5
  66.106 +}
  66.107 +</file>
  66.108 +Or try:
  66.109 +<file>
  66.110 +ap_scan=1
  66.111 +network={
  66.112 +	ssid="my_essid"
  66.113 +	scan_ssid=1
  66.114 +	key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
  66.115 +	group=CCMP TKIP WEP104 WEP40
  66.116 +	pairwise=CCMP TKIP
  66.117 +	psk="my_clear_key"
  66.118 +	priority=5
  66.119 +}
  66.120 +</file>
  66.121 +It's now possible to launch wpa_supplicant:
  66.122 +<code>
  66.123 + # wpa_supplicant -B -w -c/etc/wpa_supplicant.conf -DWPA_DRIVER -iWIFI_INTERFACE
  66.124 +</code>
  66.125 +WPA_DRIVER is the name of the driver used by wpa_supplicant.
  66.126 +Usually, it's //wext//, but sometimes, another is needed. Here is a list of possible drivers:
  66.127 +
  66.128 +    * //wext// = Linux wireless extensions (generic, should work in most cases)
  66.129 +    * //hostap// = Host AP driver (Intersil Prism2/2.5/3)
  66.130 +    * //atmel// = ATMEL AT76C5XXx (USB, PCMCIA)
  66.131 +    * //wired// = wpa_supplicant wired Ethernet driver
  66.132 +
  66.133 +The option //-B// launches wpa_supplicant as a daemon. If you want to kill it:
  66.134 +
  66.135 +<code>
  66.136 +# killall wpa_supplicant
  66.137 +</code>
  66.138 +
  66.139 +===== Get connected =====
  66.140 +
  66.141 +If you want to connect in dhcp, just run:
  66.142 +<code>
  66.143 +# /sbin/udhcpc -b -i WIFI_INTERFACE -p /var/run/udhcpc.WIFI_INTERFACE.pid
  66.144 +</code>
  66.145 +Normally, you should be surfing!
  66.146 +
  66.147 +===== Turn off wifi =====
  66.148 +
  66.149 +To stop wifi, you should shutdown your wifi card, and stop the wpa_supplicant and udhcpc daemons:
  66.150 +<code>
  66.151 +# iwconfig WIFI_INTERFACE txpower off
  66.152 +# kill `cat /var/run/udhcpc.WIFI_INTERFACE.pid`
  66.153 +# killall wpa_supplicant
  66.154 +</code>
  66.155 +You can also unload the kernel module:
  66.156 +<code>
  66.157 +# rmmod my_module
  66.158 +</code>
  66.159 +
  66.160 +---- 
  66.161 +\\
  66.162 +^  Page Review Section  ^^ 
  66.163 +|Quality| Good  |
  66.164 +|Review| Minor Updates  |
  66.165 +|Priority| Medium |
  66.166 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  66.167 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  66.168 +|How to Improve| Suggest briefly|
  66.169 +|::: |  |
  66.170 +
  66.171 +\\
  66.172 +----
  66.173 \ No newline at end of file
    67.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    67.2 +++ b/pages/en/guides/xorg-xvesa.txt	Sat Feb 26 12:17:18 2011 +0000
    67.3 @@ -0,0 +1,307 @@
    67.4 +====== Xorg & XVesa ======
    67.5 +
    67.6 +By default, SliTaz v3 uses Xorg 7.4 with the //xorg-xf86-video-vesa// v2.0.0 driver. This basic driver can cause problems with certain hardware combinations and can sometimes result in a very low resolution. Occasionally, X does not start at all and instead falls back to the log-in screen or to a text-based prompt. There are some simple solutions that can yield major improvements:
    67.7 +
    67.8 +  * check that you have enough RAM to run the default ISO. If not, use the [[http://mirror.slitaz.org/iso/3.0/flavors/|Low RAM ISO]] instead.
    67.9 +  * try the [[http://mirror.slitaz.org/iso/3.0/flavors/slitaz-3.0-xvesa.iso|XVesa ISO]] (a.k.a. TinyX)
   67.10 +  * install a more specific driver for your graphics card
   67.11 +  * customise your Xorg configuration file (//xorg.conf//)
   67.12 +
   67.13 +Good introductions to Xorg Configuration can be found at [[http://www.freebsd.org/doc/en/books/handbook/x-config.html|The FreeBSD Handbook]] and [[https://wiki.ubuntu.com/X/Config|X Configuration from Ubuntu]].
   67.14 +
   67.15 +<note tip> Up to v7.3, the Ctrl+Alt+Backspace key combination could be used to quit the X server. To enable it in version 7.4 and later, type the following command from any X terminal emulator:
   67.16 +
   67.17 +<code>setxkbmap -option terminate:ctrl_alt_bksp</code>
   67.18 +
   67.19 +</note>
   67.20 +
   67.21 +<note important>
   67.22 +Throughout this page, commands preceeded with a hash sign (#) should be executed as the **root** user. This is best under a terminal window. Otherwise, the dollar symbol ($) denotes a regular (tux) user.
   67.23 +</note>
   67.24 +
   67.25 +
   67.26 +===== Using Xorg & Vendor-Specific Drivers =====
   67.27 +
   67.28 +When you are using SliTaz as your main system, it's recommended to use Xorg over XVesa. You will get a much better display and performance than when using Xvesa tinyX.
   67.29 +
   67.30 +
   67.31 +=== AGP Cards ===
   67.32 +
   67.33 +All AGP video cards need extra kernel modules to function under Xorg. Check if you have an AGP video card with //lspci//; if so, install the necessary modules in the //linux-agp// package before using Xorg:
   67.34 +
   67.35 +<code>
   67.36 +# tazpkg get-install linux-agp
   67.37 +</code>
   67.38 +
   67.39 +Load the modules using the SliTaz hardware detection tool:
   67.40 +
   67.41 +<code># tazhw detect-pci</code> 
   67.42 +
   67.43 +You can now use the SliTaz X configuration tool to detect your settings:
   67.44 +
   67.45 +<code># tazx</code>
   67.46 +
   67.47 +Select the appropriate driver for your video card from the list.
   67.48 +
   67.49 +
   67.50 +=== DRI / DRM Problem ===
   67.51 +
   67.52 +Sometimes, the auto-detection is not enough. Cards that require [[http://www.bitwiz.org.uk/s/how-dri-and-drm-work.html|DRI / DRM]] are supported under SliTaz, but v3 has a couple of bugs! The file ///dev/dri// should be a directory and not a file and, to get DRI working correctly, we have to add tux to the group video or modify permissions in the Xorg configuration file:
   67.53 +
   67.54 +<code>
   67.55 +# tazpkg get-install linux-drm
   67.56 +# tazpkg get-install mesa-demos (for glxinfo and glxgears)
   67.57 +# rm /dev/dri
   67.58 +# mkdir /dev/dri/
   67.59 +# addgroup tux video
   67.60 +</code>
   67.61 +
   67.62 +The //drm// module is not loaded by //tazhw// so you have to do it manually:
   67.63 +<code># modprobe drm</code>
   67.64 +
   67.65 +<note tip>All modules, which are loaded by tazhw and yourself to make your changes permanent, have to be added to the SliTaz Control Box under Initialization in "Load Modules". </note>
   67.66 +
   67.67 +
   67.68 +=== Intel cards ===
   67.69 +
   67.70 +The xorg-xf86-video-vesa 2.0.0 driver has a lot of trouble with Intel chips. For example, on a 82945GM chipset it does not display 1280x1024 and 1024x768, but 1600x1200 is not a problem.
   67.71 +
   67.72 +Use "tazx" to select the intel driver, then "tazhw detect-pci", solve the dri problem and load drm and restart X - normally that's it (perhaps you must change your xorg.conf too).
   67.73 +
   67.74 +Some users may need to add the "intel_agp" module to the xorg.conf file:
   67.75 +
   67.76 +<file>
   67.77 +Section "Module"
   67.78 +        ...
   67.79 +	Load  "intel_agp"
   67.80 +	...
   67.81 +EndSection
   67.82 +</file>
   67.83 +
   67.84 +for the driver to work.
   67.85 +
   67.86 +Depending on the hardware, the //mode-setting// feature must be turned on or off. To turn it off append one of the following to the //kernel// line in the GRUB boot-loader configuration:
   67.87 +
   67.88 +  *  //nomodeset//
   67.89 +  *  //i810.modeset=0//
   67.90 +  *  //i915.modeset=0//
   67.91 +
   67.92 +If mode-setting is off by default and should instead be turned on, append one of the following:
   67.93 +
   67.94 +  *  //modeset//
   67.95 +  *  //i810.modeset=1//
   67.96 +  *  //i915.modeset=1//
   67.97 +
   67.98 +=== Trident cards ===
   67.99 +
  67.100 +Use "tazx" to select the trident driver, install mesa-dri-trident
  67.101 +<code># tazpkg get-install mesa-dri-trident</code>and restart X
  67.102 +
  67.103 +
  67.104 +=== nVidia cards ===
  67.105 +
  67.106 +SliTaz provides automatic configuration for nVidia cards. There are two drivers available, the Xorg-provided //[[#free-driver-nv|nv]]// and the nVidia-provided, non-free //[[#non-free-driver-nvidia|nvidia]]//. The //nv// driver should be tried first as this has been compiled for SliTaz, whereas the nVidia-supplied driver is a //binary blob// that tries to fit each and every Linux distribution.
  67.107 +\\
  67.108 +
  67.109 +== Free Driver (nv) ==
  67.110 +
  67.111 +To set-up the free nVidia drivers, use the SliTaz Hardware Configuration tool:
  67.112 +<code># tazhw setup nvidia </code>
  67.113 +
  67.114 +Alternatively, you can do this process manually:
  67.115 +  * Download the following packages:
  67.116 +    *  mesa, mesa-demos, linux-agp, xorg-xf86-video-nv
  67.117 +<code># tazpkg get-install xorg-xf86-video-nv
  67.118 +# tazpkg get-install mesa
  67.119 +# tazpkg get-install mesa-demos
  67.120 +# tazpkg get-install linux-agp</code>
  67.121 +
  67.122 +  * Load the kernel modules 
  67.123 +<code># tazhw detect-pci</code>
  67.124 +
  67.125 +  * Replace the standard //vesa// driver with //nv//
  67.126 +<code># sed -i 's/vesa/nv/' /etc/X11/xorg.conf
  67.127 +</code>
  67.128 +
  67.129 +== Non-Free Driver (nvidia) ==
  67.130 +
  67.131 +To set-up the non-free nVidia drivers, use the SliTaz Hardware Configuration tool with the //--non-free// switch:
  67.132 +<code># tazhw setup nvidia --non-free </code>
  67.133 +
  67.134 +Alternatively, you can do this process manually:
  67.135 +  * Download the following packages:
  67.136 +    *  mesa mesa-demos linux-agp nvidia
  67.137 +<code># tazpkg get-install nvidia
  67.138 +# tazpkg get-install mesa
  67.139 +# tazpkg get-install mesa-demos
  67.140 +# tazpkg get-install linux-agp</code>
  67.141 +
  67.142 +  * Load the kernel modules 
  67.143 +<code># tazhw detect-pci</code>
  67.144 +
  67.145 +  * Attempt to configure the card with nVidia's tool:
  67.146 +<code># nvidia-xconfig</code>
  67.147 +  * To test if rendering is working, 
  67.148 +<code># glxinfo | grep render</code>
  67.149 +  * To change nVidia's settings, use nVidia's Settings tool:
  67.150 +<code># nvidia-settings</code>
  67.151 +
  67.152 +== Hiding the Logo ==
  67.153 +To hide the nVidia logo when the system boots, add the following to ///etc/X11/xorg.conf// at the end of the //Device// section:
  67.154 +<file>Option "NoLogo" "True"</file>
  67.155 +
  67.156 +
  67.157 +=== ATI cards ===
  67.158 +
  67.159 +SliTaz provides automatic configuration for ATI cards. There are two drivers available, the Xorg-provided //[[#free-driver-radeon|radeon]]// and the ATI-provided, non-free //[[#non-free-driver-catalyst|catalyst]]//. The //ati// driver should be tried first as this has been compiled for SliTaz, whereas the ATI-supplied driver is a //binary blob// that tries to fit each and every Linux distribution.
  67.160 +\\
  67.161 +
  67.162 +== Free Driver (radeon) ==
  67.163 +
  67.164 +To set-up the free ATI drivers, install the AGP & DRM modules, then use the SliTaz Hardware Configuration tool:
  67.165 +
  67.166 +<code># tazpkg get-install linux-agp
  67.167 +# tazpkg get-install linux-drm
  67.168 +# tazhw setup ati</code>
  67.169 +
  67.170 +- but perhaps this is not enough - check /var/log/Xorg.0.log to see if other modules must be loaded: See [[#dri-drm-problem | DRI / DRM Problem ]]
  67.171 +
  67.172 +Alternatively, you can do this process manually:
  67.173 +  * Download the following packages:
  67.174 +    *  xorg-xf86-video-ati mesa-dri-ati mesa-demos linux-agp
  67.175 +<code># tazpkg get-install xorg-xf86-video-ati
  67.176 +# tazpkg get-install mesa-dri-ati
  67.177 +# tazpkg get-install mesa-demos
  67.178 +# tazpkg get-install linux-agp
  67.179 +# tazpkg get-install linux-drm</code>
  67.180 +
  67.181 +  * Load the kernel modules 
  67.182 +<code># tazhw detect-pci</code>
  67.183 +
  67.184 +  * To install the free ATI driver radeon, replace //vesa// with //radeon// in the ///etc/X11/xorg.conf// file:
  67.185 +<code># sed -i 's/vesa/radeon/' /etc/X11/xorg.conf</code>
  67.186 +
  67.187 +
  67.188 +== Non-Free Driver (catalyst) ==
  67.189 +
  67.190 +To set-up the non-free ATI drivers, use the SliTaz Hardware Configuration tool with the //--non-free// switch:
  67.191 +<code># tazhw setup ati --non-free </code>
  67.192 +
  67.193 +
  67.194 +=== Modifying the Xorg Configuration ===
  67.195 +
  67.196 +Normally Xorg will start successfully, but perhaps not with the correct resolution. See the [[#adding-resolutions|tips]] at the end of this page or sometimes search the Internet for the xorg.conf for your card and your monitor - or use another LiveCD and copy the working configuration file to SliTaz.
  67.197 +
  67.198 +
  67.199 +===== Configuring X =====
  67.200 +
  67.201 +While X will do it's bets to auto-configure itself for your graphics card set-up, sometimes it needs a tweak. Its configuration file, ///etc/X11/xorg.conf//, is the place to customise the configuration. The best example of this is switching drivers or adding resolutions it doesn't detect.
  67.202 +
  67.203 +
  67.204 +=== Adding Resolutions ===
  67.205 +1. Include //HorizSync// and //VertRefresh// (refresh timings) in the //Monitor// section:
  67.206 +
  67.207 +<file>
  67.208 +Section "Monitor"
  67.209 +	Identifier   "Monitor0"
  67.210 +	VendorName   "Monitor Vendor"
  67.211 +	ModelName	 "Monitor Model"
  67.212 +	HorizSync	 28-64
  67.213 +	VertRefresh  60
  67.214 +EndSection
  67.215 +</file>
  67.216 +
  67.217 +2. Include a //DefaultDepth// in the //Screen// section:
  67.218 + 
  67.219 +<file>
  67.220 +Section "Screen"
  67.221 +	Identifier "Screen0"
  67.222 +	Device     "Card0"
  67.223 +	Monitor    "Monitor0"
  67.224 +**	DefaultDepth 24 **
  67.225 +</file>
  67.226 +
  67.227 +3. Add an extra //Mode// to the line in the //Display// sub-section:
  67.228 +
  67.229 +<file>
  67.230 +   SubSection "Display"
  67.231 +		Viewport   0 0
  67.232 +		Depth     24
  67.233 +		Modes 	  "1024x768" "800x600"
  67.234 +	EndSubSection
  67.235 +</file>
  67.236 +
  67.237 +4. Also, add the default Font paths in the //Files// section:
  67.238 +
  67.239 +<file>
  67.240 +Section "Files"
  67.241 +	ModulePath   "/usr/lib/X11/modules"
  67.242 +	FontPath     "/usr/share/fonts/X11/misc/"
  67.243 +	FontPath     "/usr/share/fonts/X11/TTF/"
  67.244 +	FontPath     "/usr/share/fonts/X11/OTF"
  67.245 +	FontPath     "/usr/share/fonts/X11/Type1/"
  67.246 +	FontPath     "/usr/share/fonts/X11/100dpi/"
  67.247 +	FontPath     "/usr/share/fonts/X11/75dpi/"
  67.248 +	FontPath     "/usr/share/fonts/truetype/ttf-dejavu"
  67.249 +EndSection
  67.250 +</file>
  67.251 +
  67.252 +  *  If you have DRI/DRM enabled, it may be easier to change its permission so all users can use it, rather than adding each to the //video// group. Append the following section:
  67.253 +
  67.254 +<file>
  67.255 +Section "DRI"
  67.256 +        Mode 0666
  67.257 +EndSection
  67.258 +</file>
  67.259 +
  67.260 +
  67.261 +<note tip>You can use xrandr to identify your monitor(s). This utility is in the //xorg-xrandr// package:
  67.262 +
  67.263 +<code># tazpkg get-install xorg-xrandr</code>
  67.264 +
  67.265 +See the [[http://wiki.debian.org/XStrikeForce/HowToRandR12|Debian RandR 1.2 Wiki]] for more information.
  67.266 +</note>
  67.267 +
  67.268 +
  67.269 +=== Restarting Xorg ===
  67.270 +
  67.271 +For changes to take effect, you need to restart Xorg. This can be done by logging out of your session and back in again. Choose //Logout// from the Menu and select the //Logout X session// button. If you see the Slim log-in manager, Xorg has restarted successfully!
  67.272 +
  67.273 +
  67.274 +===== Using XVesa and Generic Drivers (TinyX) =====
  67.275 +
  67.276 +The [[http://mirror.slitaz.org/iso/3.0/flavors/slitaz-3.0-xvesa.iso|SliTaz-3.0-xvesa.iso]] uses the XVesa system instead of Xorg, which offers a more generic driver at the cost of performance. It boots on nearly all computers and laptops, but can only display a 4:3 resolution.
  67.277 +
  67.278 +To find out which resolutions are possible with your card, type:
  67.279 +
  67.280 +<code># Xvesa -listmodes</code> 
  67.281 +
  67.282 +Here's a selection of resolutions for an example Intel Atom Board:
  67.283 +
  67.284 +<code>VBE version 3.0 (Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS)
  67.285 +DAC is switchable, controller is VGA compatible, RAMDAC causes snow
  67.286 +Total memory: 7872 kilobytes
  67.287 +0x015A: 1600x1200x24 TrueColor [8:8:8:8]
  67.288 +0x011B: 1280x1024x24 TrueColor [8:8:8:8]
  67.289 +0x0118: 1024x768x24 TrueColor [8:8:8:8]
  67.290 +0x0112: 640x480x24 TrueColor [8:8:8:8]
  67.291 +0x0115: 800x600x24 TrueColor [8:8:8:8]</code>
  67.292 +
  67.293 +This output shows widescreen resolutions cannot be displayed with XVesa.
  67.294 +
  67.295 +If X does not start with the default SliTaz ISO, you could use the XVesa ISO to install your default Xorg driver. When you are asked for your resolution at boot-time, scroll down the window and find the option to install your Xorg driver //before// XVesa is started. However, don't use "tazx" and "tazhw setup ati or nv" on the XVesa ISO to install your Xorg driver because you will end up with a blank and confused screen!
  67.296 +
  67.297 +
  67.298 +---- 
  67.299 +\\
  67.300 +^  Page Review Section  ^^ 
  67.301 +|Quality| Good  |
  67.302 +|Review| Minor Updates  |
  67.303 +|Priority| Medium |
  67.304 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  67.305 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  67.306 +|How to Improve| Extra config. for other cards? |
  67.307 +|::: | More details on or references to xorg.conf  |
  67.308 +
  67.309 +\\
  67.310 +----
  67.311 \ No newline at end of file
    68.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    68.2 +++ b/pages/en/handbook/accessibility.txt	Sat Feb 26 12:17:18 2011 +0000
    68.3 @@ -0,0 +1,92 @@
    68.4 +====== Accessibility ======
    68.5 +
    68.6 +===== About =====
    68.7 +
    68.8 +SliTaz aims to provide some Assistive Technology (AT) tools.
    68.9 +
   68.10 +===== Screen magnifier =====
   68.11 +
   68.12 +SliTaz supplies a screen magnifier whose edges can be resized and that can magnify up to 16x. 
   68.13 +It also provides graphical tools that enable a crosshair, pixel positions and RGB values. It
   68.14 +can be found in the Menu -> Utilities:
   68.15 +
   68.16 +<code> # tazpkg get-install magnifier
   68.17 +</code>
   68.18 +
   68.19 +===== Espeak - Text to speech (TTS) =====
   68.20 +
   68.21 +The espeak speech synthesizer run from the command line can speak text from an input file or 
   68.22 +from stdin and supports many languages. Espeak can adjust the amplitude, pitch, word gap, 
   68.23 +speed, etc. It can also write its output to a wave file rather than speaking it directly.
   68.24 +Type ''%%espeak --help%%'' for a full list of available options:
   68.25 +
   68.26 +<code> # tazpkg get-install espeak
   68.27 +</code>
   68.28 +
   68.29 +Example of use:
   68.30 +
   68.31 +<code> $ espeak -f example.txt
   68.32 +</code>
   68.33 +
   68.34 +===== On-screen keyboard =====
   68.35 +
   68.36 +Virtual keyboard (xvkbd) can be used to enter characters into the software of your choice.
   68.37 +The menu can be used to change the keyboard layout, function keys, etc. It supports word
   68.38 +completion, the removal of unwanted keys and can connect to a remote display. The 
   68.39 +configuration can be found in the ~/.Xdefaults file:
   68.40 +
   68.41 +<code> # tazpkg get-install xvkbd
   68.42 +</code>
   68.43 +
   68.44 +===== Yasr - Screen Reader =====
   68.45 +
   68.46 +Yasr is a console (text-based) screen reader that operates through the speech-dispatcher
   68.47 +interface and espeak:
   68.48 +
   68.49 +<code> # tazpkg get-install yasr
   68.50 +</code>
   68.51 +
   68.52 +To configure speech-dispatcher:
   68.53 +
   68.54 +<code> # spd-conf 
   68.55 +</code>
   68.56 +
   68.57 +Speech-dispatcher can be started/stopped like a daemon:
   68.58 +
   68.59 +<code> # speech-dispatcher
   68.60 + # killall speech-dispatcher
   68.61 +</code>
   68.62 +
   68.63 +=== Usage ===
   68.64 +
   68.65 +<code> $ yasr
   68.66 + $ exit
   68.67 +</code>
   68.68 +
   68.69 +The configuration files can be found in the /etc/speech-dispatcher or ~/.speech-dispatcher directories
   68.70 +and the yasr configuration file is located in /usr/share/yasr.
   68.71 +
   68.72 +
   68.73 +===== Sticky/Slow/Mouse Keys in X =====
   68.74 +
   68.75 +To enable the accessibility keys just edit your ///etc/slim.conf// file and logout of your X session:
   68.76 +
   68.77 +<file>
   68.78 +default_xserver     /usr/bin/Xorg 
   68.79 +xserver_arguments   +accessx 
   68.80 +</file>
   68.81 +
   68.82 +After you login again, to enable/disable:
   68.83 +    * **Sticky keys**: Press the shift key 5 times
   68.84 +    * **Slow keys**: Hold down the shift key for 8 seconds
   68.85 +    * **Mouse keys**: Hold down the left shift, left Alt and Num Lock keys
   68.86 +
   68.87 +There is also a package in the Cooking repos that can do all this in gui or command line mode: **accessx**. To install and run:
   68.88 +<code>
   68.89 + # tazpkg get-install accessx
   68.90 + $ ax help
   68.91 + $ accessx
   68.92 +</code>
   68.93 +
   68.94 +
   68.95 +       
   68.96 \ No newline at end of file
    69.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    69.2 +++ b/pages/en/handbook/chroot.txt	Sat Feb 26 12:17:18 2011 +0000
    69.3 @@ -0,0 +1,100 @@
    69.4 +====== Chroot environment ======
    69.5 +
    69.6 +This document describes the necessary steps to create a chrooted environment, in order to change the root of the system so that you can work. This makes it possible to compile, test and develop SliTaz without any risk to the host system you're working on. The host system can be SliTaz installed to a hard drive or any other GNU/Linux system such as Debian, Fedora, PCLinuxOS and so on. You can also create a chrooted environment in LiveCD mode associated with USB media. The only prerequisite is to have a SliTaz ISO image available and a little time. Note that all commands are carried out as system administrator (root).
    69.7 +
    69.8 +===== Prepare the environment =====
    69.9 +
   69.10 +To begin, we must extract the contents of the ISO image into the directory that will serve as our chroot. The directory can be created any place you choose, we'll use a directory ///home/slitaz/chroot-env//. To extract the contents of an ISO image, we must mount it in a loop directory and then copy the compressed root filesystem (rootfs.gz) into the chroot directory. Assuming the ISO is in the current directory:
   69.11 +
   69.12 +<code>
   69.13 + # mkdir /tmp/loop
   69.14 + # mount -o loop slitaz-cooking.iso /tmp/loop
   69.15 + # mkdir -p /home/slitaz/chroot-env
   69.16 + # cp /tmp/loop/boot/rootfs.gz \
   69.17 +   /home/slitaz/chroot-env
   69.18 + # umount /tmp/loop
   69.19 +</code>
   69.20 +
   69.21 +Now we have a copy of the compressed filesystem, we must extract and unpack it (this is a cpio archive compressed with either gzip or lzma). To complete this stage, we can remove the rootfs which is no longer required:
   69.22 +
   69.23 +<code>
   69.24 + # cd /home/slitaz/chroot-env
   69.25 + # (zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id
   69.26 + # rm rootfs rootfs.gz
   69.27 +</code>
   69.28 +
   69.29 +If the unpacking of the rootfs compressed with lzma fails; you can use the following method:
   69.30 +
   69.31 +<code>
   69.32 + # unlzma rootfs.gz -S .gz 
   69.33 + # cat rootfs | cpio -id
   69.34 +</code>
   69.35 +
   69.36 +===== Using the environment =====
   69.37 +
   69.38 +To begin using the chrooted environment, you just need to mount some virtual filesystems and use the chroot command. To simplify things, we can write a small script automating the process. Example using the chroot directory ///home/slitaz/chroot-env// and creating a script chroot_in_env.sh in ///home/slitaz//. On any systems other than SliTaz you can uncomment the lines about ///dev// and ///tmp// - Note to save typing you can copy and paste:
   69.39 +
   69.40 +<code> # cat > /home/slitaz/chroot_in_env.sh << "EOF" </code>
   69.41 +
   69.42 +<file>
   69.43 +#!/bin/sh
   69.44 +# Chroot in SliTaz to hack.
   69.45 +#
   69.46 +ROOTFS="/home/slitaz/chroot-env"
   69.47 +
   69.48 +# Mount virtual Kernel file systems and chroot.
   69.49 +#
   69.50 +#mount --bind /dev $ROOTFS/dev
   69.51 +#mount --bind /tmp $ROOTFS/tmp
   69.52 +mount -t proc proc $ROOTFS/proc
   69.53 +mount -t sysfs sysfs $ROOTFS/sys
   69.54 +mount -t devpts devpts $ROOTFS/dev/pts
   69.55 +mount -t tmpfs shm $ROOTFS/dev/shm
   69.56 +
   69.57 +echo "Chrooting into $ROOTFS... "
   69.58 +chroot $ROOTFS /bin/sh --login
   69.59 +
   69.60 +# Unmount virtual Kernel file systems on exit.
   69.61 +#
   69.62 +umount $ROOTFS/dev/shm
   69.63 +umount $ROOTFS/dev/pts
   69.64 +umount $ROOTFS/sys
   69.65 +umount $ROOTFS/proc
   69.66 +#umount $ROOTFS/tmp
   69.67 +#umount $ROOTFS/dev
   69.68 +
   69.69 +echo "Exiting $ROOTFS chroot environment... "
   69.70 +
   69.71 +EOF
   69.72 +</file>
   69.73 +
   69.74 +To finish and test the environment, you just make the script executable and run:
   69.75 +
   69.76 +<code>
   69.77 + # chmod +x /home/slitaz/chroot_in_env.sh
   69.78 + # sh /home/slitaz/chroot_in_env.sh
   69.79 +</code>
   69.80 +
   69.81 +=== To activate the network ===
   69.82 +
   69.83 +In order to have the network up to download and install some development packages, just start the DHCP client on the correct interface. Example using eth1:
   69.84 +
   69.85 + <code> # udhcpc -i eth1 </code>
   69.86 +
   69.87 +=== Installing packages ===
   69.88 +
   69.89 +If the network is functional, just reload the list of packages and use tazpkg get-install to install them. If a connection is not possible, you can download the packages from another system, copy them to the chrooted environment and install them with the tazpkg install command. To install the basic compilation tools:
   69.90 +
   69.91 + <code> # tazpkg recharge
   69.92 + # tazpkg get-install slitaz-toolchain </code>
   69.93 +
   69.94 +Once the environment is configured, you can compile applications from source to create packages, test scripts, etc. The Cookbook should help you out here:
   69.95 +
   69.96 +=== Exit the environment ===
   69.97 +
   69.98 +To exit the chrooted environment, just type exit, the //chroot_in_env.sh// script will then end by unmounting the virtual filesystems from the Linux Kernel:
   69.99 +
  69.100 +<code>
  69.101 + # exit
  69.102 + #
  69.103 +</code>
    70.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    70.2 +++ b/pages/en/handbook/commands.txt	Sat Feb 26 12:17:18 2011 +0000
    70.3 @@ -0,0 +1,214 @@
    70.4 +====== Command Line Reference ======
    70.5 +
    70.6 +===== Introduction to the commands =====
    70.7 +
    70.8 +This document is intended as a quick reference for using commands on SliTaz via a Linux terminal or a graphical terminal (xterm). There are many GNU/Linux commands for file handling, system maintenance or network management. You can also browse the web, chat on IRC, download files, edit scripts or even play games in text mode. Note it is necessary to operate as root to assemble the hard drive or cdrom. You can use the command //su// to become system administrator.
    70.9 +
   70.10 +===== Help and list available commands =====
   70.11 +
   70.12 +Most GNU/Linux system commands have an option for providing information on their use. For support on the use of a command, it is necessary to type the command followed by the <nowiki>--help </nowiki> option. Example using the cp command to copy files:
   70.13 +
   70.14 +<code> $ cp --help </code>
   70.15 +
   70.16 +To list all the commands available on the system, you can simply press the Tab button on the left of the keyboard twice. For commands provided by the Busybox utility you can type 
   70.17 +<code> busybox --help. </code>
   70.18 +
   70.19 +===== List the files in a directory =====
   70.20 +
   70.21 +To list the files and folders contained in a directory, you can use the ls command. For all options remember to use the --help flag. To simply list the files in the current directory:
   70.22 +
   70.23 +<code> $ ls </code>
   70.24 +
   70.25 +List all the files using the -al option:
   70.26 +
   70.27 +<code> $ ls -al </code>
   70.28 +
   70.29 +List a directory:
   70.30 +
   70.31 +<code> $ ls /home/slitaz </code>
   70.32 +
   70.33 +===== Moving around directories =====
   70.34 +
   70.35 +To browse to the files, you can use the //cd// command:
   70.36 +
   70.37 +<code>
   70.38 + $ cd /usr/share/doc
   70.39 + Back to the parent directory:
   70.40 + $ cd ..
   70.41 +</code>
   70.42 +
   70.43 +To go into the directory of the user (//root = /root//):
   70.44 +
   70.45 +<code>
   70.46 + $ cd
   70.47 + Or :
   70.48 + $ cd ~
   70.49 + Or :
   70.50 + $ cd $HOME
   70.51 +</code>
   70.52 +
   70.53 +===== Copy files =====
   70.54 +
   70.55 +The //cp// command copies files or folders. The example copies the info.txt file in the current directory into the Documents directory:
   70.56 +
   70.57 +<code> $ cp info.txt Documents/ </code>
   70.58 +
   70.59 +Copy a whole directory. Here the command copies the Templates directory into /home/hacker:
   70.60 +
   70.61 +<code> $ cp -a Templates /home/hacker </code>
   70.62 +
   70.63 +===== Move (rename) files or directories =====
   70.64 +
   70.65 +The mv command takes the contents of a file and copies it to a new file, then deletes the original file:
   70.66 + 
   70.67 +<code> $ mv file1 file2 </code>
   70.68 +
   70.69 +It can also rename directories (provided the new directory doesn't exist): 
   70.70 +
   70.71 +<code> $ mv ~/Documents ~/Docs </code>
   70.72 +
   70.73 +Move files (and directories) to a new directory:
   70.74 +
   70.75 +<code> $ mv file1 file2 dir1 dir2 ~/Documents </code>
   70.76 +
   70.77 +===== Create a new file =====
   70.78 +
   70.79 +The touch command can create a new empty file: 
   70.80 +
   70.81 +<code> $ touch newfile </code>
   70.82 +
   70.83 +===== Create a new directory =====
   70.84 +
   70.85 +This command will create a new directory. The following command creates a directory called Projects. It will be created in the directory ///home// of the current user or in the directory which one is in. Note you can display your current working directory with the //pwd// command:
   70.86 +
   70.87 +<code> $ mkdir Projects </code>
   70.88 +
   70.89 +Creation of a directory named script-1.0 in the Projects folder:
   70.90 +
   70.91 +<code> $ mkdir Projects/script-1.0 </code>
   70.92 +
   70.93 +You can also create a directory tree with the -p parents option:
   70.94 +
   70.95 +<code> $ mkdir -p one/two/three/four </code>
   70.96 +
   70.97 +===== Delete files or directories =====
   70.98 +
   70.99 +The command //rm// lets you delete a file. Let's remove the file work.txt which is in the current directory:
  70.100 +
  70.101 +<code> $ rm work.txt </code>
  70.102 +
  70.103 +The command //rm// has several options. To delete a directory and its contents, we use the //-rf// option. Example:
  70.104 +
  70.105 +<code> $ rm -rf /home/hacker/Templates </code>
  70.106 +
  70.107 +Note you can also use the //-i// option to remove files or directories and their contents interactively:
  70.108 +
  70.109 +<code> $ rm -ir /home/hacker/Templates </code>
  70.110 +
  70.111 +===== View files =====
  70.112 +
  70.113 +To read the contents of a file or script, you can use the less, more or cat commands, or the web browser Retawq. Examples with a README file, essential.txt, and script.sh:
  70.114 +
  70.115 +<code>
  70.116 + $ less -EM essential.txt
  70.117 + or :
  70.118 + $ more README
  70.119 + or :
  70.120 + $ cat /path/to/script.sh
  70.121 +</code>
  70.122 +
  70.123 +Display a text or html file with the web browser Retawq:
  70.124 +
  70.125 +<code> $ retawq /usr/share/doc/index.html </code>
  70.126 +
  70.127 +===== Edit files =====
  70.128 +
  70.129 +Editing text files, scripts, configuration files, etc, can be done easily using the text editor GNU Nano in a console or graphical terminal. Example with a file bookmarks.html (<Ctrl+X> to quit and save):
  70.130 +
  70.131 +<code> $ nano Public/bookmarks.html </code>
  70.132 +
  70.133 +===== Cat =====
  70.134 +
  70.135 +You can use the //cat// command to create various text files. EOF signifies End Of File, this is where the file ends. Example with a file packages.list, this removes the current contents of the file and lets you add some new text:
  70.136 +
  70.137 +<code>
  70.138 + $ cat > packages.list << "EOF"
  70.139 + The text...
  70.140 + and more text
  70.141 +
  70.142 + EOF
  70.143 +</code> 
  70.144 +
  70.145 +To append to the following text file, put two greater than signs (>>) after cat, example:
  70.146 +
  70.147 +<code>
  70.148 + $ cat >> packages.list << "EOF"
  70.149 + The text...
  70.150 + 
  70.151 + EOF
  70.152 +</code> 
  70.153 +
  70.154 +===== Navigate the web =====
  70.155 +
  70.156 +Surf the web quickly and simply with the 'retawq' text-mode web browser. Note that you can also use the local browser. You can then navigate easily with the arrows on your keyboard - links are colored blue and can be followed by pressing <ENTER>:
  70.157 +
  70.158 +<code>
  70.159 + $ retawq http://www.slitaz.org/en
  70.160 + or :
  70.161 + $ retawq http://localhost/
  70.162 +</code>
  70.163 + 
  70.164 +===== Talk on IRC =====
  70.165 +
  70.166 +To discuss and transfer files via the many IRC servers available, SliTaz provides Rhapsody. The IRC client is simple, fast and lightweight, providing a pleasant, easy to handle ncurses configuration menu. To start the application from a terminal connecting to server (//irc.toile-libre.org//) and joining //#slitaz//:
  70.167 +
  70.168 +<code>
  70.169 + $ rhapsody
  70.170 + /connect irc.freenode.net
  70.171 + /join #slitaz
  70.172 +</code> 
  70.173 +
  70.174 +===== Download files =====
  70.175 +
  70.176 +To download various file formats on the internet, you have the //wget// command. To grab a simple html page, the contents of a folder or an entire website:
  70.177 +
  70.178 +<code>  $ wget http://www.slitaz.org/en/doc/handbook/ </code> 
  70.179 +
  70.180 +===== List the available partitions =====
  70.181 +
  70.182 +To list the partitions on an internal or external hard drive, you can use cat to display the contents of ///proc/partitions// or use the //fdisk// utility with the -l option meaning list. You can then mount the individual partition(s) that you want to use:
  70.183 +
  70.184 +<code>
  70.185 + $ cat /proc/partitions
  70.186 + or :
  70.187 + # fdisk -l
  70.188 +</code>
  70.189 + 
  70.190 +===== Mount a partition, CD or USB drive =====
  70.191 +
  70.192 +To mount a local partition in the SliTaz filesystem, we recommend you use the ///mnt// directory. Example creating the necessary directory and mounting the hda6 partition of the first local hard drive on ///mnt/hda6//:
  70.193 +
  70.194 +<code>
  70.195 + # mkdir -p /mnt/hda6
  70.196 + # mount -t ext3 /dev/hda6 /mnt/hda6
  70.197 +</code> 
  70.198 +
  70.199 +SliTaz functions in RAM, you can mount the same cdrom or remove it to mount another (/dev/cdrom is a link to the first cdrom drive). Note that a cdrom is a removable medium and should be mounted on ///media//:
  70.200 +
  70.201 +<code>  # mount -t iso9660 /dev/cdrom /media/cdrom </code> 
  70.202 +
  70.203 +To mount a USB or flash drive you must specify the proper filesystem. Normally a USB key is formatted in FAT32 which can be read from GNU/Linux and Windows operating systems. On a GNU/Linux system is it generally recognized as the sda1 device - we now prepare a link sda1 on flash to facilitate the task. Note it is also a removable medium and should be mounted on ///media//:
  70.204 +
  70.205 +<code>  # mount -t vfat /dev/flash /media/flash </code> 
  70.206 +
  70.207 +===== Turn off the system or restart =====
  70.208 +
  70.209 +To stop or restart SliTaz, you can use the halt or reboot commands or the <Ctrl+Alt+Delete> key combination which enables a system reboot. In case of any problems you can use the -f option signifing forced:
  70.210 +
  70.211 +<code>
  70.212 + # halt
  70.213 + To restart :
  70.214 + # reboot
  70.215 + Or :
  70.216 + # reboot -f
  70.217 +</code> 
    71.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    71.2 +++ b/pages/en/handbook/desktop.txt	Sat Feb 26 12:17:18 2011 +0000
    71.3 @@ -0,0 +1,70 @@
    71.4 +====== Desktop ======
    71.5 +
    71.6 +===== Introduction =====
    71.7 +
    71.8 +The default SliTaz desktop is brought to you using different components of the LXDE project. Openbox, PCmanFM and LXPanel combine to implement a Desktop providing simplicity and functionality.
    71.9 +
   71.10 +===== Openbox =====
   71.11 +
   71.12 +Openbox is a fast, simple, themeable window manager that doesn't consume all of your system resources, it is the window manager by default on SliTaz. A window manager is an application that runs on top of the X server to control the appearance of windows, open a X terminal or display applications. It can then place, cut and resize windows at will.
   71.13 +
   71.14 +Openbox provides a context menu via a right click on the desktop, this menu can be changed by editing a configuration file. The key combinations Alt + TAB allow you to list and navigate through open windows. Obconf can be used to graphically configure the window manager and various small tools (specific to SliTaz) allow you to have a simple, stylish and coherent desktop. By default, SliTaz uses 4 virtual desktops.
   71.15 +
   71.16 +The Desktop provided by SliTaz complies with the Freedesktop standards, the file manager PCmanFM allows for management of desktop icons, drag and drop and the mounting of devices with a solitary click. The panel menu, taskbar, icons, etc are powered by LXpanel.
   71.17 +
   71.18 +===== Configuring Openbox =====
   71.19 +
   71.20 +Most options can be configured graphically using the Obconf utility located in the "Preferences" menu. The configuration file can also be modified using your favorite text editor, this is located in your home directory //~/.config/openbox/rc.xml// and is a XML file. The keyboard shortcuts are defined in the //<keyboard>// section of the configuration file.
   71.21 +
   71.22 +===== Themes =====
   71.23 +
   71.24 +Openbox supports themes through a single file using syntax specific to the window manager. Several default themes are provided, they can be selected via Obconf and are found in ///usr/share/themes//. Each system user can install their own themes in the directory //~/.themes// either manually or via Obconf. If you want to create your own themes for SliTaz, then the easiest way is to copy and rename an existing theme and then edit the file //themerc//. Optional themes can also use images for buttons, icons, etc. These images can be created or modified via an image editor such as the Gimp or mtpaint.
   71.25 +
   71.26 +On the Internet you will find many more themes created by the Openbox community. More information can be found on the official Openbox [[http://icculus.org/openbox/index.php/Openbox:Themes|website]]. 
   71.27 +
   71.28 +===== Context Menu =====
   71.29 +
   71.30 +The menu is in the file ~/.config/openbox/menu.xml, the syntax of the XML file is simple and easy to understand. It also possible to edit this file with obmenu (not installed by default). An example for an application in a sub menu:
   71.31 +
   71.32 +<file>
   71.33 +<item label="File Manager">
   71.34 +  <action name="Execute"><command>pcmanfm</command></action>
   71.35 +</item>
   71.36 +</file>
   71.37 +
   71.38 +The subumenus are defined at the end of the file using the menu tag. The tag menu can use a pipe to display the menu entries, ie. a script that creates entries on the fly. SliTaz offers by default a pipe menu that allows you to directly open your Favorites folder with the file manager PCmanFM. The script is found in ///usr/lib/openbox// and can be used as an example. 
   71.39 +
   71.40 +===== Applications started automatically =====
   71.41 +
   71.42 +When starting in graphical mode, Openbox allows many applications to start automatically via the //~/.config/Openbox/autostart.sh// script. By default, using this script, SliTaz starts the file manager PCmanFM for the management of screen and desktop icons, the panel (LXpanel) for the menu, and dbus and Ivman for the management of devices or media such as USB keys. To add or remove applications launched at startup of the session, you can edit the script or use the small SliTaz GUI located in the menu //"Preferences" → "Auto started applications"// : 
   71.43 +
   71.44 +{{ :en:handbook:image:desktopbox-autostart.png }}
   71.45 +
   71.46 +===== Wallpaper and icons using PCmanFM =====
   71.47 +
   71.48 +Openbox doesn't manage the screen natively, you can use an external tool, this allow more freedom of choice. The default desktop on SliTaz uses the file manager PCmanFM to display pictures as wallpaper and have desktop icons. Alternatively, you can use the package //hsetroot// to display a picture or //xsetroot// for a solid color. PCmanFM is started with the Openbox session as a daemon; ie, it runs in the background and launches faster. To change the current background image, you can go through the file manager preferences or via the menu //"Preferences" → "Wallpaper"//.
   71.49 +
   71.50 +The icons are displayed via a simple text file (.desktop), following the Freedesktop standards, you can create your own or customize using your favorite text editor. To add icons to the desktop, SliTaz provides a tiny graphical box accessible via the menu //"Preferences" → "Desktop icons"// or alternatively, you can use the Openbox context menu //"Desktop files & Icons" → "Add new icon"// :
   71.51 +
   71.52 +{{ :en:handbook:image:desktopbox-icons.png }} 
   71.53 +
   71.54 +===== LXPanel =====
   71.55 +
   71.56 +LXPanel forms part of the LXDE project and handles the taskbar, menus, icons etc. Menus are dynamically generated by adding .desktop files to the ///usr/share/applications// or //~/.local/share/applications// directory.
   71.57 +
   71.58 +The system configuration file is located in ///etc/lxpanel// and can also be stored locally in //~/.config//, though it is recommended that you configure LXPanel graphically by using the "Panel Settings" (right click) entry on the taskbar.
   71.59 +
   71.60 +=== Panel Preferences ===
   71.61 +
   71.62 +The LXPanel configurator has 4 tabs:-
   71.63 +
   71.64 +    * Geometry handles the position, icons, and size - either dynamic or fixed of the panel.
   71.65 +    * Appearance adjusts the background and fonts.
   71.66 +    * Panel Applets lets you add, remove, edit and move plugins around on the panel.
   71.67 +    * Advanced allows you to set preferred applications like the file manager, terminal and logout command.
   71.68 +
   71.69 +The official website for the LXDE project and LXPanel can be found [[http://lxde.org/|here]].
   71.70 +
   71.71 +===== Visual effects =====
   71.72 +
   71.73 +SliTaz provides several tiny tools to give effects to the Openbox windows and menus. You can have transparent windows or use shadows to create depth on the Desktop. The effects are achieved via xcompmgr (composite manager) and transset-df (transparency) and both can be activated at the same time on the session using the Openbox //context menu → "Desktop Effects"//. 
   71.74 \ No newline at end of file
    72.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    72.2 +++ b/pages/en/handbook/development.txt	Sat Feb 26 12:17:18 2011 +0000
    72.3 @@ -0,0 +1,139 @@
    72.4 +====== Development ======
    72.5 +
    72.6 +===== About Development =====
    72.7 +
    72.8 +SliTaz provides development tools for web design, editing scripts and source code. On the website, the Development page will give you general information about the developers and opportunities for involvement.
    72.9 +
   72.10 +===== SHell scripts =====
   72.11 +
   72.12 +Writing SHell scripts is the easiest way to start coding, they can provide quick results and the only prerequisites are being able to open a terminal and using a text editor such as Nano, Leafpad or Geany. SHell scripts can do many things on a GNU/Linux system - initialize the system, make backups, perform repetitive tasks, display system information, create or modify files and so on. In a SHell script you can use variables, functions or calls to include a file. Note that you can name your script as you see fit and the .sh extension is widely used.
   72.13 +
   72.14 +=== Create a SHell script ===
   72.15 +
   72.16 +Before starting a new SHell script, you must pay attention to the interpreter used. Most SHell scripts use ///bin/sh//, because it's more portable, but there are scripts that rely on ///bin/bash// and this must be installed on the system. For a SHell script to function it must be made executable by changing permissions on the command line using the chmod tool. To create a script.sh and make it executable:
   72.17 +
   72.18 +<code> $ touch script.sh
   72.19 + $ chmod +x script.sh
   72.20 +</code>
   72.21 +
   72.22 +Now that you have a new executable file, you can edit it. You can continue to stay in the terminal and use the Nano editor (Ctrl + x to save & exit) or IDE Geany to edit:
   72.23 +
   72.24 +<code>
   72.25 + $ nano script.sh
   72.26 + Or :
   72.27 + $ geany script.sh &
   72.28 +</code>
   72.29 +
   72.30 +Here's a script that contains a variable NAME and displays the value with the echo command:
   72.31 +
   72.32 +<file>
   72.33 +#!/bin/sh
   72.34 +
   72.35 +NAME="kayam"
   72.36 +
   72.37 +echo "$NAME is nice."
   72.38 +</file>
   72.39 +
   72.40 +Once you have created/modified your script.sh, you can execute it to see the result:
   72.41 +
   72.42 + <code> $ ./script.sh </code>
   72.43 +
   72.44 +So much for this brief introduction to SHell scripts. The Web is full of information if you wish to explore further.
   72.45 +
   72.46 +===== Dialog =====
   72.47 +
   72.48 +Dialog can create GUI-based consoles such as the SliTaz 'installer'. The configuration files are ///etc/dialogrc// and/or //~/dialogrc// for each user. Here's a simple example of using dialog via a console or terminal:
   72.49 +
   72.50 +<code> $ dialog --title "Hello $USER" \
   72.51 +   --msgbox "Message made by dialog." 5 54 </code>
   72.52 +
   72.53 +You can find plenty of example scripts in the ///sample// directory inside the source code of dialog which can be downloaded from: http://invisible-island.net/dialog/dialog.html. Download sources and decompress:
   72.54 +
   72.55 +<code> $ wget ftp://invisible-island.net/dialog/dialog.tar.gz
   72.56 + $ tar xzf dialog.tar.gz
   72.57 +</code>
   72.58 +
   72.59 +===== Geany IDE =====
   72.60 +
   72.61 +Geany is an IDE or Integrated Development Environment. Geany is simple, quick and light, offering colored syntax, tabs and auto completion. Geany was used to create this page and most of the website documentation (with a little bit of Nano as well).
   72.62 +
   72.63 +=== Launch Geany ===
   72.64 +
   72.65 +You will find Geany in the //menu --> Development --> Geany//. Once launched for the first time, you can adjust your preferences via Edit --> Preferences. You can also launch Geany via a terminal:
   72.66 +
   72.67 +<code> $ geany & </code>
   72.68 +
   72.69 +Note when compiling the source code, the ./configure script offers the option: //-enable-the-force//... Which you can use if you ever feel the need to become Luke Skywalker!
   72.70 +
   72.71 +===== Perl or Microperl - Code/use Perl scripts =====
   72.72 +
   72.73 +On SliTaz you can use the powerful scripting language Perl via the perl or microperl binary. Microperl is a streamlined version of perl compiled from official sources, Perl scripts running Microperl are compatible with the complete version of Perl. One of Perl's strengths is its portability, it can be used on any system and it's an interpreted language, which means that the code doesn't need to be compiled and can be used directly. On SliTaz, Perl and Microperl are not installed by default on the LiveCD: you can either rebuild your ISO or install through the package manager. Note: Microperl is only 1 MB and provides no modules:
   72.74 +
   72.75 +<code>
   72.76 + # tazpkg install perl
   72.77 + Or :
   72.78 + # tazpkg install microperl
   72.79 +</code>
   72.80 +
   72.81 +=== Hello world! ===
   72.82 +
   72.83 +The purpose of this script is to display Hello World. You can start by creating the file and making it executable on the command line and then editing with IDE Geany. Note the script is called hello.pl, but you can name it as you see fit, with or without the .pl extension:
   72.84 +
   72.85 +<code>
   72.86 + $ touch hello.pl
   72.87 + $ chmod +x hello.pl
   72.88 + $ geany hello.pl &
   72.89 +</code>
   72.90 +
   72.91 +The first line of a Perl script begins by defining the path to the Perl interpreter, usually ///usr/bin/perl// and to display text, just use the print command. It should be noted that Perl is case sensitive and a line of code should always end with a semicolon. Example code (you can copy and paste):
   72.92 +
   72.93 +<file>
   72.94 +#!/usr/bin/perl
   72.95 +#
   72.96 +
   72.97 +print "Hello World!\n";
   72.98 +
   72.99 +</file>
  72.100 +To execute and test the script:
  72.101 +
  72.102 +<code> $ ./hello.pl </code>
  72.103 +
  72.104 +=== CGI Scripts and Perl ===
  72.105 +
  72.106 +CGI scripts are designed to display dynamically generated web pages. The Perl language associated with the LightTPD web server allows you to use CGI scripts through your public space or via virtual hosts. Perl is quite adapted to Web 2.0 and can generate xHTML pages. On SliTaz you must have Perl or Microperl installed and the LightTPD server configured before you can use CGI scripts coded in Perl. Note that by default SHell scripts (.sh) can be placed in /cgi-bin/.
  72.107 +
  72.108 +Once the server is properly configured, you can put your CGI in your //$HOME/Public/cgi-bin// using the //.pl// or //.cgi// extension and view them either locally or remotely. Example of using a Perl CGI script:
  72.109 +
  72.110 +<file>
  72.111 +#!/usr/bin/perl
  72.112 +#
  72.113 +print "content-type : text/html\n\n";
  72.114 +
  72.115 +print "Hello World!\n";
  72.116 +</file>
  72.117 +
  72.118 +===== Python =====
  72.119 +
  72.120 +The Python programming language is available as an installable package. Once installed, you can create your own scripts/programs and use CGI applications with the LightTPD web server, taking care to configure the server properly. The official SliTaz Mercurial repositories are provided by a CGI/Python web interface - a solution suited to a product that's reliable and robust. To install the python package with tazpkg:
  72.121 +
  72.122 +<code> # tazpkg get-install python </code>
  72.123 +
  72.124 +===== Ruby =====
  72.125 +
  72.126 +The Ruby programming language is available as an installable package. Ruby is (to quote the official website):- "A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write". Ruby handles exceptions, supports Object-Orientated Programming (OOP), automatic memory management and is highly portable. To install the ruby package with tazpkg:
  72.127 +
  72.128 +<code> # tazpkg get-install ruby </code>
  72.129 +
  72.130 +===== Toolchain - Libraries, C compiler and tools =====
  72.131 +
  72.132 +To compile software from sources or your own code, you need at least the basic toolchain, comprising of Binutils, Glibc, C compiler, Kernel headers and the Make utility. Note that the toolchain is used by the SliTaz developers to compile the entire system from source. To install the meta package and all dependencies:
  72.133 +
  72.134 +<code> # tazpkg get-install slitaz-toolchain </code>
  72.135 +
  72.136 +The installation of the toolchain can now compile basic applications in console mode without a problem using the Busybox Ash SHell, but some other packages will not compile without Bash. GNU Bash is available as a package along with various other development tools such as Flex, M4, Bison or Pkg-config. If you are looking for pkg-config for example:
  72.137 +
  72.138 +<code> $ tazpkg search pkg-config </code>
  72.139 +
  72.140 +If you would like to compile applications utilizing the Ncurses library, you must install the ncurses-dev package. Note the ncurses package also provides a variety of small programs such as tic or tac:
  72.141 +
  72.142 +<code> $ tazpkg search ncurses </code>
    73.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    73.2 +++ b/pages/en/handbook/genlivecd.txt	Sat Feb 26 12:17:18 2011 +0000
    73.3 @@ -0,0 +1,213 @@
    73.4 +====== Generating a Customised LiveCD ======
    73.5 +
    73.6 +//Tazlito// can create your own, personalised SliTaz LiveCD in very little time. You can choose precisely the software packages that you want and the support of flavors permits you to generate a customized LiveCD amended by a list of packages or flavors created by the SliTaz community. Tazlito is a command line tool that is not too demanding, you can have your own ISO image in two commands or burned in one.
    73.7 +
    73.8 +\\
    73.9 +
   73.10 +=== Overview ===
   73.11 +
   73.12 +Tazlito automates the process of building a LiveCD, although the method is quite straight-forward:
   73.13 +
   73.14 +  - download a template (flavor) to work on
   73.15 +  - customise its packages
   73.16 +    *  //optional: include additional files, added after the packages//
   73.17 +  - compress the generated pseudo-file-system
   73.18 +  - create an ISO image
   73.19 +
   73.20 +\\
   73.21 +
   73.22 +=== Notes ===
   73.23 +
   73.24 +  *  Creating a LiveCD requires a minimum of 256MB of RAM.
   73.25 +  *  Compressing the file-system with LZMA may take some time. GZip can also be used, though its compression ratio is not as effective.
   73.26 +  *  It's possible to create a distribution from the LiveCD or from an installed system. In LiveCD mode, it's advisable to use persistent media or an USB drive to store generated files and save space in RAM.
   73.27 +
   73.28 +  *  Tazlito is used by developers to generate the official LiveCD. The only prerequisite is to have Tazlito installed. It is installed by default on SliTaz, but you can generate from another LiveCD distribution if they have the necessary packages (they can be downloaded if not). See the [[#installing-tazlito-on-another-distribution|instructions]] at the bottom of the page for more details.
   73.29 +
   73.30 +\\
   73.31 +
   73.32 +===== A LiveCD in Two Commands =====
   73.33 +
   73.34 +A good way of becoming familiar with Tazlito is to re-build the LiveCD. To do this, download the default //core// flavor (a //.flavor// file that contains all the necessary information to create a LiveCD) and build it with the default options. This takes only two commands and will demonstrate the process:
   73.35 +\\
   73.36 +
   73.37 +    * Get the default (//core//) flavor:
   73.38 +
   73.39 +  # tazlito get-flavor core
   73.40 +
   73.41 +    * //Optional: Amend the list of packages or add additional files.//
   73.42 +
   73.43 +    * Create the LiveCD:
   73.44 +
   73.45 +  # tazlito gen-distro
   73.46 +
   73.47 +\\
   73.48 +
   73.49 +That's it! You will find the LiveCD ISO image in ///home/slitaz/distro//.
   73.50 +
   73.51 +\\
   73.52 +
   73.53 +===== Part I: Downloading a Flavor =====
   73.54 +
   73.55 +Flavors can be used to build various styles of LiveCDs by containing the list of packages (//distro-packages.list//) and sometimes additional files. This saves you the effort of saving the configuration files and provides a quick way of switching between them. of  A list of flavors available on the SliTaz servers can be downloaded and updated with Tazlito:
   73.56 +
   73.57 +  # tazlito list-flavors
   73.58 +Or :
   73.59 +  # tazlito list-flavors --recharge
   73.60 +
   73.61 +\\
   73.62 +
   73.63 +The list of flavors will be automatically displayed, showing the size of the LiveCD and a brief description. To use a flavor, use the get-flavor command to download the flavor file, automatically extract the package list and description in the current directory, and put additional files in the ///home/slitaz/distro/addfiles// directory:
   73.64 +
   73.65 +   # tazlito get-flavor name
   73.66 +
   73.67 +\\
   73.68 +
   73.69 +The description of the flavor can be displayed with the //show-flavor// command. Once your chosen flavor is downloaded, you can start to customise your distribution!
   73.70 +
   73.71 +<note tip>To store flavors, we suggest that you use a specific directory such as ///home/slitaz/flavors//. You can create this yourself and proceed inside:
   73.72 +
   73.73 +   # mkdir -p /home/slitaz/flavors
   73.74 +   # cd /home/slitaz/flavors
   73.75 +</note>
   73.76 +
   73.77 +
   73.78 +\\
   73.79 +
   73.80 +===== Part II: Generating the Distribution =====
   73.81 +
   73.82 +<note important>When generating a distro, there are some essential //base-system// packages that must be included. The dependency information in each package will take effect so these will be automatically included, even if they are not specified in the package list.</note>
   73.83 +
   73.84 +For your first ISO, we advise you re-build the default LiveCD without modifying the list. When you are comfortable with the process, you can start to delete or add packages as required. The gen-distro command generates an ISO image with all the packages on the list. All dependencies will be fulfilled automatically, just as with normal package installation. It must be run as root and be in the same directory as the list and the configuration file.
   73.85 +
   73.86 +Tazlito uses the //distro-packages.list// file to download each package and 'install' it into a pseudo-file-system. This is the distro tree and contains the whole of the LiveCD's operating system. This is not unlike //chroot//-ing in to another system from a LiveCD. It is then compressed and added to a CD ISO image with booting information.
   73.87 +
   73.88 +To generate a LiveCD:
   73.89 +
   73.90 +   # tazlito gen-distro
   73.91 +
   73.92 +Voilà! Your first LiveCD ISO image is generated in ///home/slitaz/distro//!
   73.93 +
   73.94 +\\
   73.95 +
   73.96 +=== Cleaning & Re-Generating ===
   73.97 +
   73.98 +As you have generated a LiveCD, you need to clean-up so another can be generated. Removing the resulting ISO image, cleaning the generated distro tree (but not your additional files!) can be done through the //clean-distro// option:
   73.99 +
  73.100 +   # tazlito clean-distro
  73.101 +
  73.102 +\\
  73.103 +
  73.104 +You can now customise your LiveCD further. To start, add one or two packages to the list. When you are ready, re-generate a new ISO image with the //gen-distro// command:
  73.105 +
  73.106 +   # tazlito gen-distro
  73.107 +
  73.108 +\\
  73.109 +
  73.110 +All the customisations applied so far should be effective on your new LiveCD ISO image.
  73.111 +
  73.112 +<note tip> Tazlito also offers several possibilities such as burning the ISO, copying additional files into the system or directly on to the CD-ROM. See the Tazlito [[http://hg.slitaz.org/tazlito/raw-file/tip/doc/tazlito.en.html|Manual]] for more information.</note>
  73.113 +
  73.114 +\\
  73.115 +
  73.116 +=== The 'Hacker' User ===
  73.117 +
  73.118 +If you want to have a hacker user account, we must decompress the root file-system, add the account, then re-compress the root file-system. The first two stages can be executed as one command, the last stage another:
  73.119 +
  73.120 +   # tazlito addhacker
  73.121 +   # tazlito gen-initiso
  73.122 +
  73.123 +This adds the account only to the LiveCD; your running system will not be affected.
  73.124 +
  73.125 +\\
  73.126 +
  73.127 +===== Including Additional Files =====
  73.128 +
  73.129 +The files containing flavors usually have additional files copied directly into the file-system or the root of the CD-ROM. The path to the files used is specified in the configuration file //tazlito.conf// - by default, these files are located in ///home/slitaz/distro/addfiles//. The additional files the core flavor provides are for example: the window manager JWM and some wallpapers. It is easy enough to modify, add or delete files in the root file-system (rootfs) or the root of the CD (rootcd) and regenerate the distribution. To clean and regenerate the distribution:
  73.130 +
  73.131 +   # tazlito clean-distro
  73.132 +   # tazlito gen-distro
  73.133 +
  73.134 +\\
  73.135 +
  73.136 +===== Packages Used =====
  73.137 +
  73.138 +To create your distro, you need SliTaz packages. You can easily create your own packages with Tazpkg, or recreate packages from a SliTaz system in operation with Tazlito. By default, SliTaz packages are located in the ///home/slitaz/packages// directory but you can change this in the Tazlito configuration file (see [[#configuration-file|the bottom of this page]] for more information).
  73.139 +
  73.140 +If you want to retrieve packages manually, you can use FTP software such as gFTP (installed by default on SliTaz) or the command line and //wget//. The direct URL to package versions is: ''ftp://download.tuxfamily.org/slitaz/packages/''
  73.141 +
  73.142 +You can also use your own packages by putting them in the packages directory. For more information on creating your own SliTaz packages, see the [[en:cookbook:start|Cookbook]].
  73.143 +
  73.144 +\\
  73.145 +
  73.146 +===== Configuration File =====
  73.147 +
  73.148 +Tazlito uses the //tazlito.conf// located in the current directory, if it exists, or defaults to the system configuration file ///etc/tazlito/tazlito.conf//. This means that you can use the default file or a configuration file specific to the distro you want to create.
  73.149 +
  73.150 +This file specifies a number of properties:
  73.151 +
  73.152 +  * the name of the ISO image (//ISO_IMAGE//)
  73.153 +  * the label used when mounted (//VOLUME_NAME//)
  73.154 +  * the name of the maintainer (//PREPARED//)
  73.155 +
  73.156 +  * the paths to the working directories:
  73.157 +    *  where the distro tree is located (//DISTRO//)
  73.158 +      * default: ///home/slitaz/distro//
  73.159 +    *  any packages that may be installed (//PACKAGES_REPOSITORY//)
  73.160 +      * default: ///home/slitaz/packages//
  73.161 +    *  the files that should be added to the built LiveCD (//ADDFILES//)
  73.162 +      * default: //$DISTRO/addfiles//
  73.163 +
  73.164 +  * options for running Tazlito inside QEMU (//QEMU_OPTS//)
  73.165 +
  73.166 +  * the compression algorithm used on the root file-system (//COMPRESSION//):
  73.167 +    * lzma //(default)//
  73.168 +    * gzip
  73.169 +    * bzip2
  73.170 +
  73.171 +To create and configure your own configuration file, you just need to run Tazlito with the //configure// command from the working directory of the distro. Assuming you have the tree of the distro in ///home/slitaz/distro// and you're working from it, use the command:
  73.172 +
  73.173 +   $ tazlito configure
  73.174 +
  73.175 +Once you've answered the questions, you can either create the ISO image, rebuild the root file-system and ISO, or generate a new distro with the list of packages.
  73.176 +
  73.177 +<note tip> If you generate many LiveCDs, including the //date// command in the ISO name may be beneficial. To do this, use a line such as:
  73.178 +ISO_NAME="MyLiveCD-`date +%Y%m%d-%H%M`" </note>
  73.179 +
  73.180 +\\
  73.181 +
  73.182 +===== Advanced: Creating a Flavor =====
  73.183 +
  73.184 +Tazlito allows you to easily create your own flavor from the results of generating the distribution (//gen-distro//). The flavor will contain all the additional files, a description and a list of packages (which can be reused and updated later, according to their versions). To generate your own flavor responding to one or two questions:
  73.185 +
  73.186 +   # tazlito gen-flavor new-flavor
  73.187 +
  73.188 +Once your flavor is fully-functioning and well-tested, you can send it to SliTaz to make it available to everyone! It will then be listed via //list-flavor// and usable via //get-flavor//. You can send a flavor by several ways: 
  73.189 +
  73.190 +  * announce through a post on the [[http://www.slitaz.org/en/mailing-list.html|Mailing List]];
  73.191 +  * save the file on-line and report on the [[http://forum.slitaz.org/|Forum]];
  73.192 +  * send an e-mail to a SliTaz contributor.
  73.193 +
  73.194 +A contributor with sufficient privileges will then publish your flavor on the SliTaz servers.
  73.195 +
  73.196 +\\
  73.197 +
  73.198 +===== Installing Tazlito on Another Distribution =====
  73.199 +
  73.200 +Tazlito does not generate dependencies for the LiveCD, but it depends on Cdrkit to burn the image and Tazpkg to regenerate SliTaz packages you want installed. To retrieve and install Tazlito, follow the instructions in the README file in the [[http://download.tuxfamily.org/slitaz/sources/tazlito/|sources of Tazlito]].
  73.201 +
  73.202 +
  73.203 +---- 
  73.204 +\\
  73.205 +^  Page Review Section  ^^ 
  73.206 +|Quality| Good  |
  73.207 +|Review| Minor Updates FIXME  |
  73.208 +|Priority| High |
  73.209 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  73.210 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  73.211 +|How to Improve| Suggest briefly, e.g.,|
  73.212 +|::: | add more information to the Hacker user section |
  73.213 +|::: | Add new rows like this ;-)  |
  73.214 +
  73.215 +\\
  73.216 +----
    74.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    74.2 +++ b/pages/en/handbook/graphics.txt	Sat Feb 26 12:17:18 2011 +0000
    74.3 @@ -0,0 +1,37 @@
    74.4 +====== Graphics ======
    74.5 +
    74.6 +===== Gcolor2 - Select and manage colors =====
    74.7 +
    74.8 +Gcolor2 is a tool to select and retain palette colors. It can be useful for the creation of SliTaz themes, for example. It can be found in the Graphics category or run from the command line:
    74.9 +
   74.10 +<code> $ gcolor2 & </code>
   74.11 +
   74.12 +===== Gimp - Manipulate and create images =====
   74.13 +
   74.14 +The GIMP (GNU Image Manipulation) is software that can manipulate images to a very high quality level. It allows you to do what you would expect from an application that processes images, ie. layers, filters, support scripts adding functionality, etc. GIMP supports a large number of image formats such as: PNG, JPEG, XPM, PPM, TIFF, PostScript, PSD, it also offers its own XCF format. To install GIMP:
   74.15 +
   74.16 +<code> # tazpkg get-install gimp </code>
   74.17 +
   74.18 +GIMP is scalable and can be configured with the main interface - configuration files, brushes and personal scripts are located in the //~/.gimp-2.2// directory.
   74.19 +
   74.20 +===== GQview - Image manager =====
   74.21 +
   74.22 +GQview is very light and quick and allows you to navigate rapidly between images by selecting files in a directory tree with a single mouse click. It supports slideshows, image rotation, adding keywords and tags, drag and drop, and can display EXIF data. It also allows you to edit images in the software of your choice (Mtpaint, GIMP for example). To install GQview:
   74.23 +
   74.24 +<code> # tazpkg get-install gqview </code>
   74.25 +
   74.26 +===== jpeg - JPEG command line tools =====
   74.27 +
   74.28 +To allow applications that use JPEG to function, linked libraries must be provided by the package jpeg-6b, this package also contains some tiny utilities that can be used on the command line such as cjpeg and djpeg. To modify JPEG images on the command line you can also use jpegtran, installed by default on SliTaz, jpegtran allows you to rotate images via the -rotate option. To find out all of the options available for these tools, just specify the <nowiki>--help</nowiki> option. Example:
   74.29 +
   74.30 +<code> $ cjpeg --help </code>
   74.31 +
   74.32 +===== mtPaint - Image processing =====
   74.33 +
   74.34 +mtPaint is an application for the creation and retouching of PNG, TIFF, XPM and BMP images. It offers many simple, lightweight, fast functions like capture screen (screenshot) which you can access from the //menu --> Graphics --> Grab screenshot//, or via a terminal:
   74.35 +
   74.36 +<code> $ mtpaint -s </code>
   74.37 +
   74.38 +===== Viewnoir - Elegant image viewer =====
   74.39 +
   74.40 +Viewnoir is fast and simple image viewer with a minimalistic interface. It can rotate, flip, crop, save, delete images and supports fullscreen, slideshow, etc. To start from the menu //Graphics -> Viewnoir//.
   74.41 \ No newline at end of file
    75.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    75.2 +++ b/pages/en/handbook/hacklivecd.txt	Sat Feb 26 12:17:18 2011 +0000
    75.3 @@ -0,0 +1,212 @@
    75.4 +====== Hacking SliTaz LiveCD ======
    75.5 +
    75.6 +===== Introduction =====
    75.7 +
    75.8 +//Hacking SliTaz LiveCD// or how to have fun with the LiveCD ISO image. Note that you can also create a custom flavor with //Tazlito//. Creating your own bootable ISO image is easily achievable and the steps are carefully described here. The manipulation of a personal ISO image can add new files or modify existing ones found on the SliTaz Live CD. The SliTaz ISO image is less than 30 MB and a CD-R or CD-RW provides around 700 MB, so there's plenty of scope for expansion. For example, you could store your images and even provide a live slideshow using //GQview//. The hacking of the ISO image allows you to modify boot loader configuration files (boot loader), splash images and GRUB itself. You could also add the //Memtest86// utility (tool used to test system RAM). Using the same techniques it's even possible to modify the filesystem - this does however require some extra manipulation and a bit more time.
    75.9 +
   75.10 +===== Organization and preparation =====
   75.11 +
   75.12 +To begin, first we must define where we are going to work by creating a directory and several sub directories to accommodate all the different files. The hacking of the ISO can be done from within a SliTaz system or any other GNU/Linux distribution such as Debian, Fedora, PCLinuxOS, etc. If you use SliTaz LiveCD mode (where you can remove the CD once SliTaz has launched in RAM and burn your new ISO), It's advisable to use USB media to carry on working, otherwise your work will be lost on shutdown. To begin you need to create a hacking directory that you can use inside// /home/slitaz// within the root of your user space. The use of a ///home/slitaz// directory enables you to store an original ISO image and gives you the option to create a src/ directory to download possible source packages. All the various stages of hacking can be done on the command line via a X terminal (Xterm) or in console mode on a Linux terminal. It's advisable to run all commands as root to avoid any permission problems. To become the (root) adminsistrator, create a ///home/slitaz/hacked// directory and proceed inside:
   75.13 +
   75.14 +<code>
   75.15 + $ su
   75.16 + # mkdir -p /home/slitaz/hacked
   75.17 + (# mkdir -p /home/slitaz/src)
   75.18 + # cd /home/slitaz/hacked
   75.19 +</code>
   75.20 +
   75.21 +=== Getting the contents of the ISO ===
   75.22 +
   75.23 +Now that you are in the working directory, we must create the root of the amended CD-ROM and retrieve the files contained on the original SliTaz ISO - namely, the Linux Kernel (bzImage), the compressed filesystem (rootfs.gz) and the isolinux bootloader files. To recover these files you have two options, either take them from a burned CD or from an ISO image stored locally. To create the root of your CD (rootcd) and copy files from the cdrom device ///dev/cdrom// mounted on ///media/cdrom//:
   75.24 +
   75.25 +<code>
   75.26 + # mount -t iso9660 /dev/cdrom /media/cdrom
   75.27 + # mkdir rootcd
   75.28 + # cp -a /media/cdrom/* rootcd
   75.29 +</code>
   75.30 +
   75.31 +To mount an ISO image using loop in the temporary directory ///tmp/loop// (with the ISO image slitaz-cooking.iso), create the root of the CD (rootcd), copy all the files and dismount the ISO image:
   75.32 +
   75.33 +<code>
   75.34 + # mkdir /tmp/loop
   75.35 + # mount -o loop slitaz-cooking.iso /tmp/loop
   75.36 + # mkdir rootcd
   75.37 + # cp -a /tmp/loop/* rootcd
   75.38 + # umount /tmp/loop
   75.39 +</code>
   75.40 +
   75.41 +Voilà, all the necessary files should now be present in the rootcd/ directory. To be sure, you can list all of the files recursively with the ls command:
   75.42 +
   75.43 +<code> # ls -R rootcd </code>
   75.44 +
   75.45 +===== Adding the files to the ISO =====
   75.46 +
   75.47 +The addition of various files and directories to the ISO image simply consists of copying data to the root of the cdrom (rootcd/) and generating a new image. The data may be classified in one or two directories created in the root of the CD. Once the ISO image is burned to a CD-R/CD-RW, you can use SliTaz as before, mounted on ///media/cdrom// and navigate through your data using emelFM2, Clex or the command line. Your data will also be legible from all GNU/Linux systems, BSD or even ... Windows.
   75.48 +
   75.49 +=== Create directories and copy data ===
   75.50 +
   75.51 +To create and copy files, you can start by using the command line and then continue on graphically as a simple user. We will create an images/ directory as root and change the permissions so that all users have write access:
   75.52 +
   75.53 +<code>
   75.54 + # mkdir rootcd/images
   75.55 + # chmod 777 rootcd/images
   75.56 +</code>
   75.57 +
   75.58 +Now that a directory exists that anybody can write to, you can start to fill it. Once you've finished you can then generate a bootable ISO image.
   75.59 +
   75.60 +===== Modify the isolinux configuration =====
   75.61 +
   75.62 +The modification of isolinux allows you to create custom entries with pre-boot parameters, for example you can add a label launching SliTaz with the //lang=en// and //kmap=en// options. At the design level you can easily change the splash image displayed at startup. The isolinux application manages the starting of the boot loader of the LiveCD and is provided by the Syslinux package. The source file of Syslinux provides various applications whose role it is to start a GNU/Linux system. The binary //isolinux.bin// controls the actual boot loading. The boot loader is simple, fast and easily configured either graphically or using a text editor. The syntax of the configuration file //isolinux.cfg// is easy to understand - to add new entries just copy and paste using the original file. To edit the file graphically using Leafpad:
   75.63 +
   75.64 +<code> # leafpad rootcd/boot/isolinux/isolinux.cfg & </code>
   75.65 +
   75.66 +=== Configuration file isolinux.cfg ===
   75.67 +
   75.68 +The //isolinux.cfg// file found on the standard LiveCD of SliTaz, begins with the value display, this will either display a text file or a (//isolinux.msg//) file using 24 ASCII characters and a splash image. The default value defines the name of the label started by default after the (timeout) waiting time. Timeout is the number of seconds to wait before booting the system, you can make it 0 to start booting immediately or choose a waiting time as long as 80s. Finally the prompt can be deactivated using the value 0. F1, F2, F3 display help files and F4 displays a text file. Example configuration:
   75.69 +
   75.70 +<file>
   75.71 +display isolinux.msg
   75.72 +default slitaz
   75.73 +label slitaz
   75.74 +      kernel /boot/bzImage
   75.75 +      append initrd=/boot/rootfs.gz rw root=/dev/null vga=788
   75.76 +implicit 0	
   75.77 +prompt 1	
   75.78 +timeout 80
   75.79 +F1 help.txt
   75.80 +F2 options.txt
   75.81 +F3 isolinux.msg
   75.82 +F4 display.txt
   75.83 +</file>
   75.84 +
   75.85 +Example of a label //slitazen// which you can add to the original to directly configure the language of the system as English and use the UK keyboard:
   75.86 +
   75.87 +<file>
   75.88 +label slitazen
   75.89 +      kernel /boot/bzImage
   75.90 +      append initrd=/boot/rootfs.gz rw root=/dev/null lang=en kmap=en
   75.91 +</file>
   75.92 +
   75.93 +Once you've finished modifying the configuration file, don't forget to save your changes and generate a bootable ISO image with isolinux.
   75.94 +
   75.95 +===== Install and use Memtest86 =====
   75.96 +
   75.97 +The application //memtest86// (92 kB) is a tool for testing your system memory (RAM). Memtest86 performs indepth tests, that if failed, point heavily towards a hardware fault. The tool resides in the boot/ directory and can be launched directly by typing memtest at the isolinux boot prompt. Navigate to /home/slitaz/src (if the directory doesn't exist: //mkdir -p /home/slitaz/src//), download the source and unpack:
   75.98 +
   75.99 +<code>
  75.100 + # cd /home/slitaz/src
  75.101 + # wget http://www.memtest86.com/memtest86-3.3.tar.gz
  75.102 + # tar xzf memtest86-3.3.tar.gz
  75.103 +</code>
  75.104 +
  75.105 +On unpacking the source of the memtest86 package you'll find a README providing information about the tool. Now you can install into the root CD of your hacked ISO. Based on the premise that you'll be working with a ///home/slitaz/hacked// directory, we will copy the binary you precompiled into the boot/ directory of the root of the CD:
  75.106 +
  75.107 +<code>
  75.108 + # cp memtest86-3.3/precomp.bin \
  75.109 +   /home/slitaz/hacked/rootcd/boot/memtest
  75.110 +</code>
  75.111 +
  75.112 +Now that the binary is installed in the root CD, we can just add an entry for memtest86 to the isolinux configuration file and generate a bootable ISO image. Navigate to ///home/slitaz/hacked// and edit //isolinux.cfg// using Leafpad:
  75.113 +
  75.114 +<code>
  75.115 + # cd /home/slitaz/hacked
  75.116 + # leafpad rootcd/boot/isolinux/isolinux.cfg &
  75.117 +</code>
  75.118 +
  75.119 +Adding the following lines:
  75.120 +
  75.121 +<file>
  75.122 +label memtest
  75.123 +      kernel /boot/memtest
  75.124 +</file>
  75.125 +
  75.126 +Official website of [[http://www.memtest86.com/|Memtest86]]
  75.127 +
  75.128 +===== Manipulate the Live root system =====
  75.129 +
  75.130 +Changes to the Live root system allow you for example, to add a new user and password, customize graphics or execute commands automatically at boot time. The necessary operations for changing the root file system are: extract the compressed file system rootfs.gz, modify, rebuild the image and generate the ISO. Based on the assumption that you've prepared a working directory, we begin by creating a directory to contain the files on the changed system. Since the compressed root file system is named //rootfs.gz//, we suggest you use rootfs/ to extract to. Navigate to the //hacked/// directory, create the root directory and copy the compressed file system from //rootcd/boot/// (the root of the cdrom):
  75.131 +<code>
  75.132 + # cd /home/slitaz/hacked
  75.133 + # mkdir rootfs
  75.134 + # cp rootcd/boot/rootfs.gz rootfs
  75.135 +</code>
  75.136 +Now that you have the compressed copy of the system, just unpack with cpio. Technically rootfs.gz is a cpio file compressed with lzma or gzip. It's recognized like an initramfs image by the Linux Kernel. At the start up of the machine, the Kernel is loaded into memory and then decompresses the system image and carries out the initialization scripts.
  75.137 +
  75.138 +To extract the file system into //rootfs/// and delete the unarchived copy (remember you can copy & paste):
  75.139 +
  75.140 +<code>
  75.141 + # cd rootfs
  75.142 + # (zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id
  75.143 + # rm rootfs rootfs.gz
  75.144 +</code>
  75.145 +
  75.146 +The system is now ready to be hacked, you can list all files at the root of your system by using the ls command.
  75.147 +
  75.148 +=== Modify a file ===
  75.149 +
  75.150 +To keep things simple and to help you understand the principle, we are going to change a script file in order to execute some commands to be carried out automatically when the CD starts up. The target is etc/init.d/local.sh - just open with your favorite text editor such as Geany:
  75.151 +
  75.152 +<code> # geany etc/init.d/local.sh & </code>
  75.153 +
  75.154 +We'll add a command displaying a message and letting the system sleep for 4 seconds. Example using local script:
  75.155 +
  75.156 +<file>
  75.157 +echo "* Hacked SliTaz version booting..."
  75.158 +sleep 4
  75.159 +</file>
  75.160 +
  75.161 +=== Rebuilding the image of the compressed system ===
  75.162 +
  75.163 +Once the changes are completed, you can rebuild a compressed image of your system by using find to find the files, cpio for archiving, lzma and gzip for compression and the pipe | to connect everything together. This command must be launched from the root system (rootfs/) and creates a compressed file rootfs.gz in the preceding directory:
  75.164 +
  75.165 +<code>
  75.166 + # find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs.gz
  75.167 + Or with gzip:
  75.168 + # find . -print | cpio -o -H newc | gzip -9 > ../rootfs.gz
  75.169 +</code>
  75.170 +
  75.171 +Finally copy the compressed file system into the //boot/// directory at the root of the CD and generate a bootable ISO image with isolinux. To copy the newly compressed rootfs into the working directory:
  75.172 +
  75.173 +<code>
  75.174 + # cd ../
  75.175 + # cp -a rootfs.gz rootcd/boot
  75.176 +</code>
  75.177 +
  75.178 +===== Generate a bootable ISO image =====
  75.179 +
  75.180 +The following commands create an image with the boot loader //isolinux//, using the //genisoimage// application and a few options. The name of the ISO is specified at the beginning, after the -o option and the root directory (//rootcd///) at the end, after the //-boot-info-table// option:
  75.181 +
  75.182 +<code>
  75.183 + # genisoimage -R -o slitaz-hacked.iso -b boot/isolinux/isolinux.bin \
  75.184 +   -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
  75.185 +   -V "SliTaz-Hacked" -input-charset iso8859-1 -boot-info-table rootcd
  75.186 +</code>
  75.187 +
  75.188 +If you want to check the contents of the ISO before burning, just mount the image in loop and list the files. On SliTaz and most GNU/Linux systems, you can burn images in ISO format with the wodim utility.
  75.189 +
  75.190 +=== Generate a new ISO via a script ===
  75.191 +
  75.192 +If you wish to test out a lot of new possibilities and generate a lot of ISO images, you may want to semi-automate the process via a simple SHell script. This tiny script can be created on the command line or edited graphically, but don't forget to make it executable. You can create the script with cat; note that EOF signifies End Of File. To create the script gen_hacked_iso.sh using two variables to change the name of the ISO image and the path to the root directory of the cdrom:
  75.193 +
  75.194 +<code> # cat > gen_hacked_iso.sh << "EOF" </code>
  75.195 +
  75.196 +<file>
  75.197 +#!/bin/sh
  75.198 +# Gen a new hacked ISO image.
  75.199 +#
  75.200 +ISO_NAME="slitaz-hacked.iso"
  75.201 +ROOTCD="rootcd"
  75.202 +
  75.203 +genisoimage -R -o $ISO_NAME -b boot/isolinux/isolinux.bin \
  75.204 +   -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
  75.205 +   -V "SliTaz-Hacked" -input-charset iso8859-1 -boot-info-table $ROOTCD
  75.206 +
  75.207 +EOF
  75.208 +</file>
  75.209 +
  75.210 +To use the script, just make it executable and execute:
  75.211 +
  75.212 +<code>
  75.213 + # chmod +x gen_hacked_iso.sh
  75.214 + # ./gen_hacked_iso.sh
  75.215 +</code>
  75.216 \ No newline at end of file
    76.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    76.2 +++ b/pages/en/handbook/installation.txt	Sat Feb 26 12:17:18 2011 +0000
    76.3 @@ -0,0 +1,149 @@
    76.4 +====== Hard Disk Installation ======
    76.5 +
    76.6 +===== Introduction =====
    76.7 +
    76.8 +This document gives information and necessary instructions on how to install SliTaz on a hard disk. This should take about 10 minutes, SliTaz core LiveCD expands to 80 Mb, so we suggest a minimum of 120 Mb of free space. This way you will be able to install a few more packages. If you can use the LiveCD, you should be able to install SliTaz.
    76.9 +
   76.10 +===== SliTaz Installer =====
   76.11 +
   76.12 +SliTaz provides a simple to use Installer which can be launched from the "System Tools" menu. SliTaz 3.0 Installer messages are in English and can be used with these complimentary instructions.
   76.13 +
   76.14 +=== Install Type ===
   76.15 +
   76.16 +The first step lets you choose the type of installation: new install or system upgrade. In most cases you will want a new and clean installation. On confirming this the installer will mount the master CD-ROM device and search for the compressed file-system (//rootfs.gz//). If no file-system is found, then the installation will abort.
   76.17 +
   76.18 +If you get into trouble because the compressed file-system is not found, please check that SliTaz is in the master CD/DVD device. If the problem persists you can use a downloaded ISO image and mount it on ///media/cdrom// where the installer expects to find it:
   76.19 +
   76.20 +<code> # mount -o loop slitaz-3.0.iso /media/cdrom </code>
   76.21 +
   76.22 +=== Target Partition ===
   76.23 +
   76.24 +The second step is the partition configuration. You will need to have a partition ready; the installer does not set-up your disk for you. If you already have a free partition you can use it; if not you will have to create one graphically using GParted, or from the command line using fdisk.
   76.25 +
   76.26 +For example, if you want to install SliTaz on the second partition of the first disk recognized as hda:
   76.27 +
   76.28 +<file> /dev/hda2 </file>
   76.29 +
   76.30 +=== Formatting ===
   76.31 +
   76.32 +<note warning> Formatting a partition **permanently** removes all data from it. Be sure you choose your intended partition carefully as //this action is irreversible//.</note>
   76.33 +
   76.34 +The next step lets you format the target partition into ext3. Ext3 is a robust, stable and journalled file-system. If the partition is already formatted you can skip this step, if not just accept.
   76.35 +
   76.36 +=== Hostname ===
   76.37 +
   76.38 +Hostname configuration lets you set the machine name. The hostname is used internally and to identify the computer on a network. This can be changed after the system is installed. It cannot be longer than 64 characters and can only contain letters, numbers, and dashes.
   76.39 +
   76.40 +=== Boot-Loader (GRUB) ===
   76.41 +
   76.42 +When the installation process is finished you have the option to install the GRUB boot-loader. GRUB is capable of booting almost any kind of operating system and can be configured through a human-readable text file; changes to this file are instant and do not require an additional commands to take effect.
   76.43 +
   76.44 +If you want to use an existing GRUB installation, skip this step and add the correct lines to your GRUB configuration file (menu.lst); [[installation#grub-boot-loader | see below]] for more information. Note that the SliTaz Installer creates a configuration file on the target which can be used as an example (///mnt/target/boot/grub/menu.lst//).
   76.45 +
   76.46 +=== Finishing the Installation ===
   76.47 +
   76.48 +When the Installer has finally done its job you have the option to exit or directly reboot your new SliTaz GNU/Linux operating system. First boot is like the LiveCD, you will be prompted for locale, keyboard, sound card and screen selection. Future reboots will not prompt you anymore for configuration details, but all the values can be changed either manually or with the project tools such as //tazlocale// or //tazx//.
   76.49 +
   76.50 +===== Manual ('By Hand') Installation =====
   76.51 +
   76.52 +SliTaz can also be installed 'by hand' from the command line. You can use a CD-ROM or an ISO image. The following commands can be copied/pasted from your web browser to the Terminal.
   76.53 +
   76.54 +Firstly, prepare a target partition and mount it. For example, to use the second partition on the first disk drive (///dev/hda2//), one would type:
   76.55 +
   76.56 +<code>
   76.57 + # mkdir /mnt/target
   76.58 + # mount /dev/hda2 /mnt/target
   76.59 +</code>
   76.60 +
   76.61 +=== Mount CD-ROM or ISO image ===
   76.62 +
   76.63 +Mount the CD-ROM...
   76.64 +
   76.65 +<code> # mount /dev/cdrom /media/cdrom </code>
   76.66 +
   76.67 +...or if you are using an ISO image:
   76.68 +
   76.69 +<code> # mount -o loop slitaz-3.0.iso /media/cdrom </code>
   76.70 +
   76.71 +=== Install and Extract ===
   76.72 +
   76.73 +With a target partition prepared and the installation media made accessible, we need to copy the files from the media into the target partition and then extract the compressed file-system (rootfs.gz).
   76.74 +
   76.75 +    *  Create a boot directory and install the Linux Kernel file:
   76.76 +
   76.77 +<code>
   76.78 + # mkdir /mnt/target/boot
   76.79 + # cp -a /media/cdrom/boot/vmlinuz-* /mnt/target/boot
   76.80 +</code>
   76.81 +
   76.82 +    *  Copy the root file-system:
   76.83 +
   76.84 +<code> # cp /media/cdrom/boot/rootfs.gz /mnt/target </code>
   76.85 +
   76.86 +Now the necessary files are present, change (//cd//) to the target directory and decompress the file-system. This is done with the //lzma// and //cpio// utilities:
   76.87 +
   76.88 +<code>
   76.89 + # cd /mnt/target
   76.90 + # lzma d rootfs.gz -so | cpio -id 
   76.91 + # rm rootfs.gz init
   76.92 +</code>
   76.93 +
   76.94 +That's it; SliTaz is installed! Before rebooting to start your new SliTaz GNU/Linux installation, please check that you have a boot-loader (GRUB or Lilo) installed and add the necessary lines (see below) to boot SliTaz.
   76.95 +
   76.96 +===== GRUB Boot-Loader =====
   76.97 +
   76.98 +GRUB is an universal boot-loader capable of booting almost any operating system , including Linux, *BSD and Windows. GRUB uses a single configuration file named //menu.lst//.
   76.99 +
  76.100 +If you used the SliTaz Installer and installed GRUB, you don't need to manually install GRUB -- just reboot.
  76.101 +
  76.102 +Otherwise, to install GRUB onto the MBR (Master Boot Record) using a root directory of ///mnt/target// (the target mounted partition) and the disk named hda, use the following command and note the lack of a partition number:
  76.103 +
  76.104 +<code> # grub-install --root-directory=/mnt/target /dev/hda </code>
  76.105 +
  76.106 +You can now create a GRUB configuration file and add the lines which will boot SliTaz. The //menu.lst// file can be edited with your favourite text editor such as Nano or Leafpad:
  76.107 +
  76.108 +<code> # leafpad /mnt/target/boot/grub/menu.lst </code>
  76.109 +
  76.110 +=== Example /boot/grub/menu.lst ===
  76.111 +
  76.112 +<file>
  76.113 +title  SliTaz GNU/Linux 3.0 (Kernel 2.6.34-slitaz)
  76.114 +       root(hd0,0)
  76.115 +       kernel /boot/vmlinuz-2.6.34-slitaz root=/dev/hda1 vga=normal
  76.116 +</file>
  76.117 +
  76.118 +Verify again that everything is in place before rebooting with the //reboot// command:
  76.119 +
  76.120 +<code>
  76.121 + # reboot
  76.122 +</code>
  76.123 +
  76.124 +You should see GRUB with a SliTaz item in its menu.
  76.125 +
  76.126 +===== Dual-Booting with Windows =====
  76.127 +
  76.128 +A common query asked on the [[http://forum.slitaz.org/|Community Forum]] is how to dual-boot SliTaz and Windows. This is a straight-forward task that just needs the following lines appended to the ///boot/grub/menu.lst// file:
  76.129 +
  76.130 +<file>
  76.131 +title   Microsoft Windows
  76.132 +        rootnoverify (hd0,0)
  76.133 +        chainloader +1
  76.134 +</file>
  76.135 +
  76.136 +In this example, the Windows installation resides on the first hard disk (hd0) and the first partition (the second 0) within it. This may need modification to reflect individual cases. If it were the other way around and SliTaz proceeded Windows for instance, the line would read:
  76.137 +
  76.138 +<file>rootnoverify (hd0,1)</file>
  76.139 +
  76.140 +Most operating systems will either contain a boot-loader of their own (in the case of Windows and *BSD) or can be booted directly with GRUB.
  76.141 +
  76.142 +===== Installing SliTaz on an USB Device =====
  76.143 +
  76.144 +If you want to install SliTaz on an USB device, you must give a little "rootdelay" to allow time for the Linux kernel to detect it.
  76.145 +
  76.146 +To include this option, edit your menu.lst to include the argument
  76.147 +:
  76.148 +<file>
  76.149 +title  SliTaz GNU/Linux 3.0 (Kernel 2.6.34-slitaz)
  76.150 +       root(hd0,0)
  76.151 +       kernel /boot/vmlinuz-2.6.34-slitaz root=/dev/sda1 vga=normal rootdelay=10
  76.152 +</file>
    77.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    77.2 +++ b/pages/en/handbook/internet.txt	Sat Feb 26 12:17:18 2011 +0000
    77.3 @@ -0,0 +1,77 @@
    77.4 +====== Internet ======
    77.5 +
    77.6 +===== Midori - Lightweight web browser =====
    77.7 +
    77.8 +Midori is a lightweight web browser with very fast page rendering through the rendering engine Webkit. This is a serious alternative to Firefox for systems with low resources or those seeking a fast and sleek alternative. It supports most web standards, CSS stylesheets and images. Midori is configurable via a small interface and is located in the 'Internet' menu once installed.
    77.9 +
   77.10 +===== Mozilla Firefox - Web Browser =====
   77.11 +
   77.12 +SliTaz is proud to provide Mozilla Firefox, one of the world's best web browsers. It is secure, fast, standards compliant and customizable via a system of plugins. To install:
   77.13 +
   77.14 +<code> # tazpkg get-install firefox </code>
   77.15 +
   77.16 +The web browser configuration files are stored in the hidden (dot) directory ~/.mozilla/firefox.
   77.17 +
   77.18 +<note tip>When you combine the LiveCD with USB media, you can keep your bookmarks and plugins wherever you go.</note>
   77.19 +
   77.20 +===== Retawq - Text mode web browser =====
   77.21 +
   77.22 +Retawq is an interactive web brower that can be run from the console or a graphical terminal. To install:
   77.23 +
   77.24 +<code> # tazpkg get-install retawq </code>
   77.25 +
   77.26 +To start retawq, just type (with or without the url): 
   77.27 +
   77.28 +<code> $ retawq http://www.slitaz.org/en </code>
   77.29 +
   77.30 +The configuration files are found in //~/.retawq//, you can edit them with a text editor. Pressing <b> will display the bookmarks (bookmarks.html) and the <h> key will display the home page.
   77.31 +
   77.32 +===== Links - Graphical & Text browser =====
   77.33 +
   77.34 +Links was the first graphical web browser on the SliTaz LiveCD, it has since been replaced by Firefox, but Links is always available as a package:
   77.35 +
   77.36 +<code> # tazpkg get-install links </code>
   77.37 +
   77.38 +Links offers a graphical and a text mode. To use the graphical mode, we can use the option //-g//:
   77.39 +
   77.40 +<code>
   77.41 + $ links -g &
   77.42 + $ links -g http://www.slitaz.org/en &
   77.43 + $ links
   77.44 +</code>
   77.45 +
   77.46 +The configuration files are stored in ~/.links, though it's not advisable to modify them. However, Links provides a configuration interface via the toolbar at the top, where you can configure the languages, bookmarks, etc. When you change options, you must save them via the //menu bar --> Configuration --> Save options//.
   77.47 +
   77.48 +===== LostIRC - IRC chat client =====
   77.49 +
   77.50 +LostIRC is a simple, yet useful IRC client that supports multiple servers and automatic joining of servers/channels. The configuration files are located in ~/.lostirc. Simply select from the menu --> Internet --> LostIRC. The documentation on the website contains a lot of useful information.
   77.51 +
   77.52 +<code> SliTaz channel: irc.toile-libre.org / #slitaz </code>
   77.53 +
   77.54 +===== Ghost In The Mail - Email client =====
   77.55 +
   77.56 +To send messages quickly without having to set up an email account, you can use Ghost In The Mail (gitmail). The minimal mail client offers a simple GTK interface and supports attachments. It allows you to send mail using SMTP with your existing mail account. To install gitmail:
   77.57 +
   77.58 +<code> # tazpkg get-install gitmail </code>
   77.59 +
   77.60 +===== Sylpheed - Mail Client =====
   77.61 +
   77.62 +If you'd rather have a fully featured email client - you can download Sylpheed. Simple, reliable and easy to use, it offers powerful search and filters, and junk mail control.
   77.63 +
   77.64 +<code> # tazpkg get-install sylpheed </code>
   77.65 +
   77.66 +===== Transmission - Lightweight BitTorrent client =====
   77.67 +
   77.68 +Transmission is a GTK+ BitTorrent client that is fast, light and easy to use. It offers a 'Preferences' option which allows you to limit the rate of uploads/downloads, specify port, download folders, etc. You will find Transmission via the //menu --> Internet --> Transmission//. Project website: http://transmission.m0k.org/
   77.69 +
   77.70 +===== gFTP - FTP client =====
   77.71 +
   77.72 +The gFTP application is a fast, ergonomic client for FTP transfers. It can resume interrupted transfers, manage bookmarks (favorites) and FTP or HTTP proxies. In addition gFTP supports the use of drag and drop, can make several transfers at the same time, compares windows, remembers passwords and can even define external applications for viewing or editing files. To install gFTP:
   77.73 +
   77.74 +<code> # tazpkg get-install gftp </code>
   77.75 +
   77.76 +===== Gtk-gnutella - P2P client =====
   77.77 +
   77.78 +Gtk-gnutella is a P2P file sharing application that uses the Gnutella network. Written in C, it requires a lot less resources than other clients. It supports the use of searches and filters, features for downloading large files and bandwidth control. To install gtk-gnutella:
   77.79 +
   77.80 +<code> # tazpkg get-install gtk-gnutella </code>
    78.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    78.2 +++ b/pages/en/handbook/livecd.txt	Sat Feb 26 12:17:18 2011 +0000
    78.3 @@ -0,0 +1,126 @@
    78.4 +====== Using the LiveCD ======
    78.5 +
    78.6 +SliTaz can be used straight from a CD-ROM or USB memory stick, without being installed to a hard drive. There are a number of ways to use the Live media, with options to customise how it starts.
    78.7 +
    78.8 +SliTaz runs entirely in memory (RAM), independently of the installed host system. It will not damage your other operating system(s) in any way, so you are perfectly safe to try out SliTaz.
    78.9 +
   78.10 +===== Quick Start =====
   78.11 +
   78.12 +To start using SliTaz from a CD-ROM, just burn the ISO image onto a blank disc and reboot your computer, leaving the disc in your CD-ROM drive. SliTaz will load automatically, detecting your hardware configuration to start.
   78.13 +
   78.14 +== If SliTaz LiveCD Does Not Start ==
   78.15 +
   78.16 +In most cases, your computer is already configured to boot from the CD-ROM. If the SliTaz splash screen does not appear, you can change the boot order via the BIOS set-up interface. This is different with each computer but can often be done by pressing a key such as the F11, F12, Esc button directly after turning on, before your operating system starts. You can then change the boot sequence and settings so that the CD-ROM comes first. Finally, save your changes before leaving the BIOS configuration interface.
   78.17 +
   78.18 +When the SliTaz Live media starts, the splash image will be presented. This is the //isolinux// boot-loader, which affects options to start SliTaz. You can just press ENTER to use the default settings, or enter options.
   78.19 +
   78.20 +<note tip>Pressing F1 through F4 at the boot-splash will display help and information.</note>
   78.21 +
   78.22 +When the loading process has finished, you can log-in to the desktop as the //tux// user, without any password. To use the administrator account, or **root**, you can start a Terminal and type the command //su//. The default password is **root**.
   78.23 +
   78.24 +===== Boot Options =====
   78.25 +
   78.26 +The SliTaz LiveCD accepts various boot options at the prompt. There are two types of options: options handled by SliTaz software and those generally handled by the Linux kernel.
   78.27 +
   78.28 +The options for SliTaz are used by various start-up scripts; the parameters such as the VGA mode are managed directly by the Kernel (kernel boot parameters). To pass options at start-up, just precede your commands with //slitaz// when the splash screen and **boot:** prompt is displayed. For example,
   78.29 +<code> slitaz vga=791 no387</code>
   78.30 +
   78.31 +<note tip>The Linux kernel keeps options that were passed. These can be seen in the text file ///proc/cmdline//. You can view this information by running the command: 
   78.32 +  *  cat /proc/cmdline
   78.33 +</note>
   78.34 +
   78.35 +=== Parameters of the Linux Kernel ===
   78.36 +
   78.37 +On GNU/Linux systems, parameters specific to the Kernel vary greatly depending on the configuration used during the build. The SliTaz-built kernel has few core modules, compensated by loading others on-demand. This means few modifiable parameters are available at start-up. However, you can disable the emulation of a math coprocessor via 
   78.38 +
   78.39 +  * **no387**
   78.40 +    *  Disables the emulation of a math co-processor.
   78.41 +
   78.42 +  * **irqpoll**
   78.43 +    *  Turn on in case of problems with interrupts, shown by problems with the CD-ROM.
   78.44 +
   78.45 +  * **vga=**//XXX//
   78.46 +    *  Specifies the kernel graphics mode. The SliTaz kernel displays the Tux penguin logo and manages the display of the Linux terminal by providing a basic video output mode, called the VGA/VESA frame-buffer. The following table lists the codes used; select a resolution and colour combination:
   78.47 +
   78.48 +^ ⇩ //Colours// ^ //640x480// ^ //800x600// ^ //1024x768// ^ //1280x1024// ^ //1600x1200// ^
   78.49 +^ //256//    |   769   |   771   |    773   |    775    |    796    |
   78.50 +^ //32768//  |   784   |   787   |    790   |    793    |    797    |
   78.51 +^ //65536//  |   785   |   788   |    791   |    794    |    798    |
   78.52 +^ //16,8M//  |   786   |   789   |    792   |    795    |    799    |
   78.53 +
   78.54 +<note tip>Once the system has started you have access to six pseudo-terminals via the key combinations Ctrl+Alt+F1 through Ctrl+Alt+F6. The key combination Ctrl+Alt+F7 and upwards are reserved for graphical output.</note>
   78.55 +
   78.56 +=== Slitaz Parameters ===
   78.57 +  * **home=usb**
   78.58 +    * Specifies a /home directory to use within the Live environment. This will include your bookmarks, downloads and desktop customisations. To store your data permanently, you need USB media with a partition formatted in ext3; see the [[en:handbook:liveusb|Live USB]] page for more information. In most cases **home=usb** can be used for //sdb1//, or **home=**//devname// where the equivilent /dev node can be specified. Note that you can also specify the device using the partition UUID or label by using ** home=* **. Example:
   78.59 +<code>slitaz home=sdb1 </code>
   78.60 +
   78.61 +    * **Prepare USB media**
   78.62 +
   78.63 +All USB media can formatted in the native Linux ext3 filesystem. Ext3 is a journaled, stable filesystem, it allows you to keep permissions on all files and is much more secure than the default Windows FAT32 filesystem. To format USB media you have a few options: the command line with mkfs.ext3, the tazusb utility or graphically with Gparted. To get a full list of available partitions including the USB drive you can use the command fdisk -l and then format. Example:
   78.64 +<code>
   78.65 + fdisk -l
   78.66 + tazusb format /dev/sda1
   78.67 +</code>
   78.68 +
   78.69 +
   78.70 +  * **lang=**//XX//
   78.71 +  * **kmap=**//XX//
   78.72 +    * Sets the system language & keyboard mapping. Each are codes such as //en//, //de// or //fr_CH//. Alternatively, set your country code and press ENTER to sets the locale and refreshes the boot-loader; other options can then be entered as normal. To skip the language and keyboard configuration you can simply type options on the command line, for English/UK:
   78.73 +<code> slitaz lang=en kmap=en </code>
   78.74 +
   78.75 +  * **config=**//<device>//**,**//<path>//
   78.76 +    * Executes a script at SliTaz boot time. The script can be located on external media or a HD partition, specified with the //device// & //path// variables. For example, the script can mount an ISO image on /usr to save memory and boot the LiveCD on computers with only 32 Mb of RAM. An example with a script named slitaz.sh located on the first disk and partition: 
   78.77 +    <code>slitaz config=/dev/hda1,slitaz.sh </code>
   78.78 +
   78.79 +  * **screen=**//<height>//**x**//<width>//**x**//<colours>//
   78.80 +    *   Specifies the desktop screen resolution. These follow the standard pattern, e.g. //1024x768x24//
   78.81 +<code> slitaz screen=1024x768x24 </code>
   78.82 +
   78.83 +<note tip>The **screen=text** option disables the graphical desktop & Slim login manager.</note> 
   78.84 +
   78.85 +  * **sound=no**
   78.86 +    *  Disables sound completely. This loads no sound-related kernel modules.
   78.87 + <code>slitaz sound=no </code>
   78.88 +
   78.89 +  * **sound=noconf**
   78.90 +    *  Skips automatic configuration of your sound card; you must configure it manually later.
   78.91 +
   78.92 +  * **modprobe=**//modules//
   78.93 +    *  Loads specific kernel modules. Many can be loaded by separating with commas.
   78.94 + <code>slitaz modprobe=module1,module2 </code>
   78.95 +
   78.96 +  * **laptop**
   78.97 +    * Loads ac and battery Kernel modules - useful for laptop computers.
   78.98 +
   78.99 +  * **previous**
  78.100 +    *  Used by the TazUSB utility to roll-back to a previous filesystem.
  78.101 +<code> slitaz previous</code>
  78.102 +
  78.103 +===== The Desktop =====
  78.104 +
  78.105 +When the system has finished its initialization, the screen is cleared and the login prompt (Slim) is displayed. You can choose here to login as the regular //tux// account (without a password) or as the admisitrative //root// account (with the **root** password).
  78.106 +
  78.107 +The desktop is powered by //Openbox//. You can start applications from the menu at the lower-left of the screen. Applications are classified by category and are available in English. Menu, theme and wallpaper can all easily be changed to your needs/preferences, and personal settings and data can be stored on various USB media (Flash key, SD card, etc). 
  78.108 +
  78.109 +===== Text Mode =====
  78.110 +
  78.111 +<note important>If you are new to SliTaz or Linux in general, a graphical desktop is highly recommended.</note>
  78.112 +
  78.113 +The above information applies also to the text-mode log-in prompt. Once logged in, you can use the many text-mode applications available in SliTaz, such as the basic BusyBox operation, the GNU text editor //Nano//, or the //Clex// file manager. Just type the name of the application you wish to start. There is a [[en:handbook:commands|Command Line Reference]] page to get you started.
  78.114 +
  78.115 +<note tip>To launch a graphical desktop session from the text-mode prompt (if you have passed the screen=text option, or if Slim is not configured to run at startup, for example) just type **startx**.</note>
  78.116 +
  78.117 +
  78.118 +---- 
  78.119 +\\
  78.120 +^  Page Review Section  ^^ 
  78.121 +|Quality| Good  |
  78.122 +|Review| Minor Updates  |
  78.123 +|Priority| Medium |
  78.124 +|Problems| add a [[http://forum.slitaz.org|forum post link]] 
  78.125 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  78.126 +|How to Improve| ? |
  78.127 +
  78.128 +\\
  78.129 +----
  78.130 \ No newline at end of file
    79.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    79.2 +++ b/pages/en/handbook/liveusb.txt	Sat Feb 26 12:17:18 2011 +0000
    79.3 @@ -0,0 +1,36 @@
    79.4 +====== LiveUSB media ======
    79.5 +===== Tazusb - Live USB Tool =====
    79.6 +
    79.7 +Tazusb is a tool that can create bootable usb media with a few simple commands. It can also compress and backup the entire current filesystem to the media, thus preserving all modifications for future use. Type //tazusb usage// for a full list of commands or read the [[http://hg.slitaz.org/tazusb/raw-file/tip/doc/tazusb.en.html|TazUSB manual]].
    79.8 +
    79.9 +=== Generate your own LiveUSB media ===
   79.10 +
   79.11 +To generate your own LiveUSB media, first you need to login as //root// with //su// and locate your usb storage device using the command:
   79.12 +
   79.13 +<code># fdisk -l     # normally /dev/sdb1 </code>
   79.14 +
   79.15 +Then format and label your device (Warning: this will erase all data, make sure you specify the right device):
   79.16 +
   79.17 +<code> # tazusb format /dev/sdb1 </code> 
   79.18 +
   79.19 +And finally generate your LiveUSB media device:
   79.20 +
   79.21 +<code> # tazusb gen-liveusb /dev/sdb1 </code>
   79.22 +
   79.23 +And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method).
   79.24 +
   79.25 +=== Maintaining system settings ===
   79.26 +
   79.27 +When you finish your LiveUSB session, make sure you maintain your installed packages, system settings, etc, by backing up the entire current filesystem with one the following commands:
   79.28 +
   79.29 +    * fast compression, average filesize: <code> # tazusb writefs gzip </code>
   79.30 +    * slow compression, smaller filesize: <code> # tazusb writefs lzma </code>
   79.31 +    * no compression, larger filesize: <code> # tazusb writefs none </code>
   79.32 +
   79.33 +Each of these writes everything to a '//rootfs.gz//' archive to be loaded the next time you boot.
   79.34 +
   79.35 +If anything should go wrong when writing your filesystem, you can simply rollback to your previous filesystem by typing '//previous//' at the '//boot://' prompt. Older backups are named '//rootfs.gz.unixtimestamp//' and can be safely deleted from the ///home// folder to save disk space using //tazusb clean//.
   79.36 +
   79.37 +=== Tazusb Manual ===
   79.38 +
   79.39 +The official Tazusb manual can be found in the SliTaz [[http://hg.slitaz.org/tazusb/raw-file/tip/doc/tazusb.en.html|Web site documentation]]; this contains a lot more useful information. The manual is also available through the documentation menu on the LiveCD.
   79.40 \ No newline at end of file
    80.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    80.2 +++ b/pages/en/handbook/multimedia.txt	Sat Feb 26 12:17:18 2011 +0000
    80.3 @@ -0,0 +1,102 @@
    80.4 +====== Multimedia ======
    80.5 +
    80.6 +===== SliTaz sound and video =====
    80.7 +
    80.8 +SliTaz LiveCD mode provides sound support, but no video player, however you can watch YouTube by installing the get-flash-plugin package. To watch videos you can use Xine, it supports most formats such as avi, mov, mpeg, etc. Note Xine can also act as an audio player. At the sound level, you have a mixer (alsamixer) and audio player (alsaplayer), both installed by default on the standard LiveCD. SliTaz also provides tools to configure your sound card.
    80.9 +
   80.10 +===== Configure the sound card =====
   80.11 +
   80.12 +In LiveCD mode SliTaz automatically configures the sound card by launching a dialog. In most cases the sound card is instantly recognized and you just press ENTER to continue to login and have your sound working. However, sometimes your card is not recognized at startup or simply not supported. Before throwing in the towel, you can try to manually configure your card by asking for help on the mailing list or on the hardware support forum.
   80.13 +
   80.14 +=== Soundconf ===
   80.15 +
   80.16 +To configure or reconfigure a sound card, SliTaz provides a script (soundconf), this utility is used at startup and doesn't pose any questions, supports the right modules and automatically configures ///etc/rsS.conf// so that the right driver is loaded on each start. Soundconf will also automatically adjust volume levels, you can change the settings later through the mixer and alsactl. To start the sound configuration interface, you must have administrator priviledges and type:
   80.17 +
   80.18 +<code> # soundconf </code>
   80.19 +
   80.20 +=== Alsactl ===
   80.21 +
   80.22 +Alsactl controls alsa and can store settings or restore sound for example, to retain preferences for each start. When configuring sound with soundconf, volumes are automatically adjusted. You can use alsamixer as root to change the values and then launch alsactl to store the configuration:
   80.23 +
   80.24 +<code> # alsactl store </code>
   80.25 +
   80.26 +To restore the configuration you can use the alsactl restore command or to restore your preferences at each system startup you can edit /etc/init.d/local.sh with your favorite text editor or simply 'echo' the changes:
   80.27 +
   80.28 +<code> # echo 'alsactl restore' > /etc/init.d/local.sh </code>
   80.29 +
   80.30 +===== Alsamixer =====
   80.31 +
   80.32 +Alsamixer is the official mixer of the Alsa project. It is simple and effective and can be run from the menu or directly from a terminal. The volumes can be regulated with the up/down arrows or muted using the m key. To start from a Linux terminal:
   80.33 +
   80.34 +<code> $ alsamixer </code>
   80.35 +
   80.36 +===== Alsaplayer =====
   80.37 +
   80.38 +The audio player Alsaplayer is designed to be simple, clean and intuitive. Alsaplayer on SliTaz provides support for ogg, mp3 (via libmad) and wav files, playlists and viewers to accompany sound and the ability to adjust pitch and volume. Once launched from the menu, just click the play button or load a playlist to start.
   80.39 +
   80.40 +===== Asunder - Audio CD Ripper =====
   80.41 +
   80.42 +Asunder retrieves and encodes audio tracks from a CD. The toolkit is simple and easy to use, encoding songs into wav, ogg or mp3 (via lame package). It can search CDDB, create playlists and edit file names. You will find Asunder in the Multimedia category on the menu.
   80.43 +
   80.44 +===== mhWaveEdit - Audio editor and recorder =====
   80.45 +
   80.46 +mhWaveEdit is a graphical application for playing, recording and editing sound files. Supported formats: wav (default), and a few others. A variety of other formats can also be imported through Mplayer. To start from
   80.47 +the menu, select //Multimedia -> mhWaveEdit//.
   80.48 +
   80.49 +===== MPD - Music Player Daemon =====
   80.50 +
   80.51 +MPD is a great little music player that uses the server/client architecture, this means it can be even run remotely without a X server operating. To install MPD on SliTaz: <code> # tazpkg get-install mpd</code> MPD on SliTaz drops root priviledges, so to start the server, just run:
   80.52 +
   80.53 +<code> $ mpd </code>
   80.54 +
   80.55 +And to stop it:
   80.56 +
   80.57 +<code> $ mpd --kill </code>
   80.58 +
   80.59 +Simply drag your music files into the ~/music folder (or create a link) and then run mpd --create-db as root to update the database and you're ready to use one of the many clients. The mpd --version command lets you have a full list of available formats and outputs.
   80.60 +
   80.61 +===== MPC - Music Player Client =====
   80.62 +
   80.63 +MPC is a popular client for MPD, to load all the files into MPC from the MPD database and start to play them, simply install and run:
   80.64 +
   80.65 +<code> # tazpkg get-install mpc
   80.66 + $ mpc add /
   80.67 + $ mpc play </code>
   80.68 +
   80.69 +The command <nowiki> mpc --help </nowiki> gives you a full list of all the available options that allow you to edit the playlist, enable crossfade, adjust the volume and shuffle tracks, etc.
   80.70 +
   80.71 +===== Mpg123 =====
   80.72 +
   80.73 +Mpg123 is a command line audio player and file converter, this means that you can listen to music or convert files from a terminal. To install:
   80.74 +
   80.75 +<code># tazpkg get-install mpg123</code>
   80.76 +
   80.77 +To display help, use the --help option. To play a mp3 file, just launch mpg123 followed by the name of the audio file:
   80.78 +
   80.79 +<code> $ mpg123 sound.mp3 </code>
   80.80 +
   80.81 +Mpg123 can also encode a file into another format, for example you can convert a //wav// file into a mp3 file. Example:
   80.82 +
   80.83 +<code> $ mpg123 -w sound.mp3 sound.wav </code>
   80.84 +
   80.85 +===== Mplayer =====
   80.86 +
   80.87 +Mplayer is a popular movie player for Linux suppporting many formats including, DVD, VCD, mpeg, wmv, realvideo, etc. It can also play various audio codecs such as aac, wma, realaudio, as well as ogg, flac, etc. Mplayer is configurable via a right click menu and customizable using various skins and GUIs that easily enable you to configure your own video drivers, output devices and so on. To install mplayer:
   80.88 +
   80.89 +<code># tazpkg get-install mplayer-svn</code>
   80.90 +
   80.91 +===== Xine =====
   80.92 +
   80.93 +Xine is a multimedia project providing various video viewers and audio players. SliTaz provides libraries and a media player contained in the package xine-ui. Xine uses a Xlib interface, a control panel, a right click configuration menu and various plugins. It can play ogg, mp3 and flac audio codecs, and mov, avi or mpg video formats. To install xine and its dependencies:
   80.94 +
   80.95 +<code> # tazpkg get-install xine-ui </code>
   80.96 +
   80.97 +Official Xine [[http://xinehq.de/index.php/home|website]] 
   80.98 +
   80.99 +===== VLC =====
  80.100 +
  80.101 +VLC media player is a highly portable multimedia player and multimedia framework  capable of reading most audio and video formats (MPEG-2, MPEG-4, H.264, DivX, MPEG-1, mp3, ogg, aac ...) as well as DVDs, Audio CDs VCDs, and various streaming protocols. To install vlc:
  80.102 +
  80.103 +<code> # tazpkg get-install vlc </code>
  80.104 +
  80.105 +Official VLC [[http://www.videolan.org/vlc/|website]] 
  80.106 \ No newline at end of file
    81.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    81.2 +++ b/pages/en/handbook/netstart.txt	Sat Feb 26 12:17:18 2011 +0000
    81.3 @@ -0,0 +1,57 @@
    81.4 +====== Web start and possible immediate installation ======
    81.5 +
    81.6 +===== Special figure in Slitaz ! =====
    81.7 +
    81.8 +Slitaz is one of the extremely rare OS's available fully prepared for the web start in live mode using a very small starting program. The starting program can be saved on a old floppy disk or very little special ISO burned on a CD-ROM.
    81.9 +
   81.10 +But each starting ISO of Slitaz with the live version of "base", "justX" or "stable" or "cooking" contains also this start program being used through the commando line options at starting time of the ISO.
   81.11 +
   81.12 +The special advantage of this kind of start is to work with the most actual cooking version and not with the version of the CD.
   81.13 +
   81.14 +The same technical ability can of course be used within a closed community.
   81.15 +
   81.16 +==== Where can I find the starting image for a starting floppy disk? ====
   81.17 +
   81.18 +http://mirror.slitaz.org/boot/floppy-grub4dos
   81.19 +
   81.20 +Please read more here:
   81.21 +
   81.22 +http://boot.slitaz.org/
   81.23 +
   81.24 +==== Where can I find the small ISO for a small starting CD rom? ====
   81.25 +
   81.26 +You can use the little flavor version
   81.27 + 
   81.28 +http://mirror.slitaz.org/iso/2.0/flavors/slitaz-2.0-base.iso
   81.29 +
   81.30 +for that.
   81.31 +
   81.32 +Only enter please "web" as commando line option!
   81.33 +
   81.34 +==== Starting from the net ====
   81.35 +
   81.36 +The start from net don't differ from usual start from the CD.
   81.37 +
   81.38 +Only enter "web" as commando line option. The starting program don't follow the CD any more but search the more actual file on the web.
   81.39 +
   81.40 +==== Install Slitaz on the hard disk after the net start ====
   81.41 +
   81.42 +Of course here is an important difference compared with the usual start:
   81.43 +
   81.44 +There is no CD in the drive where the installation program can find the row files.
   81.45 +
   81.46 +.... 
   81.47 +
   81.48 +==== Regular net start in my community net (school etc.) ====
   81.49 +
   81.50 +=== Install the adequate Slitaz version on the own server ===
   81.51 +
   81.52 +....
   81.53 +
   81.54 +=== Limit access if required ===
   81.55 +
   81.56 +....
   81.57 +
   81.58 +=== Prepare an adequate ISO for a own starting check card mini CD ===
   81.59 +
   81.60 +....
    82.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    82.2 +++ b/pages/en/handbook/networkconf.txt	Sat Feb 26 12:17:18 2011 +0000
    82.3 @@ -0,0 +1,243 @@
    82.4 +====== Network Configuration ======
    82.5 +
    82.6 +===== About the Network =====
    82.7 +
    82.8 +By default SliTaz starts a DHCP client (udhcpc) on eth0 at boot time. If your network card has been identified as an eth0 interface and you use a router, your connection should already be working. DHCP is dynamically configured, on each boot the client asks for a new IP address from the DHCP server which is integrated into the router, or on another computer. If you need a static IP, you can directly edit config files or use the GUI //netbox// available from the //System menu --> System// tools. In a terminal or a Linux console, you can list all available network interfaces with the command //ifconfig// followed by the //-a// option:
    82.9 +
   82.10 +<code> $ ifconfig -a </code>
   82.11 +
   82.12 +To display the Kernel's IP routing table, you can use the route command without any arguments:
   82.13 +
   82.14 +<code> $ route </code>
   82.15 +
   82.16 +The system wide network configuration file is ///etc/network.conf//. It can be graphically configured with netbox or directly edited by the root administrator.
   82.17 +
   82.18 +===== Netbox - Configure the network =====
   82.19 +
   82.20 +Netbox is a small GTK+ application to configure a network interface using DCHP or a fixed (static) IP address. The tabs can be used to start/stop the connections and automatically change the values in the system files. Netbox provides a system wide tab from which you can directly edit network configuration files, and tabs to configure PPP/PPPoE username/passwords. Servers such as SSH, DHCP, PXE, DNS, etc can also be configured and it's possible to create your own virtual private network (VPN) using the tools provided. 
   82.21 +
   82.22 +{{:en:handbook:image:netbox.png}}
   82.23 +
   82.24 +You can start netbox from the System tools menu or via a terminal:
   82.25 +
   82.26 +<code> $ subox netbox </code>
   82.27 +
   82.28 +===== Wifibox - Graphical configuration of the wireless network =====
   82.29 +
   82.30 +Wifibox is small interface to configure a network connection (Wifi, WLAN, or Wireless). The 'Networks' tab displays a list of available networks, just double click on a network name to connect. If the network is secure, the key will then be sought. 
   82.31 +
   82.32 +{{:en:handbook:image:wifibox.png}}
   82.33 +
   82.34 +The 'Favorites' tab allows you to set your preferred networks. Once a network is added, just double click on the network name to connect. The 'Configuration' tab lets you configure a connection manually using the advanced settings such as the mode or channel. The 'Drivers' tab allows you to configure a network card; there are 3 options:
   82.35 +
   82.36 +  -   The card is supported directly by the kernel via a module.
   82.37 +  -   The card needs a module and non-free firmware that can be installed automatically via the auto-detect tool (tazhw).
   82.38 +  -   The card is not supported by Linux and a Windows driver must be installed via the Windows driver manager (tazndis).
   82.39 +
   82.40 +===== /etc/hostname - The hostname =====
   82.41 +
   82.42 +The file ///etc/hostname// sets the machine name. This is loaded at system startup with the command 'hostname', without an argument this command returns the current machine name:
   82.43 +
   82.44 +<code> $ hostame </code>
   82.45 +
   82.46 +To change the hostname, you can use the echo command or a text editor available on SliTaz (you must be root). Example using echo and the machine name kayam:
   82.47 +
   82.48 +<code> # echo "kayam" > /etc/hostname </code>
   82.49 +
   82.50 +===== /etc/network.conf =====
   82.51 +
   82.52 +///etc/network.conf// is the SliTaz system network configuration file. It's syntax is simple and you can edit its contents with a text editor such as Nano. ///etc/network.conf// is used by the script ///etc/init.d/network.sh// to configure the network interface at boot time.
   82.53 +
   82.54 +===== Dynamic IP - DHCP client udhcpc =====
   82.55 +
   82.56 +The DHCP client udhcpc supplied with Busybox uses the ///usr/share/udhcpc/default.script// to get an IP address dynamically at boot. It supports various options which you can view with the <nowiki>--help</nowiki> option:
   82.57 +
   82.58 +<code> # udhcpc --help </code>
   82.59 +
   82.60 +To disable udhcpc on eth0 or modify the interface (eg eth1), you must edit the ///etc/network.conf// file and place the value "no" in the variable DHCP=:
   82.61 +
   82.62 +<file>
   82.63 +# Dynamic IP address.
   82.64 +# Enable/disable DHCP client at boot time.
   82.65 +DHCP="no"
   82.66 +</file>
   82.67 +
   82.68 +===== Static IP - Using a specific address =====
   82.69 +
   82.70 +You can specify a fixed IP address to configure at boot time by using the value "yes" in the variable STATIC=:
   82.71 +
   82.72 +<file>
   82.73 +# Static IP address.
   82.74 +# Enable/disable static IP at boot time.
   82.75 +STATIC="yes"
   82.76 +</file>
   82.77 +
   82.78 +For the configuration to work, you must specify an IP address, its subnet mask, a default gateway (gateway) and DNS server to use. Example:
   82.79 +
   82.80 +
   82.81 +<file>
   82.82 +# Set IP address, and netmask for a static IP.
   82.83 +IP="192.168.0.6"
   82.84 +NETMASK="255.255.255.0"
   82.85 +
   82.86 +# Set route gateway for a static IP.
   82.87 +GATEWAY="192.168.0.1"
   82.88 +
   82.89 +# Set DNS server. for a static IP.
   82.90 +DNS_SERVER="192.168.0.1"
   82.91 +
   82.92 +</file>
   82.93 +
   82.94 +===== PPPoE connection kernel-mode =====
   82.95 +
   82.96 +PPPoE connection in kernel-mode needs 2 files. The first file is ///etc/ppp/options// where you must specify your login name:
   82.97 +
   82.98 +<file>
   82.99 +plugin rp-pppoe.so
  82.100 +name <your provider connection ID>
  82.101 +noipdefault
  82.102 +defaultroute
  82.103 +mtu 1492
  82.104 +mru 1492
  82.105 +lock
  82.106 +</file>
  82.107 +
  82.108 +Now you have to configure ///etc/ppp/pap-secrets// or ///etc/ppp/chap-secrets//:
  82.109 +
  82.110 +
  82.111 +<file>
  82.112 +# client	       server	       secret			IP addresses
  82.113 +"your_login"       *               "your_password"
  82.114 +</file>
  82.115 +
  82.116 +The config file /etc/resolv.conf will be automatically loaded. Finished, you can now connect to the internet with pppd:
  82.117 +
  82.118 +<code> # pppd eth0 
  82.119 +</code>
  82.120 +
  82.121 +On an installed system you can start pppd on each boot using the local startup script: ///etc/init.d/local.sh//
  82.122 +
  82.123 +===== Enable Dial-up Modem - PPPoE with rp-pppoe =====
  82.124 +
  82.125 +To set an ASDL protocol via PPPoE, SliTaz provides the utilities package //rp-pppoe//. Using pppoe-setup is a snap and you can quickly configure the network. If you use DCHP it's even easier, because the server from your ISP will take care of everything. If you do not have DHCP, you must first disable its use via DHCP="no" in the configuration file ///etc/network.conf//. It should be noted that to modify configuration files and system logs you must first become root. To install and change the variable DHCP with Nano (ctrl + X to save & exit):
  82.126 +
  82.127 +
  82.128 +<code>
  82.129 + $ su
  82.130 + # tazpkg get-install rp-pppoe
  82.131 + # nano /etc/network.conf
  82.132 +</code>
  82.133 +
  82.134 +=== Configure with pppoe-setup ===
  82.135 +
  82.136 +To begin to configure your PPPoE connection, you must first open an Xterm or Linux console and launch pppoe-setup and then begin to answer the following questions:
  82.137 +
  82.138 +
  82.139 +<code>  # pppoe-setup 
  82.140 +</code>
  82.141 +
  82.142 +    -  Enter your username, please note that this is the username with which you communicate with your ISP.
  82.143 +    - Internet interface, default is eth0 unless you have more than one, in which case you will have eth1, eth2, etc. Usually the Enter key is sufficient.
  82.144 +    - If you have a permanent ASDL link answer yes, otherwise answer no (default).
  82.145 +    - Specify the primary and secondary DNS your ISP uses (you may have to ask).
  82.146 +    - Enter the password with which you communicate with your ISP (you need to enter it twice).
  82.147 +    - Choose the firewall settings depending on your hardware. If you have a router you can enter 1 or 2. If in doubt enter 1.
  82.148 +
  82.149 +=== Start and Stop the connection ===
  82.150 +
  82.151 +Still using the command line, simply type pppoe-start to start the connection. A few seconds later the system tells you that it is connected. If it gives you a message like TIMED OUT, you may have poorly configured or the connection is defective. Please check the wiring and repeat the installation from the beginning. To start the connection:
  82.152 +
  82.153 +<code> # pppoe-start
  82.154 +</code>
  82.155 +
  82.156 +To stop the connection, you can type:
  82.157 +<code> # pppoe-stop 
  82.158 +</code>
  82.159 +
  82.160 +===== Install network card driver =====
  82.161 +
  82.162 +In case you need a network card driver and don't know the driver name, you can use the command lspci to find your card and then modprobe to load a module. In Live mode you can use the SliTaz boot option modprobe=modules to automatically load Kernel modules. To get a list of all available network card drivers, display PCI eth cards and load a module:
  82.163 +
  82.164 +
  82.165 +<code>
  82.166 + # modprobe -l | grep drivers/net
  82.167 + # lspci | grep [Ee]th
  82.168 + # modprobe -v module_name
  82.169 +</code>
  82.170 +
  82.171 +On an installed system you just need to add the module_name to the variable LOAD_MODULES in ///etc/rcS.conf// to load your module on each boot.
  82.172 +
  82.173 +===== Manage the Firewall (firewall) using Iptables =====
  82.174 +
  82.175 +SliTaz provides a very basic firewall, the kernel security rules are launched at boot time and iptables rules are disabled by default. You can activate/disable these at startup by using the configuration file ///etc/firewall.conf//.
  82.176 +
  82.177 +The default firewall script begins with its own set options for the Kernel ie. ICMP redirects, source routing, logs for unresolved addresses and spoof filters. The script then launches the rules defined in the //iptables_rules()// function of the configuration file: ///etc/firewall.conf//.
  82.178 +
  82.179 +The firewall uses Iptables, it consists of two files: ///etc/firewall.conf// and ///etc/init.d/firewall//, you shouldn't need to modify these. Note Iptables has lots of options. For more infomation see the official documentation available online: http://www.netfilter.org/documentation/.
  82.180 +
  82.181 +=== Start, stop, restart the firewall ===
  82.182 +
  82.183 +The script ///etc/init.d/firewall// lets you start/restart, stop or display the status of the firewall. The restart option is often used to test new rules after editing the configuration file. Example:
  82.184 +
  82.185 +
  82.186 +<code>
  82.187 + # /etc/init.d/firewall restart
  82.188 +</code>
  82.189 +
  82.190 +=== Enable/Disable the firewall at boot ===
  82.191 +
  82.192 +To enable/disable options specific to the Kernel place "yes" or "no" in the variable KERNEL_SECURITY= :
  82.193 +
  82.194 +<file>
  82.195 +# Enable/disable kernel security at boot time.
  82.196 +KERNEL_SECURITY="yes"
  82.197 +</file>
  82.198 +
  82.199 +And to activate/deactivate the iptables rules, it is necessary to modify the IPTABLES_RULES= variable :
  82.200 +
  82.201 +<file>
  82.202 +# Enable/disable iptables rules.
  82.203 +IPTABLES_RULES="yes"
  82.204 +</file>
  82.205 +
  82.206 +=== Add, delete or modify the iptables rules ===
  82.207 +
  82.208 +At the bottom of the configuration file: ///etc/firewall.conf//, you will find a function named: //iptables_rules()//. This function contains all of the //iptables// commands to launch when the firewall starts. To delete a rule, It is advisable to comment out the corresponding line with a #. It is not advisable to leave the function completely empty, if you want to disable the iptables rules just add //"no"// to the variable //IPTABLES_RULES=// in the configuration file.
  82.209 +
  82.210 +Here's an example of using iptables rules. It only allows connections on the localhost and the local network, and ports 80, 22, and 21 used by the web server HTTP, the SSH secure server and FTP respectively. All other incoming and outgoing connections are refused, so it's fairly restrictive.
  82.211 +
  82.212 +<file>
  82.213 +# Netfilter/iptables rules.
  82.214 +# This shell function is included in /etc/init.d/firewall.sh
  82.215 +# to start iptables rules.
  82.216 +#
  82.217 +iptables_rules()
  82.218 +{
  82.219 +
  82.220 +# Drop all connections.
  82.221 +iptables -P INPUT DROP
  82.222 +iptables -P OUTPUT DROP
  82.223 +
  82.224 +# Accept all on localhost (127.0.0.1).
  82.225 +iptables -A INPUT -i lo -j ACCEPT
  82.226 +iptables -A OUTPUT -o lo -j ACCEPT
  82.227 +
  82.228 +# Accept all on the local network (192.168.0.0/24).
  82.229 +iptables -A INPUT -s 192.168.0.0/24 -j ACCEPT
  82.230 +iptables -A OUTPUT -d 192.168.0.0/24 -j ACCEPT
  82.231 +
  82.232 +# Accept port 80 for the HTTP server.
  82.233 +iptables -A INPUT -i $INTERFACE -p tcp --sport 80 -j ACCEPT
  82.234 +iptables -A OUTPUT -o $INTERFACE -p tcp --dport 80 -j ACCEPT
  82.235 +
  82.236 +# Accept port 22 for SSH.
  82.237 +iptables -A INPUT -i $INTERFACE -p tcp --dport 22 -j ACCEPT
  82.238 +iptables -A OUTPUT -o $INTERFACE -tcp --sport 22 -j ACCEPT
  82.239 +
  82.240 +# Accept port 21 for active FTP connections.
  82.241 +iptables -A INPUT -i $INTERFACE -p tcp --dport 21 -j ACCEPT
  82.242 +iptables -A OUTPUT -i $INTERFACE -p tcp --sport 21 -j ACCEPT
  82.243 +
  82.244 +}
  82.245 +</file>
  82.246 +
    83.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    83.2 +++ b/pages/en/handbook/office.txt	Sat Feb 26 12:17:18 2011 +0000
    83.3 @@ -0,0 +1,49 @@
    83.4 +====== Office ======
    83.5 +
    83.6 +===== Abiword - Word Processor =====
    83.7 +
    83.8 +Abiword is a word processor application rich in features. It contains fast, simple, intuitive lightweight tools and proposes the proper format (.abw), supporting Open Office and Microsoft Word documents, it can also export to PDF or HTML. To install Abiword on SliTaz just run:
    83.9 +
   83.10 +<code> # tazpkg get-install abiword </code>
   83.11 +
   83.12 +===== Osmo - Personal Organizer =====
   83.13 +
   83.14 +Osmo is a small personal organizer providing a timetable and a list of tasks and contacts with the possibility of opening them directly in a web browser via a URL or a mail client using an email address. Osmo also offers a calendar, a date calculator and the ability to take notes classified by day. If you use USB media associated with the LiveCD, it will even retain your data for you. On an installed system, you can syncronize data with USB media by using Grsync. Osmo keeps its data in the hidden folder //~/.osmo//.
   83.15 +
   83.16 +===== SQLite - Tiny SQL Database engine =====
   83.17 +
   83.18 +SQLite is a small relational SQL database engine whose entire database is stored in a single file. It's fast, powerful, speeds applications and implements most of the SQL92 standard. SQLite is ideal for managing small websites, while requiring minimal deployment. The official website for the project is: http://www.sqlite.org/
   83.19 +
   83.20 +===== ePDFView - Lightweight PDF viewer =====
   83.21 +
   83.22 +To view PDF documents, SliTaz uses the epdfview package. This provides a fast, simple, easy to use PDF viewer. ePDFview uses GTK+ and the rendering library poppler, this enables you to view, move from page to page and search or navigate the index.
   83.23 +
   83.24 +===== Gnumeric - Spreadsheet =====
   83.25 +
   83.26 +Gnumeric is free spreadsheet program and has the ability to import/export several file formats such as CSV, Microsoft Exel, Latex, HTML, etc. As well as providing its own format: .gnumeric, it is also one of the most statistically accurate spreadsheets around. To install gnumeric on SliTaz:
   83.27 +
   83.28 +<code> # tazpkg get-install gnumeric </code>
   83.29 +
   83.30 +===== Homebank - Finance management =====
   83.31 +
   83.32 +Homebank is a handy program to manage and compare bank accounts. Lightweight, fast and comprehensive, homebank is a good addition to Abiword and Gnumeric for an office suite that's light and easy to use. Website: [[http://homebank.free.fr/|homebank.free.fr]]. To install homebank, you can use the graphical package manager or the command:
   83.33 +
   83.34 + <code># tazpkg get-install homebank</code>
   83.35 +
   83.36 +===== Notecase - Notes manager =====
   83.37 +
   83.38 +Notecase is software designed to organize and manage notes. It allows you to link pages, import or export notes and format text (bold, italics, etc). Notecase is installed by default in the heart of the system and is located in the //Menu → Office → Notecase notes manager//. 
   83.39 +
   83.40 +===== Wikipedia - Online Encyclopedia =====
   83.41 +
   83.42 +Wikipedia is a free online encyclopedia where you can find information on various subjects. To open the wikipedia, choose //Office -> Wikipedia Encyclopedia//. Main website: http://wikipedia.org
   83.43 +
   83.44 +===== Zoho Viewer - Online document viewer =====
   83.45 +
   83.46 +If you need to quickly edit a document and the right spreadsheet or word processor is not at hand, you can use the document viewer to quickly upload your file (up to 10 MB). And within a couple of seconds it will be available for reading and editing. To open Zoho on the menu, select //Office -> Zoho Document Viewer//.
   83.47 +
   83.48 +It currently supports most popular formats:
   83.49 +
   83.50 +    * Microsoft Word (doc, docx), Excel (xls, xslx), PowerPoint (ppt, pptx)
   83.51 +    * OpenOffice.org Writer (odt, sxw), Spreadsheet (ods sxc), Presentation (opd, sxi)
   83.52 +    * Also pdf (experimental stage), rtf, html, txt, and others
    84.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    84.2 +++ b/pages/en/handbook/packages.txt	Sat Feb 26 12:17:18 2011 +0000
    84.3 @@ -0,0 +1,76 @@
    84.4 +====== Packages ====== 
    84.5 +
    84.6 +===== Tazpkg - Package manager =====
    84.7 +
    84.8 +SliTaz provides a tiny package manager which can easily install more software on the system. Tazpkg is a lightweight package manager for .tazpkg files. Completely written in SHell script, it works well with Busybox ash shell and bash. Tazpkg lets you list, install, remove, download, extract, pack, search, or get information about available or installed packages. You can also repack an installed package and automatically upgrade all installed packages. On SliTaz you can type tazpkg usage in a terminal to get a list of all the commands with a short description in English. 
    84.9 +
   84.10 +=== List of packages ===
   84.11 +
   84.12 +Tazpkg lets you list all installed packages, installed packages by category or it can display the list of available packages on the mirror. To display a single list of all installed packages on the system, just type:
   84.13 +
   84.14 +<code> $ tazpkg list </code>
   84.15 +
   84.16 +To display all categories or packages sorted by category, you must specify cat or category. Examples:
   84.17 +
   84.18 +<code>
   84.19 + $ tazpkg list cat
   84.20 + $ tazpkg list base-system
   84.21 +</code>
   84.22 +
   84.23 +Tazpkg can also generate a xHTML list (default: installed-packages.html) in the local directory of all installed packages on the system:
   84.24 +
   84.25 +<code> $ tazpkg xhtml-list </code>
   84.26 +
   84.27 +To get a single list of all available packages on the mirror you can use the command //list-mirror//. You can then examine the list in your favorite editor or use the Web site interface.
   84.28 +
   84.29 +=== Install packages ===
   84.30 +
   84.31 +To install some new applications such as The Gimp, AbiWord, ePDFView, Perl or Python, you first need to recharge the list of available packages on the mirror and then install. If the package dependencies are not installed, Tazpkg will install them for you. For example, the installation of Gparted a GTK+ partition editor using GNU parted:
   84.32 +
   84.33 +<code>
   84.34 + # tazpkg recharge
   84.35 + # tazpkg get-install gparted
   84.36 +</code>
   84.37 +
   84.38 +== The 'get' Packages ==
   84.39 +
   84.40 +There are a few packages that are prefixed with //get-//. These are not packages per-sé but contain only a script. This script provides binary software by:
   84.41 +
   84.42 +  * downloading the program
   84.43 +  * creating a Tazpkg from it
   84.44 +  * installing the generated Tazpkg
   84.45 +
   84.46 +This means that the actual program is not contained within the //get// package, but that generated by it.
   84.47 +
   84.48 +To manage this style of software:
   84.49 +   * install the latest version using the //get// script in the //get// package;
   84.50 +   * remove it by using tazpkg on the **generated** package.
   84.51 + 
   84.52 +<note tip>Please note that after downloading the //get-package//, you need to run the script that has the same name:
   84.53 +<code> # tazpkg get-install get-OpenOffice3
   84.54 + # get-OpenOffice3</code>
   84.55 +</note>
   84.56 +
   84.57 +=== Upgrade installed packages ===
   84.58 +
   84.59 +To keep your system up-to-date and secure after recharging the packages list, you can automatically install all new versions and security updates from the mirror with the command:
   84.60 +
   84.61 +<code> # tazpkg upgrade </code>
   84.62 +
   84.63 +=== Tazpkg Manual ===
   84.64 +
   84.65 +The Tazpkg [[http://hg.slitaz.org/tazpkg/raw-file/tip/doc/tazpkg.en.html|Manual]] contains a lot more useful information.
   84.66 +
   84.67 +===== Tazwok & the wok =====
   84.68 +
   84.69 +All SliTaz packages are built with a tool named Tazwok and a receipt found in the wok. The receipt provides all the necessary information to build a suitable package for Tazpkg including variables to give us the package name, source tarball format, download URL, etc. Given a receipt, the compile_rules function has all of the necessary commands to configure, make, and install the package in a specific directory. After compilation, Tazwok will execute the function genpkg_rules to pick up only the needed/wanted files and generate a pkg.tazpkg (cpio archive). On SliTaz you will find all installed package receipts in the directory ///var/lib/tazpkg///installed, feel free to examine them or even use one as an example.
   84.70 +
   84.71 +Tazwok will search by default for a wok in ///home/slitaz/wok// and put generated packages in ///home/slitaz/packages//. These paths are set by a Tazwok configuration file which can be located in ///etc/tazwok.conf// or in the current directory, which is useful if you want to work with multiple woks. Now, if the slitaz-toolchain is installed, you can start to create and build a package which doesn't need many dependencies. Small example:
   84.72 +
   84.73 +<code> # tazwok new-tree pkgname --interactive </code>
   84.74 +
   84.75 +When a new package tree and receipt has been created in the wok, you can edit the receipt with your favorite editor (Geany provides nicely colored code), modify the rules, functions, add dependencies to the DEPENDS variable if needed and try a first cook:
   84.76 +
   84.77 +<code> # tazwok cook pkgname </code>
   84.78 +
   84.79 +Note that you can now browse the generated files, modify the cooking receipt again or just rebuild the package with tazwok genpkg. When you are happy with your work you can install the package with tazpkg install and then test the application or library. 
   84.80 \ No newline at end of file
    85.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    85.2 +++ b/pages/en/handbook/security.txt	Sat Feb 26 12:17:18 2011 +0000
    85.3 @@ -0,0 +1,60 @@
    85.4 +====== SliTaz and System Security ======
    85.5 +
    85.6 +===== Security Policy =====
    85.7 +
    85.8 +SliTaz has given a lot of consideration to system security. Applications are tested for many months before being included in the distribution. At boot time, a minimum of services are launched by the rc scripts. For a complete lists of daemons enabled, you can look at the //RUN_DAEMONS// variable in the ///etc/rcS.conf// configuration file:
    85.9 +
   85.10 +<code> $ cat /etc/rcS.conf | grep RUN_DAEMONS </code>
   85.11 +
   85.12 +To view the actual processes, their PID and memory usage, you can use the 'ps' command or the 'htop' utility:
   85.13 +
   85.14 +<code>
   85.15 + $ ps
   85.16 + $ htop
   85.17 +</code>
   85.18 +
   85.19 +===== Root - The system administrator =====
   85.20 +
   85.21 +In a GNU/Linux system, the root user is the system administrator. root has all the rights to the system files and that of the users. It is advisable never to log in as root by using the command //su// followed by the password to obtain absolute rights over the system. Never log in as root and surf the internet for example. This allows you to create a double barrier in the case of an attack or intrusion after a download and makes it harder for a cracker to take control of your machine - first he must crack your password and then crack the root password of the system administrator.
   85.22 +
   85.23 +A GNU/Linux system has secured at least two users, one to work and another to administer, configure or update the system (root). It's also advisable to entrust the administration of the system to a person.
   85.24 +
   85.25 +===== Passwords =====
   85.26 +
   85.27 +By default the SliTaz user tux doesn't have a password and the system administrator root comes with the password (root). You can easily change these by using the passwd command:
   85.28 +
   85.29 +<code>
   85.30 + $ passwd
   85.31 + # passwd
   85.32 +</code>
   85.33 +
   85.34 +===== Busybox =====
   85.35 +
   85.36 +The file busybox.conf configures the applets and their respective rights. On the SliTaz LiveCD the commands: //su, passwd, loadkmap, mount, reboot// and //halt// can be initiated by all users - the owner and group of these commands is root (//* = ssx root.root//). The //busybox.conf// file is readable by root, using the rights //600//. Note that the //passwd// command will not allow users to change their own password if it is not //ssx//.
   85.37 +
   85.38 +===== LightTPD web server=====
   85.39 +
   85.40 +On SliTaz the LightTPD web server is enabled by default at system startup, if you don't intend to use SliTaz in a server environment, you can safely disable it by removing it from the //RUN_DAEMONS// variable in the ///etc/rcS.conf// configuration file or to stop it manually:
   85.41 +
   85.42 +<code> # /etc/init.d/lighttpd stop </code>
   85.43 +
   85.44 +===== SSH Server =====
   85.45 +
   85.46 +This small section is a compliment to the Secure SHell (SSH) page. On SliTaz the Dropbear SSH server is not run by default, we must add it to the variable //RUN_DAEMONS// in the configuration file ///etc/rcS.conf// for it to be enabled at system boot. Or to start the server manually:
   85.47 +
   85.48 +<code> # /etc/init.d/dropbear start </code>
   85.49 +
   85.50 +By default, Dropbear is launched with the following options:
   85.51 +
   85.52 +<file>
   85.53 + -w   Disallow root logins.
   85.54 + -g   Disallow logins for root password.
   85.55 +</file>
   85.56 +
   85.57 +You can add new options by editing the daemons configuration file: ///etc/daemons.conf//. For all options, you can type: //dropbear -h//.
   85.58 +
   85.59 +===== Pscan - Ports scanner =====
   85.60 +
   85.61 +Pscan is a small utility of the Busybox project that scans the ports of your machine. You can use pscan to scan the localhost or a remote host using the name or IP address of the machine. Pscan will test all the ports from 1 - 1024 by default and list those that are open, their protocol and associated service (ssh, www, etc):
   85.62 +
   85.63 +<code> $ pscan localhost </code>
    86.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    86.2 +++ b/pages/en/handbook/server-apps.txt	Sat Feb 26 12:17:18 2011 +0000
    86.3 @@ -0,0 +1,65 @@
    86.4 +====== Server applications ======
    86.5 +
    86.6 +===== Dokuwiki =====
    86.7 +
    86.8 +Dokuwiki (http://www.dokuwiki.org/) is a light and powerful Wiki engine using PHP and flat files as a backend; so no database server is needed. To use Dokuwiki you just need to install a web server (lighttpd or apache) and PHP.
    86.9 +
   86.10 +===== Drupal =====
   86.11 +
   86.12 +Drupal is a powerful CMS (Content Management System) using PHP server side language and a MySQL database. To install Drupal and have it running in a few minutes you must first install the web server (lighttpd), PHP and MySQL:
   86.13 +
   86.14 +<code>
   86.15 +# tazpkg get-install lighttpd
   86.16 +# tazpkg get-install php
   86.17 +# tazpkg get-install mysql
   86.18 +</code>
   86.19 +
   86.20 +Download the latest version from http://drupal.org/ and create a virtual host or go into your public directory and untar the Drupal sources:
   86.21 +
   86.22 +<code>
   86.23 +$ mkdir ~/Public && cd Public
   86.24 +$ tar xzf drupal-*
   86.25 +</code>
   86.26 +
   86.27 +Now we have to modify some file permissions so that Drupal can write to the filesystem during the installation process and when running:
   86.28 +
   86.29 +<code>
   86.30 +$ cd drupal-*/sites
   86.31 +$ chmod 777 default
   86.32 +$ cp default/default.settings.php default/settings.php
   86.33 +$ chmod 666 default/settings.php
   86.34 +</code>
   86.35 +
   86.36 +Create a MySQL database and then use your favorite web browser to install Drupal through the web interface. When the installation process has ended you must modify file permissions and can start to customize the application. Change permissions for production and clean-up:
   86.37 +
   86.38 +<code>
   86.39 +$ cd ..
   86.40 +$ chmod 755 sites/default
   86.41 +$ chmod 644 sites/default/settings.php
   86.42 +</code>
   86.43 +
   86.44 +To ensure easy upgrades of your Drupal core installation you should put all additional modules and themes into the directory: site/all/. So to prepare the addition of any future modules and themes:
   86.45 +
   86.46 +<code>
   86.47 +$ mkdir sites/all/modules
   86.48 +$ mkdir sites/all/themes
   86.49 +</code>
   86.50 +
   86.51 +==== Online ====
   86.52 +
   86.53 +    * Drupal Modules: http://drupal.org/project/modules
   86.54 +    * Drupal Themes: http://drupal.org/project/themes
   86.55 +
   86.56 +---- 
   86.57 +\\
   86.58 +^  Page Review Section  ^^ 
   86.59 +|Quality| Good  |
   86.60 +|Review| Minor Updates  |
   86.61 +|Priority| Medium |
   86.62 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   86.63 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   86.64 +|How to Improve| Suggest briefly|
   86.65 +|::: |  |
   86.66 +
   86.67 +\\
   86.68 +----
   86.69 \ No newline at end of file
    87.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    87.2 +++ b/pages/en/handbook/ssh.txt	Sat Feb 26 12:17:18 2011 +0000
    87.3 @@ -0,0 +1,45 @@
    87.4 +====== Secure SHell (SSH) ======
    87.5 +
    87.6 +===== About Dropbear =====
    87.7 +
    87.8 +Control and administer remotely with the Dropbear SSH secure server. Dropbear is a small SSH client/server supporting SSH 2. It's compatible with OpenSSH and uses //~/.ssh/authorized_keys// for the management of public keys. Dropbear also provides its own version of //scp//, allowing you to copy files between machines in a secure manner.
    87.9 +
   87.10 +Project website: http://matt.ucc.asn.au/dropbear/dropbear.html
   87.11 +
   87.12 +===== Connecting to a remote host with dbclient =====
   87.13 +
   87.14 +The configuration files for the SSH client are located in the //~/.ssh// directory of each user, this contains the //authorized_keys// and //known_hosts// files. The directory //~/.ssh// and known_hosts file are automatically created the first time you run the Dropbear client (//dbclient//).
   87.15 +
   87.16 +To connect to a remote host employing the user and machine name:
   87.17 +
   87.18 +<code> $ dbclient user@machine.org </code>
   87.19 +
   87.20 +You can also connect using the IP address of the machine:
   87.21 +
   87.22 +<code> $ dbclient user@192.168.0.2 </code>
   87.23 +
   87.24 +===== Transfer of remote files with scp =====
   87.25 +
   87.26 +To copy a file from one computer to another, scp can be utilized in the following ways. To copy a file named page.html to a remote directory of the user (don't forget the : after the machine name or IP address):
   87.27 +
   87.28 +<code> $ scp page.html user@machine.org:path/remote/directory </code>
   87.29 +
   87.30 +Copy a file from a remote machine to your local machine:
   87.31 +
   87.32 +<code> $ scp user@machine.org:path/remote/directory/page.html /path/your/directory </code>
   87.33 +
   87.34 +===== Generate rsa/dss keys with dropbearkey =====
   87.35 +
   87.36 +Dropbear provides dropbearkey to generate the protected rsa and dss keys. Note that when you start the server for the first time, secure keys will be automatically generated if they don't already exist. You can use //dropbearkey// with the following arguments:
   87.37 +<code>
   87.38 + # dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
   87.39 + # dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
   87.40 +</code>
   87.41 +
   87.42 +===== Start, stop, restart the SSH server =====
   87.43 +
   87.44 +By default SliTaz will not start the SSH server at boot. To be launched automatically, dropbear must be added to the variable //RUN_DAEMONS// in the ///etc/rcS.conf// file. To start, stop or restart the SSH server, use the following commands: ///etc/init.d/dropbear [start|stop|restart]//. Example to start the server:
   87.45 +
   87.46 +<code> # /etc/init.d/dropbear start </code>
   87.47 +
   87.48 +Note that the server supports the passing of various options when launched. To change the default values, simply modify the daemons configuration file ///etc/daemons.conf//. 
   87.49 \ No newline at end of file
    88.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    88.2 +++ b/pages/en/handbook/start.txt	Sat Feb 26 12:17:18 2011 +0000
    88.3 @@ -0,0 +1,64 @@
    88.4 +====== Handbook ======
    88.5 +
    88.6 +Note: The current Handbook is still on the main web site and will be migrated after 3.0 is released. Here we have a copy of the livecd page (to help translators) and some new pages to improve and complete the current Handbook: http://www.slitaz.org/en/doc/handbook/
    88.7 +
    88.8 +===== General =====
    88.9 +
   88.10 +  * [[livecd|LiveCD usage]] - How to boot and set options at the command prompt.
   88.11 +  * [[desktop|Desktop]] - Configure the Desktop and Window Managers.
   88.12 +  * [[commands|Commands]] - List of useful commands.
   88.13 +  * [[installation|Installation]] - HD install instructions.
   88.14 +  * [[accessibility|Accessibility]] - Assistive technologies.
   88.15 +
   88.16 +
   88.17 +===== Desktop Applications =====
   88.18 +
   88.19 +    * [[utilities|Utilities]] - Calculator, Text editor, Create CD/DVDs and ISOs.
   88.20 +    * [[office|Office]] - Word processor, Personal organizer and PDF reader.
   88.21 +    * [[internet|Internet]] - Web browsers, IRC chat client, mail client, BitTorrent and FTP.
   88.22 +    * [[graphics|Graphics]] - Computer graphics and Image management.
   88.23 +    * [[development|Development]] - SHell scripts, Perl, Python and Toolchain.
   88.24 +    * [[multimedia|Multimedia]] - Sound, music and video.
   88.25 +    * [[systemtools | System Tools]] - File & Disk managers and other tools.
   88.26 +    * [[wm|Window Managers]] - Openbox, Pekwm, JWM, Enlightenment, dwm and others.
   88.27 +
   88.28 +
   88.29 +
   88.30 +===== System Administration =====
   88.31 +
   88.32 +     * [[packages|Packages]] - Install more software, keep system up-to-date.
   88.33 +    * [[networkconf|Network configuration]] - Ethernet, DHCP, static IP or PPP dialup connection, Firewall.
   88.34 +    * [[systemutils|System administration]] - Mount devices, manage users and groups, adjust system time.   
   88.35 +    * [[xwindow|X Window System]] - Xvesa & Xorg servers, Slim Login and Window managers.   
   88.36 +    * [[security|Security]] - SliTaz and system security.
   88.37 +
   88.38 +===== Flavor ======
   88.39 +    * [[genlivecd|Generate a LiveCD flavor]] - Generate your own LiveCD flavor using Tazlito.
   88.40 +    * [[liveusb|LiveUSB media]] - Create bootable USB media using TazUSB.
   88.41 +    * [[hacklivecd|Hacking LiveCD]] - Manipulate and play with the ISO image of LiveCD.    
   88.42 +    * [[chroot|Chroot Environment]] - Build a chroot to protect the host system.
   88.43 +
   88.44 +===== Server Applications =====
   88.45 +  * [[server-apps|Server applications]] - Install and config of CMS, Wiki, etc.
   88.46 +  * [[webserver|Web server]] - Configure and use the LightTPD web server.
   88.47 +  * [[ssh|Secure SHell (SSH)]] - Secure login using Dropbear SSH client/server.
   88.48 +
   88.49 +
   88.50 +
   88.51 +===== About this Handbook =====
   88.52 +
   88.53 +This is the SliTaz GNU/Linux English Handbook, a collection of instructions and manuals about the distribution. This book is a community effort to provide high quality documentation for SliTaz users, the first page was created on the 26 of February 2008. The SliTaz Handbook is always in development and follows the distribution changes and improvements. 
   88.54 +
   88.55 +---- 
   88.56 +\\
   88.57 +^  Page Review Section  ^^ 
   88.58 +|Quality| Medium  |
   88.59 +|Review| Major Updates FIXME |
   88.60 +|Priority| Medium |
   88.61 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
   88.62 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
   88.63 +|How to Improve| Make all pages current as of 3.0|
   88.64 +|::: |  |
   88.65 +
   88.66 +\\
   88.67 +----
   88.68 \ No newline at end of file
    89.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    89.2 +++ b/pages/en/handbook/systemtools.txt	Sat Feb 26 12:17:18 2011 +0000
    89.3 @@ -0,0 +1,35 @@
    89.4 +====== System Tools ======
    89.5 +
    89.6 +===== Clex - Command line File Manager =====
    89.7 +
    89.8 +To navigate through your folders and directories you can use cd on the command line or install the Clex File Manager:
    89.9 +
   89.10 +<code> # tazpkg get-install clex </code>
   89.11 +
   89.12 +Using ncurses, clex is fast and easy to use and can be configured through the files ~/.clexrc and //~/.clexbm// (bookmarks) or via the panel (ctrl -g). To start clex from a terminal or console:
   89.13 +
   89.14 +<code> $ clex </code>
   89.15 +
   89.16 +===== PCmanFM - File Manager =====
   89.17 +
   89.18 +PCmanFM is a file manager providing many useful functions for daily tasks such as managing devices, opening terminals in the current directory, tabbed browsing, drag and drop, creating directories or managing file permissions. It contains bookmarks to allow you to browse faster, search functions and much more. PCmanFM can be launched with some command line options - you can set the wallpaper to display or open folders in new tabs, etc. For a full list of options: <code> $ pcmanfm --help-all </code>
   89.19 +
   89.20 +PCmanFM supports hotkeys (firefox) and the context menu (right click on file/directory) makes it easy to unpack .taz .gz archives, compress and create archives.
   89.21 +
   89.22 +===== Htop - View system processes =====
   89.23 +
   89.24 +Htop is a system process viewer that displays cpu load, memory state (RAM) and swap used. It can also display the number of tasks, uptime and PIDs of active processes. Htop can be used with the keyboard in console mode, the mouse with a X terminal (xterm) and provides configuration options (F2). Htop can also kill processes - you can select items with the up/down arrows or a mouse click. Note htop also functions via SSH and can be used to monitor a remote server:
   89.25 +
   89.26 +<code> # tazpkg get-install htop </code>
   89.27 +
   89.28 +===== Mountbox - Mount devices =====
   89.29 +
   89.30 +Mountbox is a small GTK+ application to quickly mount media such as a USB drive, hard drive or cdrom. Mountbox can be launched from a terminal or via the Tools menu (System Tools). Simply specify the peripheral (Device) and the mount point, ie. the directory where you want to access the media in question. Typically a CD is mounted on /media/cdrom, a USB key on /media/flash and disk drives on the local machine on /mnt. Note the Handbook also contains more information.
   89.31 +
   89.32 +===== Gparted - Partition a hard drive =====
   89.33 +
   89.34 +Gparted is a graphical application making it possible to manage the partitions of a local hard drive or USB media. It allows you to reformat, resize or check a partition on a hard drive and is the tool of choice if you need to prepare a partition to install SliTaz. Gparted supports proper GNU/Linux filesystems (ext2 and ext3) via mkfs, and Parted automatically handles dependencies.
   89.35 +
   89.36 +=== Support FAT and NTFS filesystems ===
   89.37 +
   89.38 +To have the support of FAT16 or Windows FAT32 filesystems, you must install the package //dosfstools//. To enable read/write support for NTFS partitions: //fuse, ntfs-3g// and //ntfsprogs//. 
   89.39 \ No newline at end of file
    90.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    90.2 +++ b/pages/en/handbook/systemutils.txt	Sat Feb 26 12:17:18 2011 +0000
    90.3 @@ -0,0 +1,157 @@
    90.4 +====== System Administration ======
    90.5 +
    90.6 +===== Devices and disk access =====
    90.7 +
    90.8 +With Linux your disks and USB media are seen as devices. To access them you must first mount a device on a mount point (directory). On SliTaz you can graphically mount devices by using mountbox or the command line. To mount the first disk of a local hard disk on ///mnt/disk//:
    90.9 +
   90.10 +<code>
   90.11 + # mkdir -p /mnt/disk
   90.12 + # mount /dev/hda1 /mnt/disk
   90.13 +</code>
   90.14 +
   90.15 +To mount a cdrom or an USB media you should use mount points located in ///media//. Note that for a cdrom, you just have to specify the device path. For a flash key, the mount point already exists:
   90.16 +
   90.17 +<code>
   90.18 + # mount /dev/cdrom
   90.19 + # mount /dev/sda1 /media/flash
   90.20 +</code>
   90.21 +
   90.22 +=== ntfs filesystem ===
   90.23 +
   90.24 +If you need read/write access to Windows ntfs filesystems you must install a few additional packages from the mirror. The ntfs-3g driver provides stable access to ntfs partitions and ntfsprogs provides manipulation tools dependent on fuse. Note that you can format, move or resize ntfs partitions graphically with Gparted.
   90.25 +
   90.26 +===== Users, groups and passwords =====
   90.27 +
   90.28 +To manage users and groups on your SliTaz system you must use the command line, but file permissions can be changed graphically using the PCmanFM file manager. To add or remove users and groups you must be root. Root can also change all user passwords and a single user can only change his/her own password. To add or remove a user named linux:
   90.29 +
   90.30 +<code>
   90.31 + # adduser linux
   90.32 + # deluser linux
   90.33 +</code>
   90.34 +
   90.35 +To add or remove a group you must use addgroup or delgroup. To change the current user password or change the password of a specific user, you must use the passwd command:
   90.36 +
   90.37 +<code> $ passwd
   90.38 + # passwd username </code>
   90.39 +
   90.40 +=== Audio group ===
   90.41 +
   90.42 +If you want a new user to be able to listen to music he must be in the audio group. To add an existing user to the audio group:
   90.43 +
   90.44 +<code> # adduser -G audio user_name </code>
   90.45 +
   90.46 +===== Language and keyboard layout =====
   90.47 +
   90.48 +SliTaz saves the configuration of the default locale in ///etc/locale.conf// which is read by ///etc/profile// on each login and the keyboard setting is stored in ///etc/kmap.conf//. These two files can be edited with your favorite editor or configured respectively with //tazlocale// and //tazkeymap//. You can modify the settings you chose on the first boot by typing as root administrator:
   90.49 +
   90.50 +<code> # tazlocale
   90.51 + Or:
   90.52 + # tazkeymap </code>
   90.53 +
   90.54 +To check all available locales or your current configuration, you can use the command locale as a single user or root (C for English):
   90.55 +
   90.56 +<code>
   90.57 + $ locale -a
   90.58 + $ locale
   90.59 +</code>
   90.60 +
   90.61 +===== Bash Shell =====
   90.62 +
   90.63 +On SliTaz you have the ash and sh shell with a link to Ash, this shell is provided by Busybox. If you wish to use the Bash (Bourne Again SHell), first as root install bash, copy the //.profile// found in your home directory and rename it //.bashrc//, then edit the ///etc/passwd// file with your favorite text editor and change your shell to :///bin/bash//
   90.64 +
   90.65 +<code>
   90.66 + # tazpkg get-install bash
   90.67 + # cp /home/hacker/.profile home/hacker/.bashrc
   90.68 + Note root user: cp /home/hacker/.profile ~/.bashrc
   90.69 + # nano /etc/passwd   ~ :/bin/bash
   90.70 +</code>
   90.71 +
   90.72 +The next time you login bash will be your default shell, you can confirm this by typing env on the command line.
   90.73 +
   90.74 +===== Editors =====
   90.75 +
   90.76 +Busybox supplies a clone of vi for normal text editing, but it does have its limitations. You can install the full vim editor with the command:
   90.77 +
   90.78 +<code> # tazpkg get-install vim </code>
   90.79 +
   90.80 +Or alternatively if you prefer emacs, SliTaz offers a tiny version:
   90.81 +
   90.82 +<code> # tazpkg get-install emacs </code>
   90.83 +
   90.84 +===== Sudo =====
   90.85 +
   90.86 +The sudo command can be applied on SliTaz:
   90.87 +
   90.88 +<code> # tazpkg get-install sudo </code>
   90.89 +
   90.90 +Note that the configuration file ///etc/sudoers//, should always be edited by the //visudo// command which locks the file and checks for errors.
   90.91 +
   90.92 +===== System Time =====
   90.93 +
   90.94 +To know the current system time, you can simply type date. On SliTaz, the timezone configuration file is saved in ///etc/TZ//, you can edit with your favorite text editor or simply echo the changes. To view the available timezones, you can look in the ///usr/share/zoneinfo// directory. Here's an example using the timezone Europe/London:
   90.95 +
   90.96 +<code> # echo "Europe/London" > /etc/TZ </code>
   90.97 +
   90.98 +=== Rdate ===
   90.99 +
  90.100 +To syncronize the system clock with a network time server, you can (as root) use the //rdate -s// command:
  90.101 +
  90.102 +<code> # rdate -s tick.greyware.com </code>
  90.103 +
  90.104 +To display the time on the remote server, use the //rdate -p// command.
  90.105 +
  90.106 +<code> $ rdate -p tick.greyware.com </code>
  90.107 +
  90.108 +=== Hwclock ===
  90.109 +
  90.110 +//Hwclock// allows you to syncronize the time of your hardware clock to the system clock or vice versa.
  90.111 +
  90.112 +Syncronize the system clock to the hardware clock (<nowiki> --utc = universal time, -l = local time </nowiki>):
  90.113 +
  90.114 +<code> # hwclock -w --utc </code>
  90.115 +
  90.116 +Syncronize the hardware clock to the system clock:
  90.117 +
  90.118 +<code> # hwclock -s --utc </code>
  90.119 +
  90.120 +===== Execute scheduled commands =====
  90.121 +
  90.122 +The daemon 'crond' allows you to run commands automatically at a scheduled specific date or time. This is very useful for routine tasks such as system administration. The directory cron uses is ///var/spool/cron/crontabs//.
  90.123 +
  90.124 +Each user of the system can have his/her own tasks, they are defined in the file: ///var/spool/cron/crontabs/user//. The crontab utility allows you (amongst other things), to list the tasks specific to the user. The syntax of the files is as follows:
  90.125 +
  90.126 +<file> mm hh dd MMM DDD command > log </file>
  90.127 +
  90.128 +We will create a file with root priviledges and test the daemon 'crond' with a task performed every minute - writing the date to a file ///tmp/crond.test//. It should be noted that the utility has an option crontab for editing cron file using 'vi', this is not provided by SliTaz. In its place you can use GNU nano (<Ctrl+X> to save & exit):
  90.129 +
  90.130 +<code> # nano /var/spool/cron/crontabs/root </code>
  90.131 +
  90.132 +Add the line:
  90.133 +
  90.134 +<file> * * * * * date >> /tmp/crond.test </file>
  90.135 +
  90.136 +Launch crond with the option //-b// (background), configured via ///etc/daemons.conf// and using the startup script:
  90.137 +
  90.138 +<code> # /etc/init.d/crond start </code>
  90.139 +
  90.140 +You can wait a few minutes and view the contents of the file: ///tmp/crond.test//... OK:
  90.141 +
  90.142 +<code> # cat /tmp/crond.test </code>
  90.143 +
  90.144 +To stop or restart the daemon crond:
  90.145 +
  90.146 +<code>
  90.147 + # /etc/init.d/crond stop
  90.148 + Or :
  90.149 + # /etc/init.d/crond restart
  90.150 +</code>
  90.151 +
  90.152 +=== Invoke the daemon crond on every boot ===
  90.153 +
  90.154 +To launch the daemon 'crond' each time you boot the system, just add it to the variable START_DAEMONS in the configuration file ///etc/rcS.conf//, either before or after the web server or SSH server.
  90.155 +
  90.156 +===== Add commands to be executed at boot =====
  90.157 +
  90.158 +During the boot process, various scripts are executed to configure services, such as the start of the web server, networking, etc. On SliTaz there is a script ///etc/init.d/local.sh// which allows you to add commands to be launched at system startup. You can also create new scripts in ///etc/init.d//, their links in ///etc/rc.scripts// for shell scripts and use// /etc/rc.d// for links to the startup script daemon in /etc/rcS.conf:
  90.159 +
  90.160 +<code> # nano /etc/init.d/local.sh </code>
    91.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    91.2 +++ b/pages/en/handbook/utilities.txt	Sat Feb 26 12:17:18 2011 +0000
    91.3 @@ -0,0 +1,79 @@
    91.4 +====== Utilities ======
    91.5 +
    91.6 +===== Galculator =====
    91.7 +Galculator is a simple GTK 2 based calculator that features basic, paper (cmdline) and scientific modes. You can easily switch number bases between decimal, hexadecimal, binary, etc and it supports ordinary notation/reverse polish notation. To locate from the menu, select //Utilities -> Scientific Calculator//.
    91.8 +
    91.9 +===== Cdrkit - Burn and manipulate CD/DVD-R or RW =====
   91.10 +
   91.11 +To burn and handle CD/DVD-R or RW, SliTaz provides the //cdrkit// utility and a graphical interface burnbox which you will find in the menu. The tools in wodim make it possible to burn CD/DVD and erase CD/DVD-RW. When used with genisoimage, it can also create images in the ISO 9660 format. Burning on the command line requires us to know the device/writer (dev) name and wodim provides several possibilities to know which drive to use and specify it when burning to optical media. If you run wodim with the -devices option, it will automatically search for a good device and display it, the -checkdrive option allows you to check the recognized device and -scanbus will display in relation to the system bus. Examples (as root):
   91.12 +
   91.13 +<code>
   91.14 + # wodim -devices
   91.15 + Or:
   91.16 + # wodim -checkdrive
   91.17 + For the bus: 
   91.18 + # wodim -scanbus
   91.19 +</code>
   91.20 +
   91.21 +=== Create an ISO 9660 image ===
   91.22 +
   91.23 +To burn data on to a CD/DVD, you must first have an ISO image. To begin we must create a directory to contain all the files to be burned. You can copy your files on the command line with cp, the file manager Clex or graphically with PCManFM2. To create a directory named iso/ in the root of user space and copy all the files contained in Documents/:
   91.24 +
   91.25 +<code>
   91.26 + $ mkdir ~/iso
   91.27 + $ cp -a Documents/* ~/iso
   91.28 +</code>
   91.29 +
   91.30 +Create an ISO image named image.iso, using the genisoimage tool and specify the root directory containing the files to be included in the ISO:
   91.31 +
   91.32 +<code> $ genisoimage -o image.iso ~/iso </code>
   91.33 +
   91.34 +Note that there are many options that you can use to create ISOs, one of the most widely used is the extension -R, signifying Rock ridge, this allows the use of names of up to 255 characters (with a few exceptions), it also supports symlinks and file permissions. To see all the available options, simply type -help. Example of creating an ISO image using the //-R// option:
   91.35 +
   91.36 +<code> $ genisoimage -o image.iso -R ~/iso </code>
   91.37 +
   91.38 +=== Burn an ISO image ===
   91.39 +
   91.40 +To burn an ISO image in the 9660 format either created by yourself or downloaded from the web, you must use wodim specifying the proper device (dev) to burn the CD/DVD. Example using the verbose mode (-v), with the device hdc and data contained in an ISO image named image.iso:
   91.41 +
   91.42 +<code> # wodim -v dev=/dev/hdc image.iso </code>
   91.43 +
   91.44 +Another example setting the (speed) to burn as 8x :
   91.45 +
   91.46 +<code> # wodim -v speed=8 dev=/dev/hdc image.iso </code>
   91.47 +
   91.48 +=== Erase CD-RW/DVD-RW ===
   91.49 +
   91.50 +You can quickly erase a CD-RW/DVD-RW using wodim with the //blank=fast// option. Example using the device hdc in verbose mode:
   91.51 +
   91.52 +<code> # wodim -v blank=fast dev=/dev/hdc </code>
   91.53 +
   91.54 +Or you can have a full erase using the //blank=all// option (this will take a bit longer):
   91.55 +
   91.56 +<code> # wodim -v blank=all dev=/dev/hdc </code>
   91.57 +
   91.58 +===== Nano =====
   91.59 +
   91.60 +The default text editor in SliTaz is nano. Once launched you can use <Ctrl + g> for the help menu. To start nano, you can type nano from a console, a xterm terminal, or from the //menu --> Editors --> Nano//.
   91.61 +
   91.62 +The initialization file ///etc/nanorc// includes the files of colored syntax found in ///usr/share/nano//. The user configuration file is //~/nanorc//. To edit a file directly, just launch nano proceeded by the name of the file. Example (<Ctrl+x> to save & quit):
   91.63 +
   91.64 +<code> $ nano Templates/script-shell.sh </code>
   91.65 +
   91.66 +===== LeafPad =====
   91.67 +
   91.68 +Leafpad is an ultra light and quick graphical text editor, handy for taking notes or editing configuration files. You will find it in the menu or you can run it directly on a file via a terminal:
   91.69 +
   91.70 +<code> $ leafpad Templates/script-shell.sh </code>
   91.71 +
   91.72 +===== ISO Master - Create and edit ISOs =====
   91.73 +
   91.74 +ISO Master is a graphical tool allowing you to edit, manipulate and create ISO images which you can later store and burn, It's simple and intuitive and lets you create ISO images the size you want.
   91.75 +
   91.76 +Website : http://littlesvr.ca/isomaster/
   91.77 +
   91.78 +===== Xpad - Mini note-taking application =====
   91.79 +
   91.80 +Xpad is a small application that can take quick notes via a 'sticky note' displayed on the desktop. Each consists of a note pad that you can hide and customise via a right click on the window in question. Once launched you can close Xpad via the dock located on the window manager taskbar. The notes are stored in your local directory and are available at each session (if you use USB media with the LiveCD or on an installed system). To install Xpad:
   91.81 +
   91.82 +<code> # tazpkg get-install xpad</code>
   91.83 \ No newline at end of file
    92.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    92.2 +++ b/pages/en/handbook/webserver.txt	Sat Feb 26 12:17:18 2011 +0000
    92.3 @@ -0,0 +1,117 @@
    92.4 +====== LightTPD Web Server ======
    92.5 +
    92.6 +===== About LightTPD =====
    92.7 +
    92.8 +This chapter describes the configuration and use of the LightTPD web server. It's a fast, secure, flexible HTTP server, using a small memory footprint. It enables intelligent management of the cpu load and offers FastCGI support, CGI, Auth, Output compression and the rewriting of URLs, etc. LightTPD is a cheap way to host your own site on an old machine.
    92.9 +
   92.10 +On SliTaz the server is automatically launched at system startup and is preconfigured with PHP. The root documents served by default are in /var/www, this contains the default page index.html, images are stored in the images/ directory. LightTPD website: http://www.lighttpd.net/
   92.11 +
   92.12 +===== /var/www - Root directory of documents =====
   92.13 +
   92.14 +The /var/www folder is the root directory of documents - you can access this via the URL http://localhost/. If you want to host a site, you can save all your documents in here. If you want to host multiple sites, you'll need to create virtual hosts. Note you can also check the http://localhost/server-status.
   92.15 +
   92.16 +
   92.17 +===== ~Public - Public directory of users =====
   92.18 +
   92.19 +SliTaz provides the users of the system a public space to place documents, HTML in general. This directory is named Public and must be within the root of your user space, such as ///home/hacker/Public//. To create this directory, use the //mkdir// command:
   92.20 +
   92.21 +<code> $ mkdir ~/Public </code>
   92.22 +
   92.23 +You can then have access via the URL: http://localhost/~hacker/. You can also use the machine name or IP address if you connect from another computer.
   92.24 +
   92.25 +=====/etc/lighttpd/lighttpd.conf - LightTPD configuration file=====
   92.26 +
   92.27 +The main configuration file for LightTPD (lighttpd.conf) is located in ///etc/lighttpd///. This file provided by SliTaz is self-explanatory, just browse. You can find other examples on the LightTPD website. On SliTaz you'll also find a //vhosts.conf// file for the configuration of any virtual hosts (hosting several sites on the same server).
   92.28 +
   92.29 +=====Start, stop, restart the web server=====
   92.30 +
   92.31 +By default, SliTaz starts the server automatically at boot, to prevent this you need to remove lighttpd from the variable //RUN_DAEMONS// located in the system file ///etc/rcS.conf//. To start, stop or restart the server, you can use the commands: ///etc/init.d/lighttpd [start|stop|restart]//. Example to restart the server after changing the configuration file:
   92.32 +
   92.33 +<code> # /etc/init.d/lighttpd restart </code>
   92.34 +
   92.35 +===== CGI scripts using Perl =====
   92.36 +
   92.37 +To configure the LightTPD server to locate the path of the perl binary and use CGI/Perl, you'll need to install perl and modify the server configuration file. Example using Geany:
   92.38 +
   92.39 +<code> # tazpkg get-install perl
   92.40 + # geany /etc/lighttpd/lighttpd.conf & </code>
   92.41 +
   92.42 +
   92.43 +<file>
   92.44 +# CGI module. You can install Perl and assign .pl and .cgi scripts
   92.45 +# to /usr/bin/perl
   92.46 +$HTTP["url"] =~ "/cgi-bin/" {
   92.47 +  cgi.assign = (
   92.48 +    ".sh" => "/bin/sh",
   92.49 +    ".cgi" => "/usr/bin/perl,
   92.50 +    ".pl" => "/usr/bin/perl
   92.51 +  )
   92.52 +}
   92.53 +
   92.54 +</file>
   92.55 +
   92.56 +===== CGI scripts using Python =====
   92.57 +
   92.58 +To configure the LightTPD server to locate the path of the python binary and use CGI/Python, you'll need to to install python and modify the server configuration file. Example using Geany:
   92.59 +<code>
   92.60 + # tazpkg get-install python
   92.61 + # geany /etc/lighttpd/lighttpd.conf &
   92.62 +</code>
   92.63 +
   92.64 +<file>
   92.65 +# CGI module. You can install Python and assign .py and .cgi scripts
   92.66 +# to /usr/bin/python
   92.67 +$HTTP["url"] =~ "/cgi-bin/" {
   92.68 +  cgi.assign = (
   92.69 +    ".sh" => "/bin/sh",
   92.70 +    ".cgi" => "/usr/bin/python,
   92.71 +    ".py" => "/usr/bin/python
   92.72 +  )
   92.73 +}
   92.74 +</file>
   92.75 +
   92.76 +For the changes to be taken into effect and to use your first CGI scripts on SliTaz, just restart the LightTPD server:
   92.77 +
   92.78 +<code> # /etc/init.d/lighttpd restart </code>
   92.79 +
   92.80 +===== Authentication - Protection for the directories =====
   92.81 +
   92.82 +LightTPD provides authentication modules that can for example, protect a directory. The server offers several authentication methods, but we will begin by using the basic method without encrypting any passwords. In order to be able to use the module mod_auth, you must install the lighttpd-modules package (tazpkg get-install lighttpd-modules). Once installed mod_auth must be added to the list of modules:
   92.83 +
   92.84 +<file>
   92.85 +# Modules to load.
   92.86 +# See /usr/lib/lighttpd for all available modules.
   92.87 +#
   92.88 +server.modules = (
   92.89 +  "mod_access",
   92.90 +  "mod_auth",
   92.91 +  "...",
   92.92 +)
   92.93 +</file>
   92.94 +
   92.95 +Now you can configure the modules by specifying the debug level and method (plain) and the path to the file containing a list of names using a protected password to access the directories. You must also define the directories that require authorization. In this example we'll protect the admin/ directory and authorize its access to user tux (//user=tux//):
   92.96 +
   92.97 +<file>
   92.98 +# Authentication for protected directory.
   92.99 +auth.debug = 2
  92.100 +auth.backend = "plain"
  92.101 +auth.backend.plain.userfile = "/etc/lighttpd/plain.passwd"
  92.102 +auth.require = ( "/admin/" =>
  92.103 +(
  92.104 +"method" => "basic",
  92.105 +"realm" => "Password protected area",
  92.106 +"require" => "user=tux"
  92.107 +)
  92.108 +)
  92.109 +</file>
  92.110 +
  92.111 +Finally, we now create the file containing the passwords, add a user and restart the server for testing. The basic syntax for the file is user:password. You can create the file and add a user with the echo command or edit with your favorite text editor. To add tux:root to the password file ///etc/lighttpd/plain.passwd//:
  92.112 +
  92.113 +<code>
  92.114 + # echo "tux:root" > /etc/lighttpd/plain.passwd
  92.115 + Or :
  92.116 + # nano /etc/lighttpd/plain.passwd
  92.117 +</code>
  92.118 +To test the address: **http://localhost/admin/**, just restart the server:
  92.119 +
  92.120 +<code> # /etc/init.d/lighttpd restart </code>
  92.121 \ No newline at end of file
    93.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    93.2 +++ b/pages/en/handbook/wm.txt	Sat Feb 26 12:17:18 2011 +0000
    93.3 @@ -0,0 +1,119 @@
    93.4 +====== Window Managers ======
    93.5 +
    93.6 +===== Openbox =====
    93.7 +
    93.8 +More details in [[en:handbook:desktop|Desktop]]
    93.9 +
   93.10 +===== Enlightenment (e17) =====
   93.11 +Enlightenment is a complete desktop environment, fully configurable with the mouse and offering many themes. The version supplied by the SliTaz project is known as e17 and is still in development, this version is considered stable enough to be incorporated into the distribution. Enlightenment was designed to be deployed on systems with limited resources, as well as more powerful systems. It allows for wallpapers, menus, animated and interactive gadgets and knows how to manage virtual desktops. To install e17:
   93.12 +
   93.13 +<code> # tazpkg get-install enlightenment </code>
   93.14 +
   93.15 +Logout your current X session, type //F1// at Slim login and choose //e17// to start Enlightenment.
   93.16 +
   93.17 +=== Menu and desktop icons ===
   93.18 +
   93.19 +Enlightenment is compliant to the Freedesktop standards. Applications are sorted by category and icons automatically appear if a desktop file is supplied. The (.desktop) system files are contained in the ///usr/share/applications// directory or hidden home //~/.local/share/applications// directory. These files have a simple syntax and are editable from the panel or with a simple text editor. The file menus displaying categories in the Enlightenment menu are found in the //slitaz-menus// package:
   93.20 +
   93.21 +<code> # tazpkg get-install slitaz-menus </code>
   93.22 +
   93.23 +=== An icon on the desktop ===
   93.24 +
   93.25 +To have an icon on the desktop launching applications, you can create by hand a .desktop file (([[http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html|Recognized desktop entry keys]])) in your local directory ~/Desktop. Desktop files placed in this directory are automatically recognized by Enlightenment. A single .desktop file can contain eight lines with respectively: the name (Name), generic name, comment, the command to execute (Exec), icon, type and Freedesktop categories. Example of a .desktop file for Xterm icon:
   93.26 +
   93.27 +<file>
   93.28 +[Desktop Entry]
   93.29 +Name=XTerm
   93.30 +GenericName=Terminal
   93.31 +Comment=Run commands in a shell
   93.32 +Exec=xterm -bg black -fg white -cr orange -sb -bd violet -rightbar
   93.33 +Icon=/usr/share/icons/Tango/jwm/utilities-terminal.png
   93.34 +Type=Application
   93.35 +Categories=Utility;Terminal;
   93.36 +</file>
   93.37 +Additional themes can be found on: http://exchange.enlightenment.org/
   93.38 +
   93.39 +===== JWM - Joe's Window Manager =====
   93.40 +
   93.41 +Joe's window manager, written in C is quick, simple, clean, stable and efficient. JWM proposes a taskbar, a menu of icons and a pager for the management of virtual desktops. The taskbar can also act as a dock. In addition it is easily configurable with a single text file that can change the menu, fonts and their sizes, and different colors. To install jwm on SliTaz:
   93.42 +
   93.43 +<code> # tazpkg get-install jwm </code>
   93.44 +
   93.45 +Logout your current X session, type //F1// at Slim login and choose //jwm// to start JWM. To make JWM your default Window Manager, just type: //tazx jwm//.
   93.46 +
   93.47 +=== Use and configure JWM ===
   93.48 +
   93.49 +The application of Joe's Window Manager is very fast. To view the menu just click somewhere on the desktop. You can resize a window through the edges or corners, minimize or pass a virtual desktop to another via a pager. You also have configurable keyboard shortcuts for faster access to the applications that you often use. On SliTaz the system configuration file is /etc/jwm/system.jwmrc. Apart from this file, each user can use its own configuration file hidden in ~/.jwmrc. This is a text file using XML syntax, it can edited with a simple text editor - lines beginning with: <nowiki> <!-- are comments that let you understand what each tag does</nowiki>.
   93.50 +
   93.51 +To facilitate the customization of the desktop, SliTaz automatically copies at the launch of the first (graphical) session, a system configuration file to the root directory of the user. You can directly modify this file and test without risk. To edit with your favorite text editor:
   93.52 +
   93.53 + <code>$ geany $HOME/.jwmrc & </code>
   93.54 +
   93.55 +To retrieve an original configuration file, you can copy the system configuration file and rename it .jwmrc in your home directory:
   93.56 +
   93.57 +<code> $ cp /etc/jwm/system.jwmrc $HOME/.jwmrc </code>
   93.58 +
   93.59 +The tag RootMenu corresponds to the menu displayed by clicking on one of the (three) buttons on the mouse. To add a category, you must use the tag: Menu - this contains entries for various programs. Any entry in the JWM menu can fit on one line. Example using the GQview image management application:
   93.60 +
   93.61 +<file> <Program icon="gqview.png" label="GQview">gqview</Program> </file>
   93.62 +
   93.63 +There are still many opportunities to configure RootMenu according to the mouse buttons; the choice of method to move windows, create groups, etc. The Manual is available online at the official website of the project. To view a list of command-line options, just type jwm -h in a terminal.
   93.64 +
   93.65 +=== Create your own JWM style ===
   93.66 +
   93.67 +Creating your own graphical style with JWM is relatively quick and easy, the tags are clear and the attributes possible are given in the comments. When preparing your work, you can see your amendments by restarting the window manager from the menu or via the jwm -restart command. In the configuration file, style tags start after the <!-- Visual Styles --> comment. To begin, here is a short list of the main style tags with a short description:
   93.68 +
   93.69 +    * Background manages the wallpaper. This tag supports the solid, gradient, image or tile attributes, to respectively: use a solid color, create a gradient, display a resized image or tile an image.
   93.70 +    * BorderStyle controls the windows border.
   93.71 +    * TrayStyle controls a taskbar. The taskbar may, among other things, be automatically hidden or only fill a part of the screen with the width attribute.
   93.72 +    * TrayListStyle controls the style of the list of open windows on the current desktop.
   93.73 +    * PagerStyle controls the pager displaying different virtual desktops (4 by default).
   93.74 +    * MenuStyle defines the menu style.
   93.75 +    * The icons are defined by the IconPath tag, you can use your own personal icons by specifing the full path to the directory that contains them. Note that you can specify more than one path, if you want, you can use your own icons and those contained in the /usr/share/pixmaps and ///usr/share/icons// system directories. SliTaz uses the Tango theme icons: //tango.freedesktop.org// for the menu, these are 16x16 and are stored in ///usr/share/icons/Tango//. You can  add, edit, delete these... If you want to install new icons in your user space, we advise you to use //~/Picture/Icons// (set as default) or a hidden directory //~/.Icons//.
   93.76 +
   93.77 +The colors can be defined by their name or RGB number such as //#3A4956//. To use colors in their gradient mode, you must specify the two colors separated by a colon, example //#6C0023:#3E1220//. You can change fonts and their sizes by using the Font tag. There are still some other small things that you can change to customize your desktop: such as the name of a menu item and its icon. Before restarting JWM with your new configuration file, you can check its syntax by using the command: //jwm -p//. To explore further, the official handbook describes all the tags, options and valid attributes. You can view it online at the JWM website.
   93.78 +
   93.79 +=== JWM website ===
   93.80 +
   93.81 +    * http://www.joewing.net/programs/jwm/ - The official website of Joe's Window Manager, providing news and a comprehensive manual.
   93.82 +    * #jwm on irc.freenode.net - The JWM IRC discussion channel on Freenode server.
   93.83 +
   93.84 +===== Pekwm =====
   93.85 +[[http://www.pekwm.org/files/pekwm/doc/0.1.10/html/index.html|Documentation]]
   93.86 +
   93.87 +===== DWM =====
   93.88 +[[http://dwm.suckless.org/tutorial|Documentation]]
   93.89 +
   93.90 +===== Xfce =====
   93.91 +
   93.92 +[[http://www.xfce.org/|Xfce]] is a lightweight desktop environment. It replaces the default OpenBox and PCManFM, and is also based on GTK+.
   93.93 +
   93.94 +To install Xfce, select the 'xfce4' meta-package from the Package Manager. This will install all the related packages.
   93.95 +
   93.96 +To use Xfce, ensure you have the correct command for Xfce in the Slim (log-in manager) configuration. Do this by appending **xfce4** to the //sessions// line of the ///etc/slim.conf// file - note that you will need root permissions to modify the file:
   93.97 +<file>sessions            openbox,e17,jwm,xfce4, </file>
   93.98 +
   93.99 +You can then select Xfce by pressing F1 at the log-in screen, as you enter your user-name and password.
  93.100 +
  93.101 +Extras are available at [[http://goodies.xfce.org/|Xfce Goodies]], including plug-ins, artwork and bindings.
  93.102 +
  93.103 +To remove Xfce, use the following command as //root// user:
  93.104 +<code>
  93.105 +for PKG in xfce4 xfce4-session xfce4-panel xfwm4 libxfcegui4 xfce-utils libxfce4util thunar thunar-volman xfconf ; \ 
  93.106 +do yes y | tazpkg remove $PKG ; done
  93.107 +</code>
  93.108 +
  93.109 +
  93.110 +---- 
  93.111 +\\
  93.112 +^  Page Review Section  ^^ 
  93.113 +|Quality| Medium  |
  93.114 +|Review| Minor/Major Updates  |
  93.115 +|Priority| Medium |
  93.116 +|Problems| add a [[http://forum.slitaz.org|forum post link]]|
  93.117 +|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
  93.118 +|How to Improve| Add Pekwm/dwm/fluxbox sections|
  93.119 +|::: |  |
  93.120 +
  93.121 +\\
  93.122 +----
  93.123 \ No newline at end of file
    94.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    94.2 +++ b/pages/en/handbook/xwindow.txt	Sat Feb 26 12:17:18 2011 +0000
    94.3 @@ -0,0 +1,130 @@
    94.4 +====== X Window System ======
    94.5 +
    94.6 +===== X11 - X Window System =====
    94.7 +
    94.8 +The X Window System or X11 provides a window manager running on top of a X server.
    94.9 +
   94.10 +SliTaz 2.0 by default uses the lightweight X server called Xvesa from the Xorg project (www.x.org).
   94.11 +
   94.12 +Slitaz 3.0 by default uses the Xorg server, there is however a Xvesa flavor.
   94.13 +
   94.14 +The X server can be started with the Slim login manager or directly from a Linux console with the command startx, but for this you must first disable the Login Manager. To reconfigure your X session you can use tazx as root or as the current user if you start X from the command line.
   94.15 +
   94.16 +===== Tazx - SliTaz X configuration tool =====
   94.17 +
   94.18 +Tazx is the configuration tool to manage your X window sessions on a SliTaz box. Simply select a resolution and press OK. You can also select a (Xorg) session by selecting a video driver best suited to your hardware. After you first run 'startx', the configuration is saved in the executable files //~/.xsession// and //~/.xinitrc//. These files are then used to start a X session with either 'startx' or via the Slim login manager and can be easily altered with a text editor. Tazx can also be used to change your default window manager. Example: 
   94.19 +
   94.20 +<code> tazx jwm
   94.21 +</code>
   94.22 +
   94.23 +===== Slim - Simple Login Manager =====
   94.24 +
   94.25 +Slim is a lightweight session manager that is very easy to configure and is customizable using system themes. The configuration file is found in ///etc/slim.conf//. It defines window managers available via the F1 key, the default user or theme, and the X window system parameters. Slim offers special user commands like console to help manage the session.
   94.26 +
   94.27 +In LiveCD mode you can disable Slim with the boot option //screen=text//. On an installed system you can remove the package or delete slim from the //RUN_DAEMONS// variable in ///etc/rcS.conf//.
   94.28 +
   94.29 +More details and themes can be found on the website
   94.30 +
   94.31 +=== Default user ===
   94.32 +
   94.33 +Slim offers a way to pre-load a user login name, by default tux is configured for convenience. You can change this by editing the Slim configuration file ///etc/slim.conf// and modifying the line default_user or just leave the line blank to avoid pre-loading a user name. Example:
   94.34 +
   94.35 +<file> default_user        tux </file>
   94.36 +
   94.37 +===== Xorg =====
   94.38 +
   94.39 +By default, SliTaz provides the graphical mini-server Xvesa. Xorg server is available in the packages on the mirror. Xorg is a very comprehensive server, but uses a lot more resources than Xvesa. If your resolution is supported by the mini-server and you're happy with the refresh rate, then there's no reason to use Xorg.
   94.40 +
   94.41 +There is no GUI configuration which means having to use the command line in console mode. The installation and configuration of the server is relatively simple and you can always go back and reuse Xvesa at any time. Xorg is distributed in modular form, which means that you'll need to install the server, a few configuration files and the right driver for your graphics card. However the xorg-server package has all the correct dependencies to work directly with the vesa driver. Minimal install:
   94.42 +
   94.43 +<code> # tazpkg get-install xorg-server </code>
   94.44 +
   94.45 +Once installed, you can go directly to the configuration or you can install the correct driver for your card (provided you know it). Example using the Nvidia driver and listing all available drivers:
   94.46 +<code>
   94.47 + # tazpkg get-install xorg-xf86-video-nv
   94.48 + List:
   94.49 + # tazpkg search xorg-xf86-video
   94.50 +</code>
   94.51 +
   94.52 +=== Automatic configuration of the server ===
   94.53 +
   94.54 +To configure the Xorg server you have two options:// Xorg -configure// or the script xorgconfig. It is recommended that you start by using Xorg with the //-configure// option. The automatic configuration of Xorg must be done in console mode without an X-server running, this is achieved by closing all applications and windows and hitting the //alt-ctrl-del// buttons. You should now be in console mode. Now you need to run Xorg with the //-configure// option and copy the newly generated file to ///etc/X11//:
   94.55 +
   94.56 +<code> # Xorg -configure
   94.57 + # cp /root/xorg.conf.new /etc/X11/xorg.conf
   94.58 +</code>
   94.59 +
   94.60 +Finally you then change the configuration of Slim to use Xorg instead of Xvesa and restart the window manager.
   94.61 +
   94.62 +=== Using Xorg with Slim ===
   94.63 +
   94.64 +In the Slim configuration file (///etc/slim.conf//), we need to comment out (#) the lines pertaining to Xvesa and change Xorg to the default_xserver:
   94.65 +
   94.66 +<file>
   94.67 +default_xserver     /usr/bin/Xorg
   94.68 +#default_xserver     /usr/bin/Xvesa
   94.69 +#xserver_arguments   -ac -shadow dpms +extension Composite -screen 1024x768x24
   94.70 +</file>
   94.71 +
   94.72 +Now we can start Slim to return us to an X server session. Slim works likes a daemon, it can be stopped or started from the console:
   94.73 +
   94.74 + 
   94.75 +<code> # /etc/init.d/slim start </code>
   94.76 +
   94.77 +=== xorg.conf - Configuration file ===
   94.78 +
   94.79 +Xorg uses the configuration file ///etc/X11/xorg.conf// This file can be automatically generated and edited with your favorite text editor. It is divided into several sections, including the specification of paths, modules to be loaded, default screen, mouse, keyboard, etc. This document provides only a few examples, it is advisable to run xorgconfig once to generate a complete file to use as an example.
   94.80 +
   94.81 +Keyboard (en):
   94.82 +
   94.83 +<file>
   94.84 +Section "InputDevice"
   94.85 +	Identifier  "Keyboard0"
   94.86 +	Driver      "kbd"
   94.87 +	Option      "XkbRules"	"xorg"
   94.88 +	Option      "XkbModel"	"pc105"
   94.89 +	Option      "XkbLayout"	"en"
   94.90 +	Option      "XkbVariant"	"en"
   94.91 +EndSection
   94.92 +</file>
   94.93 +
   94.94 +Mice with auto detection protocol:
   94.95 +<file>
   94.96 +Section "InputDevice"
   94.97 +	Identifier  "Mouse0"
   94.98 +	Driver      "mouse"
   94.99 +	Option	    "Protocol" "auto"
  94.100 +	Option	    "Device" "/dev/input/mice"
  94.101 +	Option	    "ZAxisMapping" "4 5 6 7"
  94.102 +EndSection
  94.103 +</file>
  94.104 +
  94.105 +Composite extensions:
  94.106 +
  94.107 +<file>
  94.108 +Section "Extensions"
  94.109 +	Option      "Composite" "1"
  94.110 +EndSection
  94.111 +</file>
  94.112 +
  94.113 +===== Use Xvesa as X terminal =====
  94.114 +
  94.115 +You can use Xvesa as X terminal, if you have a machine on the network that accepts Xdmcp connections. To enable this, you can start the server with the option -query followed by the machine name or IP address. Example of machine 192.168.0.2 on a local network:
  94.116 +
  94.117 +<code> $ Xvesa -ac -shadow -screen 1024x768x24 -query 192.168.0.2 </code>
  94.118 +
  94.119 +The use of a graphical remote server can be of great use, although reponse times of applications depend greatly on Internet speed and the remote machine's power. This technique works very well within a local area network (LAN) and allows you to control applications installed on the remote machine directly from the screen of the local machine from which you work. Note that the distant remote machine may have multiple accounts in use simultaneously and/or direct access.
  94.120 +
  94.121 +===== Fonts =====
  94.122 +
  94.123 +The management of Fonts (fonts) is powered by the package //fontconfig//. This package provides tools to add, list and manipulate fonts. The fonts can be installed in user space or at the system level, this means that each user can use his/her own fonts or the system adminstrator (root) can install fonts available to all users of the system. If you use USB media associated with the SliTaz LiveCD, you can easily install fonts and retain them for the next time you use the cdrom.
  94.124 +
  94.125 +=== Installing fonts ===
  94.126 +
  94.127 +At the system level fonts are installed in the directory: ///usr/share/fonts//, core SliTaz provides TTF Vera fonts, they take up little space and are rendered correctly. At the root of user space ~/, fonts are found in the hidden directory: .fonts. To create a home directory to accomodate new fonts, you can use the graphical window manager emelFM2, Clex or the command line:
  94.128 +
  94.129 +<code> $ mkdir ~/.fonts </code>
  94.130 +
  94.131 +Once you have installed the fonts you need to run the //fc-cache// tool to generate configuration files, this ensures that your fonts are available for use in applications:
  94.132 +
  94.133 +<code> $ fc-cache </code>
    95.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    95.2 +++ b/pages/en/newsletter/oldissues.txt	Sat Feb 26 12:17:18 2011 +0000
    95.3 @@ -0,0 +1,18 @@
    95.4 +====== Monthly Newsletter - Old Issues ======
    95.5 +
    95.6 +[[en:newsletter:oldissues:14|Issue 14]]
    95.7 +
    95.8 +[[en:newsletter:oldissues:15|Issue 15]]
    95.9 +
   95.10 +[[en:newsletter:oldissues:16|Issue 16]]
   95.11 +
   95.12 +[[en:newsletter:oldissues:17|Issue 17]]
   95.13 +
   95.14 +[[en:newsletter:oldissues:18|Issue 18]]
   95.15 +
   95.16 +[[en:newsletter:oldissues:19|Issue 19]]
   95.17 +
   95.18 +[[en:newsletter:oldissues:20|Issue 20]]
   95.19 +
   95.20 +[[en:newsletter:oldissues:21|Issue 21]]
   95.21 +
    96.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    96.2 +++ b/pages/en/newsletter/oldissues/14.txt	Sat Feb 26 12:17:18 2011 +0000
    96.3 @@ -0,0 +1,143 @@
    96.4 +====== Monthly Newsletter - Issue 14 ======
    96.5 +
    96.6 +	* Written on 16th January 2010
    96.7 +
    96.8 +===== Latest News =====
    96.9 +
   96.10 +        * SliTaz featured in Distrowatch [[http://distrowatch.com/weekly.php?issue=20100111#feature|review]]
   96.11 +        * SliTaz [[http://mirror.slitaz.org/iso/cooking-snow/README.html|snow]] isos released
   96.12 +        * We will have a stand at the forthcoming http://www.solutionslinux.fr/
   96.13 +        * Newsletter is back again!
   96.14 +
   96.15 +===== New Packages =====
   96.16 +
   96.17 +	* calcurse
   96.18 +	* tty-clock
   96.19 +	* nethogs
   96.20 +	* icmptx
   96.21 +	* plotdrop
   96.22 +	* xournal
   96.23 +	* apr-dpd-*
   96.24 +	* openvas-*
   96.25 +	* snort
   96.26 +	* lives
   96.27 +	* gkll
   96.28 +	* gutenpy
   96.29 +	* python-pyprotocols
   96.30 +	* aspell-{hu,cs,id,it,ru,sl}
   96.31 +	* evince
   96.32 +	* libmagic
   96.33 +	* libical
   96.34 +	* libmpdclient
   96.35 +	* libunique
   96.36 +	* libplayer
   96.37 +	* libvalhalla
   96.38 +	* elementary
   96.39 +	* enna
   96.40 +	* libffd
   96.41 +
   96.42 +===== Updated  Packages =====
   96.43 +
   96.44 +	* mpg123 => 1.10.0
   96.45 +	* openbox => 3.4.9
   96.46 +	* cairo => 1.8.8
   96.47 +	* firefox => 3.5.7
   96.48 +	* web-applications => 1.2
   96.49 +	* postgresql => 8.3.9
   96.50 +	* apr => 1.3.9
   96.51 +	* apache => 2.2.14
   96.52 +	* sarg => 2.2.6
   96.53 +	* squid => 3.0STABLE21
   96.54 +	* putty => 0.60-2009-09-08
   96.55 +	* sudo => 1.7.2p2
   96.56 +	* mc => 4.7.01
   96.57 +	* perl-pango => 1.221
   96.58 +	* python-pygments => 1.1.1
   96.59 +	* python-bpython => 0.9.5.2
   96.60 +	* python-mysql => 1.2.3.c1
   96.61 +	* python-django => 1.1.1
   96.62 +	* python-sqlalchemy => 0.5.6
   96.63 +	* python-formalchemy => 1.3.1
   96.64 +	* python-jinja2 => 2.2.1
   96.65 +	* tuxtype => 1.8.0
   96.66 +	* intltool => 0.40.6
   96.67 +	* babl=> 0.1.0
   96.68 +	* gegl => 0.1.0
   96.69 +	* gimp => 2.6.8
   96.70 +	* couchdb => 0.10.1
   96.71 +	* python-couchdbkit => 0.3.1
   96.72 +	* libsmpeg => 389
   96.73 +	* stoq => 0.9.11
   96.74 +	* stoqdrivers => 0.9.8.2
   96.75 +	* fpm2 => 0.76.1
   96.76 +	* awstats => 6.95
   96.77 +	* pure-ftpd => 1.0.27
   96.78 +	* strace => 4.5.19
   96.79 +	* pygtk => 2.16.0
   96.80 +	* pycairo => 1.8.2
   96.81 +	* pygobject => 2.20.0
   96.82 +	* gdb => 7.0.1
   96.83 +	* reiserfprogs => 3.6.21
   96.84 +	* gajim => 0.13.1
   96.85 +	* midori => 0.2.2
   96.86 +	* ntfs-3g => 2009.11.14
   96.87 +	* libboost => 1.41.0
   96.88 +	* wormux => 0.8.5
   96.89 +	* vte => 0.23.1
   96.90 +	* sakura => 2.3.6
   96.91 +	* jfsutils => 1.1.14
   96.92 +	* emelfm2 => 0.7.1
   96.93 +	* leafpad => 0.8.17
   96.94 +	* popt => 1.15
   96.95 +	* libmodplug => 0.8.7
   96.96 +	* espeak => 1.42.04
   96.97 +	* libffi => 3.0.9
   96.98 +	* udev => 150
   96.99 +	* cyrus-sasl => 2.1.23
  96.100 +	* rsync => 3.0.7
  96.101 +	* mpd => 0.15.7
  96.102 +	* mpc => 0.19
  96.103 +	* ario => 1.4.2
  96.104 +	* slitaz-bootscripts => 3.2
  96.105 +	* eet => 1.2.3
  96.106 +	* e17 => 2009.12.02
  96.107 +	* enlightenment => 2009.12.02
  96.108 +	* pidgin => 2.6.5
  96.109 +	* dnsmasq => 2.51
  96.110 +	* get-virtualbox => 1.01
  96.111 +	* bind => 9.6.1-P2
  96.112 +
  96.113 +===== Improvements =====
  96.114 +
  96.115 +  * slitaz-tools (3.4) - Lots of fixes and improvements
  96.116 +  * tazpkg (3.2) - Box is much faster and deps auto-installed
  96.117 +  * slitaz-boot-scripts (3.2) - WPA connections are much faster, boot time is logged and Xorg is autoconfigured at boot for any Live systems using it
  96.118 +  * Package database for the Cooking version: 2226 (+ 835 from 2.0)
  96.119 +
  96.120 +===== Bugs =====
  96.121 +
  96.122 +
  96.123 +^   Activity   ^    Open   ^    Closed  ^
  96.124 +|    Bugs      |     58    |      50    |
  96.125 +|    Features  |     37    |      21    |  
  96.126 +|    Tasks     |     9     |      38    |
  96.127 +
  96.128 +
  96.129 +	* Based on current figures
  96.130 +
  96.131 +===== Cartoon =====
  96.132 +
  96.133 +{{http://people.slitaz.org/~paul/cartoons/cartoon%236.png}}
  96.134 +
  96.135 +
  96.136 +===== Tips and Tricks =====
  96.137 +
  96.138 +	* The Many Uses of Screen: http://www.serverwatch.com/tutorials/article.php/3838961/The-Many-Uses-of-Screen.htm	
  96.139 +
  96.140 +===== Online =====
  96.141 +
  96.142 +	* Slitaz Linux - Zero to Distro in 30MB!: http://linuxologist.com/reviews/slitaz-linux-zero-to-distro-in-30-mb/		
  96.143 +
  96.144 +===== Old Issues =====
  96.145 +
  96.146 +       * Click [[en:newsletter:oldissues|here]]
  96.147 \ No newline at end of file
    97.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    97.2 +++ b/pages/en/newsletter/oldissues/15.txt	Sat Feb 26 12:17:18 2011 +0000
    97.3 @@ -0,0 +1,112 @@
    97.4 +====== Monthly Newsletter - Issue 15 ======
    97.5 +Lang:[[cn:handbook:newsletter|cn]] [[en:newsletter:start|en]]
    97.6 +
    97.7 +    * Written on 27th February 2010
    97.8 +
    97.9 +===== Latest News =====
   97.10 +
   97.11 +    * SliTaz Cooking 20100221 released
   97.12 +    * Newsletter translated into Chinese (thanks draplater)
   97.13 +
   97.14 +===== New Packages =====
   97.15 +
   97.16 +    * vim-tiny
   97.17 +    * smbfs
   97.18 +    * libsasl
   97.19 +    * libsasl-modules
   97.20 +    * libcomerr3
   97.21 +    * libkrb5support
   97.22 +    * cgdb
   97.23 +    * ccache
   97.24 +    * distcc
   97.25 +    * xorg-xf86-input-evtouch
   97.26 +    * xorg-xf86-input-microtouch
   97.27 +    * xorg-xf86-input-mutouch
   97.28 +    * open-iscsi
   97.29 +    * liblzma
   97.30 +    * pidgin-libnotify
   97.31 +    * xfce4-taskmanager
   97.32 +    * xfce4-ristretto
   97.33 +    * parole
   97.34 +    * xfmpc
   97.35 +    * xorg-xf86-input-void
   97.36 +    * hal-scripts
   97.37 +    * xorg-xf86-input-plpevtouch
   97.38 +    * xfmedia
   97.39 +    * dotconf
   97.40 +    * speech-dispatcher
   97.41 +    * yasr
   97.42 +    * ncdu
   97.43 +    * gfortran
   97.44 +    * libgfortran
   97.45 +    * octave
   97.46 +    * fusecloop
   97.47 +    * zsync
   97.48 +    * tinc
   97.49 +    * cloudvpn
   97.50 +    * antiword
   97.51 +    * l2tpd
   97.52 +    * rp-lstp
   97.53 +    * sctp-tools
   97.54 +    * libsctp
   97.55 +    * nat-tester
   97.56 +    * evilvte
   97.57 +    * lrzip
   97.58 +    * wipe
   97.59 +    * fsarchiver
   97.60 +    * perl-gd
   97.61 +
   97.62 +===== Updated  Packages =====
   97.63 +
   97.64 +    * seamonkey => 2.0.2
   97.65 +    * ncmpcpp => 0.5
   97.66 +    * claws-mail-*
   97.67 +    * gtkhtkl-viewer => 0.26
   97.68 +    * rssyl => 0.26
   97.69 +    * vala => 0.7.9
   97.70 +    * mpd => 0.15.8
   97.71 +    * libxml2 => 2.7.6
   97.72 +    * mp => 5.1.3
   97.73 +    * scite => 2.01
   97.74 +    * beaver => 0.4.0rc1
   97.75 +    * xvkbd => 3.1
   97.76 +    * zim => 0.29
   97.77 +    * mplayer-svn => 30605
   97.78 +    * ntfs-3g => 2010.1.16
   97.79 +    * xterm => 255
   97.80 +    * lxpanel => 0.5.5
   97.81 +
   97.82 +===== Improvements =====
   97.83 +
   97.84 +    * tazlito (3.0) - Easier to customize LiveCD, GUI refactored, fixes and misc improvements
   97.85 +    * slitaz-base-files (3.1) - 2 new scripts (man,ldd), OOO looks better and UTF-8
   97.86 +    * slitaz-tools (3.5) - Better wifibox scan, UTF-8 locale with tazlocale, installer improved
   97.87 +    * slitaz-doc (3.1) - Now provides a getting started guide
   97.88 +
   97.89 +===== Bugs =====
   97.90 +
   97.91 +
   97.92 +^   Activity   ^    Open   ^    Closed  ^
   97.93 +|    Bugs      |     68    |      57    |
   97.94 +|    Features  |     36    |      24    |  
   97.95 +|    Tasks     |      8    |      39    |
   97.96 +
   97.97 +
   97.98 +    * Based on current figures
   97.99 +
  97.100 +===== Cartoon =====
  97.101 +
  97.102 +{{http://people.slitaz.org/~paul/cartoons/cartoon%237.png}}
  97.103 +
  97.104 +
  97.105 +===== Tips and Tricks =====
  97.106 +
  97.107 +    * How do I run a remote Linux desktop in Windows 7: http://blogs.techrepublic.com.com/window-on-windows/?p=2138	
  97.108 +
  97.109 +===== Online =====
  97.110 +
  97.111 +    * SliTaz Guide for survival (Live Linux) CD USB flash - http://www.fixya.com/support/r3885135-slitaz_guide_survival_live_linux_cd_usb			
  97.112 +
  97.113 +===== Old Issues =====
  97.114 +
  97.115 +    * Click [[en:newsletter:oldissues|here]]
  97.116 \ No newline at end of file
    98.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    98.2 +++ b/pages/en/newsletter/oldissues/16.txt	Sat Feb 26 12:17:18 2011 +0000
    98.3 @@ -0,0 +1,89 @@
    98.4 +====== Monthly Newsletter - Issue 16 ======
    98.5 +Lang:[[cn:handbook:newsletter|cn]] [[en:newsletter:start|en]]
    98.6 +
    98.7 +	* Written on 5th April 2010
    98.8 +
    98.9 +===== Latest News =====
   98.10 +
   98.11 +	* SliTaz version 3.0 released
   98.12 +
   98.13 +===== New Packages =====
   98.14 +
   98.15 +	* busybox-static
   98.16 +	* httpfs-fuse-static
   98.17 +	* ctags
   98.18 +	* nss
   98.19 +	* yad
   98.20 +	* xorg-xf86-video-openchrome
   98.21 +	* samba-common
   98.22 +	* vym
   98.23 +	* perl-net-xwhois
   98.24 +	* rgzip
   98.25 +	* sslh
   98.26 +
   98.27 +===== Updated  Packages =====
   98.28 +
   98.29 +	* ntfs-3g => 2010.1.16
   98.30 +	* tor => 2.1.23
   98.31 +	* lxpanel => 0.5.5
   98.32 +	* task => 1.9.0
   98.33 +	* libgphoto2 => 2.4.8
   98.34 +	* libsoup => 2.29.91
   98.35 +	* mplayer-svn => 30817
   98.36 +	* libdevmapper => 1.02.44
   98.37 +	* cryptsetup => 1.1.0
   98.38 +	* bluez => 4.62
   98.39 +	* midori => 0.2.4
   98.40 +	* wvdial => 1.61
   98.41 +	* ppp-* => 2.4.5
   98.42 +	* squid => STABLE25
   98.43 +	* xorg-xf86-video-intel => 2.7.1
   98.44 +	* privoxy => 3.0.16-stable
   98.45 +	* sudo => 1.7.2p5
   98.46 +	* lighttpd => 1.4.26
   98.47 +	* openssh => 5.4p1
   98.48 +	* sftp-server => 5.4p1
   98.49 +	* xterm => 256
   98.50 +	* nano => 2.2.3
   98.51 +	* isomaster => 1.3.7
   98.52 +	* mhwaveedit => 1.4.18
   98.53 +	* gtk-gnutella => 0.96.8
   98.54 +
   98.55 +===== Improvements =====
   98.56 +
   98.57 +	* tazlito (3.2) - box can now generate loram and loram/web
   98.58 +	* slitaz-base-files (3.2) - release notes added
   98.59 +	* slitaz-tools (3.8) - many improvements, po edits and fixes
   98.60 +	* slitaz-doc (3.2) - release notes updated
   98.61 +	* slitaz-boot-scripts (3.2) - updated
   98.62 +	* slitaz-configs - small improvements
   98.63 +	* slitaz-dev-tools - updated
   98.64 +	* tazusb - ext2 and fat32 formatting added
   98.65 +	* tazpkg - gui improvements and bug fixes
   98.66 +
   98.67 +===== Bugs =====
   98.68 +
   98.69 +
   98.70 +^   Activity   ^    Open   ^    Closed  ^
   98.71 +|    Bugs      |     85    |      73    |
   98.72 +|    Features  |     35    |      29    |  
   98.73 +|    Tasks     |     26    |      43    |
   98.74 +
   98.75 +
   98.76 +	* Based on current figures
   98.77 +
   98.78 +===== Cartoon =====
   98.79 +
   98.80 +{{http://people.slitaz.org/~paul/cartoons/cartoon%238.png}}
   98.81 +
   98.82 +===== Tips and Tricks =====
   98.83 +
   98.84 +	* A System Monitoring Tool Primer: http://certcities.com/editorial/columns/story.asp?EditorialsID=413	
   98.85 +
   98.86 +===== Online =====
   98.87 +
   98.88 +	* Greetings from SliTaz 3.0 - http://kmandla.wordpress.com/2010/03/29/greetings-from-slitaz-3-0/			
   98.89 +
   98.90 +===== Old Issues =====
   98.91 +
   98.92 +    * Click [[en:newsletter:oldissues|here]]
   98.93 \ No newline at end of file
    99.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    99.2 +++ b/pages/en/newsletter/oldissues/17.txt	Sat Feb 26 12:17:18 2011 +0000
    99.3 @@ -0,0 +1,203 @@
    99.4 +====== Monthly Newsletter - Issue 17 ======
    99.5 +Lang:[[cn:newsletter:start|cn]] [[en:newsletter:start|en]] [[fr:newsletter:start|fr]]
    99.6 +
    99.7 +	* Written on 9th May 2010
    99.8 +
    99.9 +===== Latest News =====
   99.10 +
   99.11 +        * SliTaz 'Summer of Documentation' 
   99.12 +
   99.13 +===== New Packages =====
   99.14 +
   99.15 +	* aria2
   99.16 +	* exo
   99.17 +	* gtkperf
   99.18 +	* liblinebreak
   99.19 +	* fbreader
   99.20 +	* enigma
   99.21 +	* xfce4-notification
   99.22 +	* mountlo
   99.23 +	* speedometer
   99.24 +	* python-urwid
   99.25 +	* geequie
   99.26 +	* mpc-library
   99.27 +	* cmatrix
   99.28 +	* ffmpeg-svn
   99.29 +	* get-prince
   99.30 +	* get-msttcorefonts
   99.31 +	* gen-init-cpio
   99.32 +	* wikiss
   99.33 +	* groff
   99.34 +	* linmodem-hsfmodem
   99.35 +
   99.36 +===== Updated  Packages =====
   99.37 +
   99.38 +	* evilvte => 0.4.6
   99.39 +	* yad => 0.2.0
   99.40 +	* freetype => 2.3.12
   99.41 +	* lrzip => 0.45
   99.42 +	* mpfr => 2.4.2
   99.43 +	* gmp => 4.3.2
   99.44 +	* binutils => 2.20.1
   99.45 +	* linux => 2.6.33.2
   99.46 +	* libbfd => 2.20.1
   99.47 +	* gcc => 4.5.0
   99.48 +	* glibc => 2.11.1
   99.49 +	* broadcom-wl => 5.60.48.36
   99.50 +	* pixman => 0.16.0
   99.51 +	* vala => 0.7.10
   99.52 +	* libgmp = 4.5.0
   99.53 +	* autoconf => 2.65
   99.54 +	* coreutils => 8.4
   99.55 +	* dillo => 2.2
   99.56 +	* lxtask => 0.1.3
   99.57 +	* bison => 2.4.2
   99.58 +	* cmake => 2.6.4
   99.59 +	* cpio => 2.11
   99.60 +	* libxml2 => 2.7.7
   99.61 +	* abiword => 2.8.4
   99.62 +	* libart-lgpl =>2.3.21
   99.63 +	* mpd => 0.15.9
   99.64 +	* ncmpcpp => 0.5.3
   99.65 +	* dstat = 0.7.1
   99.66 +	* openssl => 1.0.0
   99.67 +	* openssh => 5.5p1
   99.68 +	* libssl => 1.0.0
   99.69 +	* xorg-*proto => 1.2.0
   99.70 +	* libcrypto => 1.0.0
   99.71 +	* libdrm => 2.4.20
   99.72 +	* xorg-lib* => various
   99.73 +	* mesa => 7.8.1
   99.74 +	* xorg-server => 1.8.0
   99.75 +	* sftp-server => 5.5p1
   99.76 +	* ndiswrapper => 1.56
   99.77 +	* xorg-* => various
   99.78 +	* xorg-xf86-video-* => various
   99.79 +	* zile => 2.3.15
   99.80 +	* kismet => 2010-01-R1
   99.81 +	* emacs-pkg-lua-mode => 20100404
   99.82 +	* hal-info => 20091130
   99.83 +	* libedit => 3.0
   99.84 +	* pm-utils => 1.2.6.1
   99.85 +	* boxbackup-* => 0.11rc8
   99.86 +	* curl => 7.20.1
   99.87 +	* wine => 1.1.43
   99.88 +	* sylpheed => 3.0.2
   99.89 +	* cairo => 1.8.10
   99.90 +	* nvidia => 195.36
   99.91 +	* linmodem => 2.1.80~20091225
   99.92 +	* fuse => 2.8.4
   99.93 +	* git => 1.7.1
   99.94 +	* vlc => 1.0.6
   99.95 +	* ffmpeg => 0.5.1
   99.96 +	* mercurial => 1.5.2
   99.97 +	* subversion => 1.6.11
   99.98 +	* zlib => 1.2.5
   99.99 +	* sqlite => 3.6.23.1
  99.100 +	* tcl => 8.5.8
  99.101 +	* conky => 1.8.0
  99.102 +	* audacity => 1.3.12
  99.103 +	* asunder => 1.9.3
  99.104 +	* grsync => 1.1.0
  99.105 +	* audiofile => 0.2.7
  99.106 +	* lguest => 2.6.33.2
  99.107 +	* libwebkit => 1.2.0
  99.108 +	* webkit-web-inspector => 1.2.0
  99.109 +	* parted => 2.2
  99.110 +	* gparted => 0.5.2
  99.111 +	* grub2 => 1.98
  99.112 +	* cmake => 2.8.1
  99.113 +	* glib => 2.25.2
  99.114 +	* libgio => 2.25.2
  99.115 +	* pango => 1.28.0
  99.116 +	* bazaar => 2.1.0
  99.117 +	* avidemux => 2.5.2
  99.118 +	* cdrkit => 1.1.10
  99.119 +	* readom -> 1.1.10
  99.120 +	* atk => 1.30.0
  99.121 +	* aircrack-ng => 1.1
  99.122 +	* gtk+ => 2.20.1
  99.123 +	* firefox => 3.6.3
  99.124 +	* irssi => 0.8.15
  99.125 +	* bluefish => 2.0.0
  99.126 +	* btrfs-progs => 0.19
  99.127 +	* libtool => 2.2.6b
  99.128 +	* e2fsprogs => 1.41.11
  99.129 +	* menu-cache => 0.3.2
  99.130 +	* openbox => 3.4.11.1
  99.131 +	* mtpaint => 3.31
  99.132 +	* clamav => 0.96
  99.133 +	* tor => 0.2.1.26
  99.134 +	* openal => 1.2.854
  99.135 +	* bzip2 => 1.0.5
  99.136 +	* bzlib => 1.0.5
  99.137 +	* gaijim => 0.13.4
  99.138 +	* gtkpod => 0.9.16
  99.139 +	* neon => 0.29.3
  99.140 +	* bind => 9.7.0-P1
  99.141 +	* goffice => 0.8.2
  99.142 +	* libgsf => 1.14.16
  99.143 +	* transmission-* => 1.93
  99.144 +	* glibmm => 2.24.2
  99.145 +	* libgiomm => 2.24.2
  99.146 +	* cariomm => 1.8.4
  99.147 +	* pangomm => 2.26.2
  99.148 +	* gtkmm => 2.20.3
  99.149 +	* pkg-config => 0.23
  99.150 +	* pmount => 0.9.20
  99.151 +	* gnutls => 2.8.6
  99.152 +	* perl-net-ssleay => 1.36
  99.153 +	* dahdi-* => 2.3.0
  99.154 +	* x11vnc-* => 0.9.10
  99.155 +	* asterisk => 1.6.2.7
  99.156 +	* diffutils => 3.0
  99.157 +	* cups-pam => 1.4.2
  99.158 +	* davfs2 => 1.4.6
  99.159 +	* ruby => 1.9.1
  99.160 +	* ptlib => 2.6.5
  99.161 +	* opal => 3.6.6
  99.162 +	* ekiga => 3.2.6
  99.163 +	* seamonkey => 2.0.4
  99.164 +	* linmodem-slmodem => 2.9.11-20100303
  99.165 +	* depmod => 3.11.1
  99.166 +	* module-init-tools =>3.11.1
  99.167 +	* patch => 2.6.1
  99.168 +	* wireshark => 1.2.8
  99.169 +	* testdisk => 6.11.3
  99.170 +	* file => 5.04
  99.171 +	* libmagic => 5.04
  99.172 +	* pidgin => 2.6.6
  99.173 +	* claws-mail-* => various
  99.174 +	* gtkhtml2-viewer => 2.27
  99.175 +	* rssl => 0.27
  99.176 +
  99.177 +===== Improvements =====
  99.178 +
  99.179 +	* New toolchain 
  99.180 +	* tazwok updated (3.2)
  99.181 +
  99.182 +===== Bugs =====
  99.183 +
  99.184 +^   Activity   ^    Open   ^    Closed  ^
  99.185 +|    Bugs      |     94    |      73    |
  99.186 +|    Features  |     37    |      29    |  
  99.187 +|    Tasks     |      27   |      43    |
  99.188 +
  99.189 +
  99.190 +	* Based on current figures 
  99.191 +
  99.192 +===== Cartoon =====
  99.193 +
  99.194 +{{http://people.slitaz.org/~paul/cartoons/cartoon%239.png}}
  99.195 +
  99.196 +===== Tips and Tricks =====
  99.197 +
  99.198 +	*  How-To: Grep Tricks for Linux Users: http://www.itworld.com/it-managementstrategy/106032/how-to-grep-tricks-linux-users		
  99.199 +
  99.200 +===== Online =====
  99.201 +
  99.202 +	* SliTaz Linux 3.0 lends credence to the phrase “Small but Powerful” - http://www.linuxcritic.com/slitaz-linux-30-lends-credence-phrase-small-powerful/				
  99.203 +
  99.204 +===== Old Issues =====
  99.205 +
  99.206 +	* Click [[en:newsletter:oldissues|here]]
  99.207 \ No newline at end of file
   100.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   100.2 +++ b/pages/en/newsletter/oldissues/18.txt	Sat Feb 26 12:17:18 2011 +0000
   100.3 @@ -0,0 +1,163 @@
   100.4 +====== Monthly Newsletter - Issue 18 ======
   100.5 +Lang:[[cn:newsletter:start|cn]] [[en:newsletter:start|en]] [[fr:newsletter:start|fr]]
   100.6 +
   100.7 +	* Written on 11th July 2010
   100.8 +
   100.9 +===== Latest News =====
  100.10 +
  100.11 +        * SliTaz moves to new FSF server
  100.12 +
  100.13 +===== New Packages =====
  100.14 +
  100.15 +	* qt4-phonon
  100.16 +	* php-curl
  100.17 +	* libegl-mesa
  100.18 +	* emacs po-mode
  100.19 +	* gimp-dev
  100.20 +	* libburn
  100.21 +	* libisofs
  100.22 +	* xfburn
  100.23 +	* liferea
  100.24 +	* arora
  100.25 +	* libcanberra
  100.26 +	* xvidcore
  100.27 +	* barcode
  100.28 +	* echinus
  100.29 +	* gtk-theme-switch
  100.30 +	* gtk-engines-rezlooks
  100.31 +	* deadbeef
  100.32 +	* linux-logfs
  100.33 +	* linux-configfs
  100.34 +	* linux-toshiba
  100.35 +	* linux-dlm
  100.36 +	* qiv
  100.37 +	* normalize
  100.38 +	* python-pybluez
  100.39 +	* attica
  100.40 +	* wxpython
  100.41 +	* strigi
  100.42 +	* gammu
  100.43 +	* ypserv
  100.44 +	* yp-tools
  100.45 +	* ypbind-mt
  100.46 +	* nis
  100.47 +	* git-gui
  100.48 +	* cpufrequtils
  100.49 +	* python-mygpoclient
  100.50 +	* gpodder
  100.51 +	* turnserver
  100.52 +	* osip
  100.53 +	* exosip
  100.54 +	* linphone
  100.55 +	* bygfoot
  100.56 +
  100.57 +===== Updated  Packages =====
  100.58 +
  100.59 +	* claws-mail-extras => 3.7.6
  100.60 +	* boxbackup => 0.11rc8
  100.61 +	* yad => 0.2.1
  100.62 +	* zile => 2.3.1.6
  100.63 +	* lives => 1.3.3
  100.64 +	* wine => 1.1.44
  100.65 +	* aria2 => 1.9.3
  100.66 +	* slang => 2.2.2
  100.67 +	* libpng => 1.2.43
  100.68 +	* tint2 => 0.9
  100.69 +	* emelfm2 => 0.7.2
  100.70 +	* pngcrush => 1.7.10
  100.71 +	* optipng => 0.6.4
  100.72 +	* yasm => 1.0.0
  100.73 +	* nasm => 2.08.01
  100.74 +	* gfortran => 4.5.0
  100.75 +	* libarchive => 2.8.3
  100.76 +	* pidgin => 2.7.1
  100.77 +	* gettext => 0.18
  100.78 +	* linux => 2.6.34
  100.79 +	* lguest => 2.6.34
  100.80 +	* iptables => 1.4.7
  100.81 +	* emacs => 23.2
  100.82 +	* mplayer-svn => 31179
  100.83 +	* goffice => 0.8.3
  100.84 +	* xvkbd => 3.2
  100.85 +	* libxcb => 1.6
  100.86 +	* xcb-proto => 1.6
  100.87 +	* xorg-xf86-video-{openchrome, nv, s3, neomagic, mga}
  100.88 +	* catalyst => 10.4
  100.89 +	* midori => 0.2.6
  100.90 +	* libwebkit => 1.2.1
  100.91 +	* elinks => 0.11.7
  100.92 +	* webkit-web-inspector => 1.2.1
  100.93 +	* avidemux => 2.5.3
  100.94 +	* yasm => 1.0.1
  100.95 +	* awesome => 3.4.5
  100.96 +	* pekwm => 0.1.12
  100.97 +	* bastet => 0.43
  100.98 +	* glibc => 2.11.2
  100.99 +	* sudoku-savant => 1.3
 100.100 +	* e2fsprogs => 1.41.12
 100.101 +	* minicom => 2.4
 100.102 +	* udev => 156
 100.103 +	* nscd => 2.10.2
 100.104 +	* task => 1.9.1
 100.105 +	* clamav => 0.96.1
 100.106 +	* vorbis-tools => 1.4.0
 100.107 +	* libogg => 1.2.0
 100.108 +	* libvorbis => 1.3.1
 100.109 +	* libtheora => 1.1.1
 100.110 +	* parted => 2.3
 100.111 +	* alsa-lib => 1.0.23
 100.112 +	* scribus => 1.3.7
 100.113 +	* busybox => 1.17.0
 100.114 +	* xfce4-taskmanager => 1.0.0
 100.115 +	* geany => 0.19
 100.116 +	* p7zip => 9.13
 100.117 +	* ario => 1.4.4
 100.118 +	* sudo => 1.7.2p7
 100.119 +	* fetchmail => 6.3.17
 100.120 +	* usbutils => 0.86
 100.121 +	* libusb => 1.0.8
 100.122 +	* libusb-compact => 0.1.3
 100.123 +	* amsn => 0.98.3
 100.124 +	* amule => 2.2.6
 100.125 +	* libxml2-tools => 2.7.7
 100.126 +	* osmo => 0.2.10
 100.127 +	* dmsetup => 1.02.44
 100.128 +	* bluez-dev =>4.62
 100.129 +	* nscd => 2.11.2
 100.130 +	* vte => 0.25.1
 100.131 +	* krb5 => 1.8.2
 100.132 +	* strace => 4.5.20
 100.133 +	* pyqt-x11-gpl => 4.7.3
 100.134 +	* speex => 1.2rc1
 100.135 +
 100.136 +===== Improvements =====
 100.137 +
 100.138 +	* tazwok updated (3.2.1)
 100.139 +	* slitaz-tools updated (3.8.1)
 100.140 +	* slitaz-boot-scripts updated (3.4.1)
 100.141 +
 100.142 +===== Bugs =====
 100.143 +
 100.144 +^   Activity   ^    Open   ^    Closed  ^
 100.145 +|    Bugs      |     101    |      75    |
 100.146 +|    Features  |     37    |      29    |  
 100.147 +|    Tasks     |      28   |      43    |
 100.148 +
 100.149 +
 100.150 +	* Based on current figures 
 100.151 +
 100.152 +===== Cartoon =====
 100.153 +
 100.154 +{{http://people.slitaz.org/~paul/cartoons/cartoon%2310.png}}
 100.155 +
 100.156 +===== Tips and Tricks =====
 100.157 +
 100.158 +	*  Roundup - Text Based Text Editors: http://fosswire.com/post/2010/07/text-based-text-editors/		
 100.159 +
 100.160 +===== Online =====
 100.161 +
 100.162 +	* Slitaz Tutorials (youtube)  - http://www.youtube.com/watch%3Fv%3D6YQrBgNGQrw			
 100.163 +
 100.164 +===== Old Issues =====
 100.165 +
 100.166 +	* Click [[en:newsletter:oldissues|here]]
 100.167 \ No newline at end of file
   101.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   101.2 +++ b/pages/en/newsletter/oldissues/19.txt	Sat Feb 26 12:17:18 2011 +0000
   101.3 @@ -0,0 +1,154 @@
   101.4 +====== Monthly Newsletter - Issue 19 ======
   101.5 +Lang:[[cn:newsletter:start|cn]] [[en:newsletter:start|en]] [[fr:newsletter:start|fr]] [[ru:newsletter:start|ru]]
   101.6 +
   101.7 +    * Written on 29th August 2010
   101.8 +
   101.9 +===== Latest News =====
  101.10 +
  101.11 +    * Handbook translated and updated into Russian (thanks Lexeii, Onion, Cyril)
  101.12 +
  101.13 +===== New Packages =====
  101.14 +
  101.15 +    * hostapd
  101.16 +    * xfce4-dev-tools
  101.17 +    * tmux
  101.18 +    * tazwikiss
  101.19 +    * exiftool
  101.20 +    * libgtkimageview 
  101.21 +    * ufraw
  101.22 +    * macchanger
  101.23 +    * libcss
  101.24 +    * libwapcaplet
  101.25 +    * elfutils
  101.26 +    * lxrandr
  101.27 +    * lxterminal
  101.28 +    * masqmail
  101.29 +    * wbarconf
  101.30 +    * unrar
  101.31 +    * perl-rfc-rfc822-address
  101.32 +    * perl-parse-recdescent
  101.33 +    * perl-text-iconv
  101.34 +    * silc-server
  101.35 +    * nut
  101.36 +    * uclibc-cross-compiler
  101.37 +    * openttd
  101.38 +    * opengfx
  101.39 +    * sysstat
  101.40 +    * icecast
  101.41 +    * uget
  101.42 +    * glew
  101.43 +    * get-google-talkplugin
  101.44 +    * qemu-{arm,mips,ppc,x86}
  101.45 +    * puzzles
  101.46 +    * ruby-gtk2
  101.47 +    * thunderbird
  101.48 +    * thunderbird-langpack-*
  101.49 +
  101.50 +===== Updated  Packages =====
  101.51 +
  101.52 +    * sip => 4.10.2
  101.53 +    * busybox => 1.17.1
  101.54 +    * pidgen => 2.7.1
  101.55 +    * john => 1.7.6
  101.56 +    * isof => 4.83
  101.57 +    * chkrootkit => 0.49
  101.58 +    * libiec61883 => 1.2.0
  101.59 +    * logrotate => 3.7.9
  101.60 +    * calcurse => 2.8
  101.61 +    * nss-ldap => 265
  101.62 +    * pam-ldap => 185
  101.63 +    * c-client => 2007e
  101.64 +    * exo => 0.3.107
  101.65 +    * goffice => 0.8.6
  101.66 +    * gnumeric => 1.10.7
  101.67 +    * xfce4* => 4.6.2
  101.68 +    * thunar => 1.0.2
  101.69 +    * libxfcegui4 => 4.6.4
  101.70 +    * libraw1394 => 2.0.5
  101.71 +    * task => 1.9.2
  101.72 +    * fotoxx => 10.8
  101.73 +    * printoxx => 2.7
  101.74 +    * zim => 0.48
  101.75 +    * xorg-xf86-input-synaptics  => 1.2.99.1
  101.76 +    * keepass => 0.4.3
  101.77 +    * tmux => 1.3
  101.78 +    * py3k => 3.1.2
  101.79 +    * xchat => 3.8.8
  101.80 +    * xorg-xf86-input-elographics  => 1.2.4
  101.81 +    * xorg-xf86-input-plpevtch  => 0.5.0
  101.82 +    * beaver => 0.4.0
  101.83 +    * libmng => 1.0.10
  101.84 +    * netsurf => 2.5
  101.85 +    * memtest => 4.10
  101.86 +    * wine => 1.2
  101.87 +    * wesnoth => 1.8.3
  101.88 +    * gcc => 4.5.1
  101.89 +    * catalyst => 10.7
  101.90 +    * cpufrequtils => 008
  101.91 +    * exiftool => 8.27
  101.92 +    * dbus => 1.2.24
  101.93 +    * apache-ant => 1.8.1
  101.94 +    * krb5 => 1.8.3
  101.95 +    * libpng => 1.4.3
  101.96 +    * jpeg => 8b
  101.97 +    * lirc => 0.8.6
  101.98 +    * ecj => 3.6
  101.99 +    * dbus-glib => 0.86
 101.100 +    * dbus-python => 0.83.1
 101.101 +    * eggdbus => 0.6
 101.102 +    * Policykit => 0.97
 101.103 +    * GConf => 2.31.7
 101.104 +    * bazaar => 2.2.0
 101.105 +    * glib => 2.25.13
 101.106 +    * libftdi => 0.18
 101.107 +    * scite => 2.10
 101.108 +    * srcpd => 2.1.1
 101.109 +    * libgdiplus => 0.18
 101.110 +    * mono => 2.6.7
 101.111 +    * pixman => 0.18.0
 101.112 +    * icedtea6 => 1.8.1
 101.113 +    * pango => 1.28.1
 101.114 +    * freetype => 2.4.2
 101.115 +    * zile => 2.3.19
 101.116 +    * yad => 0.3.1
 101.117 +    * evince => 2.30.3
 101.118 +    * libproxy => 0.4.2
 101.119 +    * firefox => 3.6.8
 101.120 +    * qemu => 0.12.5
 101.121 +    * putty  =>0.60-2010-08-29
 101.122 +    * kismet  => 2010-07-R1
 101.123 +    * libedit => 20100424-3.0
 101.124 +    * pm-utils => 1.4.1
 101.125 +    * powertop => 1.13
 101.126 +    * xorg-xf86-video-neomagic => 1.2.5
 101.127 +
 101.128 +===== Improvements =====
 101.129 +
 101.130 +    * tazbb - add stable support for log.php
 101.131 +    * mirror-tools - add mirror-info web page
 101.132 +
 101.133 +===== Bugs =====
 101.134 +
 101.135 +^   Activity   ^    Open   ^    Closed  ^
 101.136 +|    Bugs      |     97    |     86     |
 101.137 +|    Features  |     39    |     31     |  
 101.138 +|    Tasks     |     26    |     33     |
 101.139 +
 101.140 +
 101.141 +* Based on current figures 
 101.142 +
 101.143 +===== Cartoon =====
 101.144 +
 101.145 +{{http://people.slitaz.org/~paul/cartoons/cartoon%2311.png}}
 101.146 +
 101.147 +===== Tips and Tricks =====
 101.148 +
 101.149 +    * Text editing with Nano made easy: http://tuxradar.com/content/text-editing-nano-made-easy	
 101.150 +
 101.151 +===== Online =====
 101.152 +
 101.153 +    * One floppy, dozens of tools  - http://kmandla.wordpress.com/2010/07/23/one-floppy-dozens-of-tools/		
 101.154 +
 101.155 +===== Old Issues =====
 101.156 +
 101.157 +    * Click [[en:newsletter:oldissues|here]]
 101.158 \ No newline at end of file
   102.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   102.2 +++ b/pages/en/newsletter/oldissues/20.txt	Sat Feb 26 12:17:18 2011 +0000
   102.3 @@ -0,0 +1,219 @@
   102.4 +====== Monthly Newsletter - Issue 20 ======
   102.5 +Lang:[[cn:newsletter:start|cn]] [[en:newsletter:start|en]] [[fr:newsletter:start|fr]] [[ru:newsletter:start|ru]]
   102.6 +
   102.7 +	* Written on 16th October 2010
   102.8 +
   102.9 +===== Latest News =====
  102.10 +
  102.11 +        * Scratchbook translated into Russian (thanks Lexeii, Onion, Cyril)
  102.12 +        * Over 400 packages updated
  102.13 +
  102.14 +
  102.15 +===== New Packages =====
  102.16 +
  102.17 +	* clucene
  102.18 +	* fbxkb
  102.19 +	* droid-font
  102.20 +	* uclibc
  102.21 +	* recorder
  102.22 +	* rt-source
  102.23 +	* fbida
  102.24 +	* cd-discid
  102.25 +	* rubyripper
  102.26 +	* grub4dos-linux
  102.27 +	* libtirpc
  102.28 +	* nfs-utils
  102.29 +	* rpcbind
  102.30 +	* surf
  102.31 +	* libplist
  102.32 +	* adeskbar
  102.33 +	* polipo
  102.34 +	* vidalia
  102.35 +	* aspell-da
  102.36 +	* zsnes
  102.37 +	* slsnif
  102.38 +	* scummvm
  102.39 +	* frogatto
  102.40 +	* xbill
  102.41 +	* devede
  102.42 +	* gen-gs
  102.43 +	* rawstudio
  102.44 +	* rsnapshot
  102.45 +	* stellarium
  102.46 +	* accessx
  102.47 +	* iron-linux
  102.48 +	* warzone2100
  102.49 +	* pwgen
  102.50 +	* ftgl
  102.51 +	* ilmbase
  102.52 +	* openexr
  102.53 +	* cinepaint
  102.54 +	* lincity-ng
  102.55 +	* chrpath
  102.56 +	* ldapvi
  102.57 +	* assaultcube
  102.58 +	* libdnet
  102.59 +	* xcircuit
  102.60 +	* gdk-pixbuf
  102.61 +	* winetricks
  102.62 +	* linux-api-headers
  102.63 +	* btanks
  102.64 +
  102.65 +===== Updated  Packages (abridged) =====
  102.66 +
  102.67 +	* rddtool => 1.4.4
  102.68 +	* transmission => 2.10
  102.69 +	* libwebkit => 1.24
  102.70 +	* vlc => 1.1.4
  102.71 +	* midori => 0.2.8
  102.72 +	* git => 1.7.3.1
  102.73 +	* mercurial => 1.6.4
  102.74 +	* abiword => 2.8.6
  102.75 +	* apache => 2.2.16
  102.76 +	* lighttpd => 1.4.28
  102.77 +	* clamav = 0.96.3
  102.78 +	* audacious => 2.4.0
  102.79 +	* asunder => 2.0
  102.80 +	* sudo => 1.7.4p4
  102.81 +	* goffice => 0.8.10
  102.82 +	* bluefish => 2.0.1
  102.83 +	* aria2 => 1.10.3
  102.84 +	* thunderbird => 3.1.3
  102.85 +	* firefox => 3.6.10
  102.86 +	* pkg-config => 0.25
  102.87 +	* automake => 1.11.1
  102.88 +	* tar => 1.23
  102.89 +	* bluez => 4.75
  102.90 +	* geany => 0.19.1
  102.91 +	* ntfs-3g => 2010.8.8
  102.92 +	* gimp => 2.6.11
  102.93 +	* babl => 0.1.2
  102.94 +	* gparted => 0.6.4
  102.95 +	* gegl => 0.1.2
  102.96 +	* gnumeric => 1.10.11
  102.97 +	* cups => 1.4.4
  102.98 +	* openssh => 5.6p1
  102.99 +	* openssl => 1.0.0a
 102.100 +	* buildbot => 0.8.1
 102.101 +	* cabextract => 1.3
 102.102 +	* pidgin => 2.7.3
 102.103 +	* seamonkey => 2.0.8
 102.104 +	* gphoto => 2.4.9
 102.105 +	* gtksourceview => 2.10.4
 102.106 +	* cdrdao => 1.2.3
 102.107 +	* chmlib => 0.40
 102.108 +	* chocolate-doom => 1.4.0
 102.109 +	* aaphoto => 0.38
 102.110 +	* dosbox => 0.74
 102.111 +	* hardinfo => 0.5.1
 102.112 +	* sqlite => 3.7.2
 102.113 +	* lcms => 0.19
 102.114 +	* lame => 3.98.4
 102.115 +	* centerim => 4.22.9
 102.116 +	* curl => 7.21.1
 102.117 +	* gnomeplayer => 0.9.9.2
 102.118 +	* mplayer => 1.0rc3
 102.119 +	* smplayer => 0.6.9
 102.120 +	* taglib => 1.6.3
 102.121 +	* easytag => 2.1.6
 102.122 +	* ddrescue => 1.13
 102.123 +	* cryptsetup => 1.1.3
 102.124 +	* poppler => 0.14.3
 102.125 +	* nano => 2.2.5
 102.126 +	* filezilla => 3.3.4.1
 102.127 +	* zsh => 4.3.10
 102.128 +	* xterm => 262
 102.129 +	* pixman => 0.18.4
 102.130 +	* wormux => 0.9.2.1
 102.131 +	* wpa_supplicant => 0.7.3
 102.132 +	* lxterminal => 0.1.9
 102.133 +	* lxappearance => 0.4.0
 102.134 +	* xine-lib => 1.1.19
 102.135 +	* grsync => 1.1.1
 102.136 +	* gpodder => 2.8
 102.137 +	* beaver => 0.4.1
 102.138 +	* fluxbox => 1.1.1
 102.139 +	* bluefish => 2.0.2
 102.140 +	* gtkspell => 2.0.16
 102.141 +	* bison => 2.4.3
 102.142 +	* m4 => 1.4.15
 102.143 +	* gawk => 3.1.8
 102.144 +	* ghostscript => 9.00
 102.145 +	* epeak => 1.44.05
 102.146 +	* jack-audio-connection-kit => 0.118.0
 102.147 +	* iptables => 1.4.9.1
 102.148 +	* gxine => 0.5.905
 102.149 +	* imagemagick => 6.6.4-10
 102.150 +	* dosfstools => 3.0.10
 102.151 +	* dialog => 1.1-20100428
 102.152 +	* cmake => 2.8.2
 102.153 +	* gettext => 0.18.1.1
 102.154 +	* gdb => 7.2
 102.155 +	* nitrogen => 1.5.1
 102.156 +	* readline => 6.1
 102.157 +	* gstreamer => 0.10.30
 102.158 +	* recordmydesktop => 0.3.8.1
 102.159 +	* samba => 3.5.6
 102.160 +	* wireshark => 1.4.1
 102.161 +	* wicd => 1.7.0
 102.162 +	* sylpheed => 3.0.3
 102.163 +	* bzip2 => 1.0.6
 102.164 +	* nmap => 5.21
 102.165 +	* pcre => 8.10
 102.166 +	* tiff => 3.9.4
 102.167 +	* git-gui => 0.13.0
 102.168 +	* homebank => 4.3
 102.169 +	* lxpanel => 0.5.6
 102.170 +	* tcl, tk => 8.5.9
 102.171 +	* mutt => 1.5.21
 102.172 +	* ruby => 1.9.2-p0
 102.173 +	* mirage => 0.9.5.1
 102.174 +	* mpg123 => 1.12.4
 102.175 +	* gnuplot => 4.4.0
 102.176 +	* feh => 1.9
 102.177 +	* parcelite => 0.9.2
 102.178 +	* awesome => 3.4.8
 102.179 +	* subversion => 1.6.13
 102.180 +	* make => 3.82
 102.181 +	* conky => 1.8.1
 102.182 +	* php => 5.2.14
 102.183 +	* postgresql => 9.0.1
 102.184 +	* atk => 1.32.0
 102.185 +	* cairo => 1.10.0
 102.186 +	* pango => 1.28.3
 102.187 +	* gtk+ => 2.22.0
 102.188 +	* wine =>1.2.1
 102.189 +	* hplip => 3.10.9
 102.190 +	* busybox => 1.17.3
 102.191 +	* curl => 7.21.2
 102.192 +	* xorg-server => 1.8.2
 102.193 +
 102.194 +===== Improvements =====
 102.195 +
 102.196 +	* Website updated (mailing list, artwork, sitemap)
 102.197 +
 102.198 +===== Bugs =====
 102.199 +
 102.200 +^   Activity   ^    Open   ^    Closed  ^
 102.201 +|    Bugs        |     102    |     86     |
 102.202 +|    Features  |     39      |     31     |  
 102.203 +|    Tasks       |     24      |     48     |
 102.204 +
 102.205 +
 102.206 +	* Based on current figures 
 102.207 +
 102.208 +===== Cartoon =====
 102.209 +
 102.210 +{{http://people.slitaz.org/~paul/cartoons/cartoon%231.png}}
 102.211 +
 102.212 +===== Tips and Tricks =====
 102.213 +
 102.214 +        * How To Use Bash Parameter Substitution Like A Pro: http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html
 102.215 +
 102.216 +===== Online =====
 102.217 +
 102.218 +        * Spotlight on Linux: SliTaz GNU/Linux 3.0  - http://www.linuxjournal.com/content/spotlight-linux-slitaz-gnulinux-30		
 102.219 +
 102.220 +===== Old Issues =====
 102.221 +
 102.222 +    * Click [[en:newsletter:oldissues|here]]
 102.223 \ No newline at end of file
   103.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   103.2 +++ b/pages/en/newsletter/oldissues/21.txt	Sat Feb 26 12:17:18 2011 +0000
   103.3 @@ -0,0 +1,282 @@
   103.4 +====== Monthly Newsletter - Issue 21 ======
   103.5 +Lang:[[cn:newsletter:start|cn]] [[en:newsletter:start|en]] [[es:newsletter:start|es]] [[fr:newsletter:start|fr]] [[ru:newsletter:start|ru]]
   103.6 +
   103.7 +	* Written on 5th December 2010
   103.8 +
   103.9 +===== Latest News =====
  103.10 +
  103.11 +        * Guides translated into Russian (thanks Lexeii, Onion, Cyril)
  103.12 +        * Over 400 packages updated
  103.13 +
  103.14 +===== New Packages =====
  103.15 +
  103.16 +        * libbonobo
  103.17 +        * rarian
  103.18 +        * libasyncns
  103.19 +        * bin86
  103.20 +        * hd2u
  103.21 +        * mupen64plus
  103.22 +        * pcsxr-svn
  103.23 +        * ladspa
  103.24 +        * raptor
  103.25 +        * liblrdf
  103.26 +        * libtar
  103.27 +        * hydrogen
  103.28 +        * bmpanel2
  103.29 +        * aubio
  103.30 +        * fftw
  103.31 +        * frei0r-plugins
  103.32 +        * liblo
  103.33 +        * mlt
  103.34 +        * fluidsynth
  103.35 +        * ardour
  103.36 +        * openshot
  103.37 +        * libquicktime
  103.38 +        * x264
  103.39 +        * mupdf
  103.40 +        * python-chardet
  103.41 +        * jbig2dep
  103.42 +        * openjpeg
  103.43 +        * gavl
  103.44 +        * swig
  103.45 +        * vde2
  103.46 +        * watchdog
  103.47 +        * goocanvas
  103.48 +        * portmidi
  103.49 +        * mixxx
  103.50 +        * singularity
  103.51 +        * lmms
  103.52 +        * deluge
  103.53 +        * tinyproxy
  103.54 +        * docbook-xml-{5,4.*}
  103.55 +        * docbook-xsl-{ns}
  103.56 +        * iasl
  103.57 +        * ndisc6
  103.58 +        * fop
  103.59 +        * flam3
  103.60 +        * electricsheep
  103.61 +        * nanochess
  103.62 +        * p4wn
  103.63 +        * checkers
  103.64 +        * othello
  103.65 +        * hatenarunner
  103.66 +        * chess3d
  103.67 +        * sudoku
  103.68 +        * jstetris
  103.69 +        * virtualbox-ose
  103.70 +        * qtconfig
  103.71 +        * atkmm
  103.72 +        * perl-file-tail
  103.73 +        * txt2tags
  103.74 +        * udhcpc6-fake
  103.75 +        * lorcon
  103.76 +        * libnet
  103.77 +        * airpwn
  103.78 +        * icewm
  103.79 +        * cssc
  103.80 +        * aspell-pl
  103.81 +        * xorg-xf86-video-r128 6.8.1
  103.82 +        * libfm
  103.83 +        * pcmanfm2
  103.84 +        * atftp
  103.85 +        * aspell-nl
  103.86 +        * cherokee
  103.87 +        * linux-firmware
  103.88 +        * stella
  103.89 +        * sleuthkit
  103.90 +        * linux-nfsd 
  103.91 +        * linux-autofs
  103.92 +        * autofs
  103.93 +        * aufs
  103.94 +        * geoip
  103.95 +        * wavpack
  103.96 +        * libass
  103.97 +        * xorg-xf86-video-vmware
  103.98 +        * which
  103.99 +        * fcitx
 103.100 +        * python-notify
 103.101 +        * decibel
 103.102 +        * stardict
 103.103 +        * firefox-langpack-zh_CN
 103.104 +        * wordpress
 103.105 +        * drupal
 103.106 +        * perl-locale-gettext
 103.107 +        * perl-yaml
 103.108 +        * libsdl-perl
 103.109 +        * libsdl-pango
 103.110 +        * frozen-bubble
 103.111 +        * vnc2flv
 103.112 +        * linux-iscsi
 103.113 +        * aescrypt
 103.114 +        * whois
 103.115 +        * zvbi
 103.116 +        * meld
 103.117 +        * libglademm
 103.118 +        * visualboyadvance
 103.119 +        * aiksaurus
 103.120 +        * lyx
 103.121 +
 103.122 +===== Updated  Packages (abridged) =====
 103.123 +
 103.124 +        * xorg => 1.9.2 
 103.125 +        * libsndfile => 1.0.23
 103.126 +        * wireshark => 1.4.2
 103.127 +        * curl => 7.21.2
 103.128 +        * libdrm => 2.4.22
 103.129 +        * mesa => 7.8.2
 103.130 +        * mpd => 1.15.15
 103.131 +        * ncmpcpp => 5.5
 103.132 +        * transmission => 2.12
 103.133 +        * mtools => 4.0.14
 103.134 +        * pyopenssl => 0.10
 103.135 +        * pycairo => 1.8.10
 103.136 +        * pygobject => 2.26.0
 103.137 +        * pygtk => 2.22.0
 103.138 +        * cdrkit => 1.1.11
 103.139 +        * openldap => 2.4.23
 103.140 +        * viewnoir => 1.0
 103.141 +        * apr-util => 1.3.10
 103.142 +        * apache => 2.2.17
 103.143 +        * libsamplerate => 0.1.7
 103.144 +        * dbus => 1.4.0
 103.145 +        * udev => 163
 103.146 +        * hal => 0.5.14
 103.147 +        * freeimage => 3141
 103.148 +        * vte => 0.27.2
 103.149 +        * coreutils => 8.6
 103.150 +        * mgetty => 1.1.37
 103.151 +        * firefox => 3.6.12
 103.152 +        * thunderbird => 3.0.15
 103.153 +        * icedtea6-{jdk,jre} => 1.9.1
 103.154 +        * libfirefox => 3.6.12
 103.155 +        * aria2 => 1.10.5
 103.156 +        * arora => 0.11.0
 103.157 +        * gnutls => 2.10.2
 103.158 +        * pidgin => 2.7.7
 103.159 +        * ffmpeg => 0.6.1
 103.160 +        * qemu => 0.13.0
 103.161 +        * ffplay => 0.6.1
 103.162 +        * nss => 3.12.8
 103.163 +        * vlc => 1.1.15
 103.164 +        * adeskbar => 0.4.2
 103.165 +        * python-pygame => 1.9.1release
 103.166 +        * libcap => 2.19
 103.167 +        * pam => 1.1.2
 103.168 +        * squirrelmail => 1.4.21
 103.169 +        * valgrind => 3.6.0
 103.170 +        * vala => 0.10.0
 103.171 +        * syslinux => 4.03
 103.172 +        * mono => 2.8.1
 103.173 +        * clamav => 0.96.5
 103.174 +        * scite => 2.22
 103.175 +        * seamonkey => 2.0.10
 103.176 +        * tar => 1.25
 103.177 +        * iptables => 1.4.10
 103.178 +        * poedit => 1.4.6.1
 103.179 +        * fotoxx => 10.12
 103.180 +        * dstat => 0.7.2
 103.181 +        * remind => 03.01.10
 103.182 +        * midori => 0.2.9
 103.183 +        * libvorbis => 1.3.2
 103.184 +        * mysql => 5.1.53
 103.185 +        * aria2 => 1.10.6
 103.186 +        * libpcap => 1.1.1
 103.187 +        * snort => 2.9.0.2
 103.188 +        * mtr => 0.80
 103.189 +        * ncdu => 1.7
 103.190 +        * inkscape => 0.48.0
 103.191 +        * mercurial => 1.7.2
 103.192 +        * dhcp => 4.2.0-P1
 103.193 +        * cmake => 2.8.3
 103.194 +        * linux 2.6.36
 103.195 +        * gnome-mplayer => 1.0.0
 103.196 +        * gecko-mediaplayer => 1.0.0
 103.197 +        * zim => 0.49
 103.198 +        * amule => r10365
 103.199 +        * squid => 3.1.9
 103.200 +        * alsaplayer => 0.99.81
 103.201 +        * zip => 3.0
 103.202 +        * ruby-gtk2 => 0.90.5
 103.203 +        * mc => 4.7.0.10
 103.204 +        * qt4 => 4.7.1
 103.205 +        * cups => 1.4.5
 103.206 +        * bluez => 4.80
 103.207 +        * perl-xml-parser => 2.40
 103.208 +        * privoxy => 3.0.17
 103.209 +        * glib => 2.26.1
 103.210 +        * gtk+ => 2.22.1
 103.211 +        * gphoto2 => 2.4.10
 103.212 +        * filezilla => 3.3.5.1
 103.213 +        * elinks => 0.13
 103.214 +        * pcmciautils => 017
 103.215 +        * pciutils => 3.1.7
 103.216 +        * usbutils => 0.91
 103.217 +        * pixman => 0.20.0
 103.218 +        * zenity => 2.32.1
 103.219 +        * claws-mail => 3.7.8
 103.220 +        * xane => 0.998
 103.221 +        * imagemagick => 6.6.5-9
 103.222 +        * libxml2 => 2.7.8
 103.223 +        * nano => 2.2.6
 103.224 +        * scribus => 1.3.8
 103.225 +        * busybox => 1.17.4
 103.226 +        * x11vnc => 0.9.12
 103.227 +        * uget => 1.6.1
 103.228 +        * subversion => 1.6.15
 103.229 +        * tor => 0.2.1.27
 103.230 +        * gnumeric => 1.10.12
 103.231 +        * dahdi-tools => 2.4.0
 103.232 +        * rpm4 => 4.8.1
 103.233 +        * hydra => 5.9
 103.234 +        * libsoup => 2.32.2
 103.235 +        * python => 2.7.1
 103.236 +        * gstreamer => 0.10.31
 103.237 +        * GConf => 2.32.1
 103.238 +        * bind => 9.7.2-P3
 103.239 +        * freetype => 2.4.4
 103.240 +        * openssl => 1.0.0c
 103.241 +        * geany => 0.19.2
 103.242 +        * gajim => 0.14.1
 103.243 +        * mpfr => 3.0.0p8
 103.244 +        * poppler => 0.14.5
 103.245 +        * pidgin-facebookchat => 1.69
 103.246 +        * wine => 1.2.2
 103.247 +        * twisted => 10.2.0
 103.248 +        * git => 1.7.3.3
 103.249 +
 103.250 +===== Improvements =====
 103.251 +
 103.252 +        * slitaz-tools (3.9.1) 
 103.253 +        * slitaz-tools-boxes (3.9.1)
 103.254 +        * slitaz-configs (4.0)
 103.255 +        * slitaz-base-files (4.1)
 103.256 +        * slitaz-doc (4.1)
 103.257 +        * tazpkg (4.1.1)
 103.258 +
 103.259 +===== Bugs =====
 103.260 +
 103.261 +\\
 103.262 +
 103.263 +^   Activity   ^    Open   ^    Closed  ^
 103.264 +|    Bugs        |     107    |     90     |
 103.265 +|    Features    |     41     |     32     |  
 103.266 +|    Tasks       |     24     |     48     |
 103.267 +
 103.268 +
 103.269 +	* Based on current figures 
 103.270 +
 103.271 +===== Cartoon =====
 103.272 +
 103.273 +{{http://people.slitaz.org/~paul/cartoons/cartoon%232.png}}
 103.274 +
 103.275 +===== Tips and Tricks =====
 103.276 +
 103.277 +        * Linux Server Troubleshooting With strace: http://www.linuxplanet.com/linuxplanet/tutorials/7229/1/
 103.278 +
 103.279 +===== Online =====
 103.280 +
 103.281 +        * SliTaz GNU/Linux 3.0 Screencast Review  - http://linuxfilesystem.com/uncategorized/slitaz-gnulinux-3-0-screencast-review	
 103.282 +
 103.283 +===== Old Issues =====
 103.284 +
 103.285 +        * Click [[en:newsletter:oldissues|here]]
 103.286 \ No newline at end of file
   104.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   104.2 +++ b/pages/en/newsletter/start.txt	Sat Feb 26 12:17:18 2011 +0000
   104.3 @@ -0,0 +1,246 @@
   104.4 +====== Monthly Newsletter - Issue 22 ======
   104.5 +Lang:[[cn:newsletter:start|cn]] [[start|en]] [[es:newsletter:start|es]] [[fr:newsletter:start|fr]] [[ru:newsletter:start|ru]]
   104.6 +
   104.7 +	* Written on 30th January 2011
   104.8 +
   104.9 +===== Latest News =====
  104.10 +
  104.11 +        * Website, Wiki, Labs updated
  104.12 +        * Newsletter translated into Spanish (thanks seacat)
  104.13 +
  104.14 +===== New Packages =====
  104.15 +
  104.16 +        * ecm
  104.17 +        * mdk3
  104.18 +        * airoscript-ng
  104.19 +        * php-dbase
  104.20 +        * pycurl
  104.21 +        * pidgin-musictracker
  104.22 +        * linapple
  104.23 +        * dvgrab
  104.24 +        * ogmrip
  104.25 +        * at
  104.26 +        * chntpw
  104.27 +        * disktype
  104.28 +        * fakeroot
  104.29 +        * xorg-xf86-input-vmmouse
  104.30 +        * caps
  104.31 +        * alsaequal
  104.32 +        * linux-without-modules
  104.33 +        * TeXmacs 
  104.34 +        * bzflag
  104.35 +        * pysqlite
  104.36 +        * celestia
  104.37 +        * perl-libwww
  104.38 +        * pyrex
  104.39 +        * pywebkitgtk
  104.40 +        * pyorbit
  104.41 +        * gnome-mime-data.
  104.42 +        * php-soap
  104.43 +        * phpvirtualbox
  104.44 +        * libmicrohttpd
  104.45 +        * gnome-vfs
  104.46 +        * fcitx-zm
  104.47 +        * gnome-python
  104.48 +        * miro
  104.49 +        * clisp
  104.50 +        * cowpatty
  104.51 +        * asleap
  104.52 +        * scrub
  104.53 +        * postfixadmin
  104.54 +        * igmpproxy
  104.55 +        * wyrd
  104.56 +        * pktstat
  104.57 +        * get-LibreOffice
  104.58 +        * weechat
  104.59 +        * qrencode
  104.60 +        * phpqrcode
  104.61 +        * perl-smtp-ssl
  104.62 +        * cairo-dock
  104.63 +        * cairo-dock-plugins
  104.64 +        * gambas2
  104.65 +        * util-linux-ng-setterm
  104.66 +        * yajl
  104.67 +        * urlgrabber
  104.68 +        * perl-text-csv
  104.69 +        * polkit
  104.70 +        * garcon
  104.71 +        * libxfce4ui
  104.72 +        * gzip
  104.73 +        * vzctl
  104.74 +        * vzquota
  104.75 +        * thunar-vfs
  104.76 +        * ovz-web-panel
  104.77 +        * sqlite3-ruby
  104.78 +        * xorg-makedepend
  104.79 +        * libQtTest
  104.80 +        * libssh
  104.81 +        * openmpi
  104.82 +        * shellinabox
  104.83 +        * freerdp
  104.84 +        * remminia
  104.85 +
  104.86 +===== Updated  Packages (abridged) =====
  104.87 +
  104.88 +        * scribus => 1.3.9
  104.89 +        * libogg => 1.2.2
  104.90 +        * gpodder => 2.12
  104.91 +        * gnutls => 2.10.4
  104.92 +        * feh => 1.11
  104.93 +        * xterm => 267
  104.94 +        * gst-plugins-good => 0.10.26
  104.95 +        * cairomm => 1.8.6
  104.96 +        * lvm2 => 2.02.81
  104.97 +        * clutter-gtk => 0.10.8
  104.98 +        * aria2 => 1.10.9
  104.99 +        * fotoxx => 11.01
 104.100 +        * whois => 5.0.10
 104.101 +        * py3k=> 3.1.3
 104.102 +        * firefox => 3.6.13
 104.103 +        * seamonkey => 2.0.11
 104.104 +        * thunderbird => 3.1.7
 104.105 +        * audacious => 2.4.3
 104.106 +        * transmission => 2.13
 104.107 +        * nasm => 2.09.04
 104.108 +        * cherokee => 1.0.18
 104.109 +        * libisofs => 0.6.40
 104.110 +        * libburn => 0.9.0
 104.111 +        * dhcp => 4.2.0-P2
 104.112 +        * pcre => 8.12
 104.113 +        * sqlite => 3.7.4
 104.114 +        * php => 5.2.17
 104.115 +        * docbook-xsl => 1.76.1
 104.116 +        * zenity => 2.32.1
 104.117 +        * gparted => 0.7.1
 104.118 +        * xorg-server => 1.9.3
 104.119 +        * buildbot => 0.8.2
 104.120 +        * beautifulsoup => 3.2.0
 104.121 +        * e2fsprogs => 1.41.14
 104.122 +        * mixxx => 1.8.2
 104.123 +        * curl => 7.21.3
 104.124 +        * mysql => 5.1.54
 104.125 +        * postgresql => 9.0.2
 104.126 +        * postfix => 2.8.0
 104.127 +        * freeciv => 2.2.4
 104.128 +        * git => 1.7.3.5
 104.129 +        * viewnoir => 1.1
 104.130 +        * drupal => 6.20
 104.131 +        * scite => 2.23
 104.132 +        * udev => 1.6.5
 104.133 +        * libdrm => 2.4.23
 104.134 +        * terminal => 0.4.5
 104.135 +        * evilvte => 0.4.7
 104.136 +        * bogofilter=> 1.2.2
 104.137 +        * bluez => 4.82
 104.138 +        * pyneighborhood => 0.5.3
 104.139 +        * lmms => 0.4.9
 104.140 +        * wipe=> 2.3.1
 104.141 +        * tor => 0.2.1.29
 104.142 +        * pidgin => 2.7.9
 104.143 +        * leafpad => 0.8.18.1
 104.144 +        * zsh => 4.3.11
 104.145 +        * snort => 2.9.0.3
 104.146 +        * parcellite => 0.9.3
 104.147 +        * busybox => 1.18.2
 104.148 +        * netatalk=> 2.1.5
 104.149 +        * lvm2 => 2.02.79
 104.150 +        * winetricks => 20110123
 104.151 +        * ethtool => 2.6.36
 104.152 +        * speedometer => 2.7
 104.153 +        * task => 1.9.3
 104.154 +        * units=> 1.88
 104.155 +        * cryptsetup => 1.2.0
 104.156 +        * deadbeef => 0.4.4
 104.157 +        * exiv => 0.20
 104.158 +        * zile => 2.3.21
 104.159 +        * sip => 4.12
 104.160 +        * fsarchiver => 0.6.12
 104.161 +        * ruby => 1.9.2-p136
 104.162 +        * mc => 4.7.5
 104.163 +        * vala => 0.10.2
 104.164 +        * mercurial => 1.7.3
 104.165 +        * wordpress => 3.0.4
 104.166 +        * elfutils=> 0.151
 104.167 +        * yad => 0.7.2
 104.168 +        * libwebkit => 1.2.6
 104.169 +        * rrdtool => 1.4.5
 104.170 +        * htop => 0.9
 104.171 +        * cups => 1.4.6
 104.172 +        * geany => 0.20
 104.173 +        * shell-fm => 0.7
 104.174 +        * bash=> 4.1
 104.175 +        * module-init-tools => 1.12
 104.176 +        * make => 3.82
 104.177 +        * coreutils => 0.9
 104.178 +        * isomaster => 1.3.8
 104.179 +        * ncmpcpp => 0.5.6
 104.180 +        * sudo => 1.7.4p5
 104.181 +        * wireshark => 1.4.3
 104.182 +        * nicotine  => 1.2.16
 104.183 +        * mlt => 0.6.0
 104.184 +        * mpc => 0.20
 104.185 +        * gnupg => 2.0.17
 104.186 +        * dbus => 1.4.1
 104.187 +        * file => 5.0.5
 104.188 +        * exo => 0.6.0
 104.189 +        * xfce4-* => 4.8.0
 104.190 +        * dmidecode => 2.11
 104.191 +        * gst-plugins-{good, bad, base, ugly} => 0.10.*
 104.192 +        * libdrm => 2.4.23
 104.193 +        * mesa => 7.10
 104.194 +        * linux => 2.6.37
 104.195 +        * aufs => 20110122
 104.196 +        * catalyst => 10.12
 104.197 +        * orage => 4.8.0
 104.198 +        * kismet => 2011-01-R1
 104.199 +        * murrine => 2011-01-R1
 104.200 +        * ntfs-3g => 2011.1.15
 104.201 +        * vlc => 1.1.6
 104.202 +        * openssh => 5.7p1
 104.203 +        * memtest => 4.20
 104.204 +        * inkscape => 0.48.1
 104.205 +        * nmap => 5.10
 104.206 +        * ddrescue  => 1.14
 104.207 +        * xz => 5.0.1
 104.208 +        * mplayer => 1.0rc4
 104.209 +        * xorg-xproto => 7.0.20
 104.210 +
 104.211 +===== Improvements =====
 104.212 +
 104.213 +        * slitaz-configs-base added (4.0) 
 104.214 +        * slitaz-tools (4.0.2)
 104.215 +        * slitaz-boot-scripts (3.4.3.1)
 104.216 +        * slitaz-configs (4.1)
 104.217 +        * slitaz-base-files (4.1.2)
 104.218 +        * tazpkg (4.2.3)
 104.219 +        * tazlito (3.3)
 104.220 +        * tazchroot (0.0.4)
 104.221 +        * libtaz (0.0.4)
 104.222 + 
 104.223 +===== Bugs =====
 104.224 +
 104.225 +\\
 104.226 +
 104.227 +^   Activity   ^    Open   ^    Closed  ^
 104.228 +|    Bugs        |     102    |     118    |
 104.229 +|    Features    |     44     |     43     |  
 104.230 +|    Tasks       |     22     |     79     |
 104.231 +
 104.232 +
 104.233 +	* Based on current figures 
 104.234 +
 104.235 +===== Cartoon =====
 104.236 +
 104.237 +{{http://people.slitaz.org/~paul/cartoons/cartoon%233.png}}
 104.238 +
 104.239 +===== Tips and Tricks =====
 104.240 +
 104.241 +        * Python for Newbies – Part1: http://temporaryland.wordpress.com/2011/01/26/python-for-newbies/
 104.242 +
 104.243 +===== Online =====
 104.244 +
 104.245 +        * Install the SliTaz operating system in VirtualBox  - http://www.unixweblog.com/2011/01/installing-linux-slitaz-small-30-mb-linux-operating-system-in-virtualbox/		
 104.246 +
 104.247 +===== Old Issues =====
 104.248 +
 104.249 +        * Click [[en:newsletter:oldissues|here]]
 104.250 \ No newline at end of file
   105.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   105.2 +++ b/pages/en/references/start.txt	Sat Feb 26 12:17:18 2011 +0000
   105.3 @@ -0,0 +1,13 @@
   105.4 +This category is to provide useful linux references/articles/bookmarks. Please feel free to add any topic that you think may be useful for the community. 
   105.5 +
   105.6 +===== Development ======
   105.7 +
   105.8 +  * Writing Shell scripts: http://linuxcommand.org/
   105.9 +  * ... 
  105.10 +
  105.11 +===== Linux References =====
  105.12 +
  105.13 +  * [[http://www.digilife.be/quickreferences/QRC/The%20One%20Page%20Linux%20Manual.pdf | One Page Manual]] (Not everything applies to Slitaz)
  105.14 +  * [[http://www.pixelbeat.org/cmdline.html|Another command line reference]]
  105.15 +  * Have a .tar.gz file? [[http://www.tuxfiles.org/linuxhelp/softinstall.html|Compiling Software in Linux]] - note you will probably need the //slitaz-toolchain// and a few //*-dev// packages (a few useful ones can be installed as //slitaz-dev-pkgs//.
  105.16 +  * [[http://www.howtogeek.com/tag/linux/|Linux How-To Articles, Tips, and Guides]] :: How-To Geek
  105.17 \ No newline at end of file
   106.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   106.2 +++ b/pages/en/scratchbook/start.txt	Sat Feb 26 12:17:18 2011 +0000
   106.3 @@ -0,0 +1,50 @@
   106.4 +====== Scratchbook ======
   106.5 +
   106.6 +Index of documents, step by step construction of a mini GNU/LINUX LiveCD and installation instructions. 
   106.7 +
   106.8 +===== Introduction =====
   106.9 +
  106.10 +The scratchbook allows you to track the creation of the first public release of SliTaz and make a trip to the heart of GNU/LINUX. You'll be able to customize your new system or create your own autonomous distro running in system memory (RAM) that's fully installable on a hard drive or USB key. Once started you'll be able to remove the CD-ROM and still have SliTaz working. SliTaz can also be used as an environment in which we can chroot or use the cdrom for multitasking. The only prerequisite is a host distribution in which you can store libraries, use a compiler and development tools, etc. The host system can be a chrooted development environment, a minimal distro, SliTaz installed on a hard drive or a 'general' distro such as Debian, Slackware, Fedora, Gentoo, Mandriva, Arch, etc. Note that nothing is installed in the host system by our commands.
  106.11 +
  106.12 +SliTaz uses the 'Swiss Army Knife' BusyBox as the basis of the system and the Linux Kernel, it runs embedded using a small memory footprint and provides many files. BusyBox is our main source of information and it's a utility of the Debian project which we use and cherish.
  106.13 +
  106.14 +SliTaz uses the Syslinux bootloader and an archived initramfs compressed with cpio. This archive is then decompressed in memory at boot by the kernel into a system of no fixed size, retaining control over init. At the time of compilation or copying of applications, we use strip to clean the repositoiries. The system commands genisoimage or mkisofs are used to create the iso images. To finish, you can test the iso image with Qemu or engrave the generated iso on to a rewritable cdrom. 
  106.15 +
  106.16 +===== Organize a working directory =====
  106.17 +
  106.18 +To create SliTaz, we need a working directory and several subdirectories Whether you have a chrooted environment for developing or a host system, we advise to use a directory named //distro/// in which to work. The distro/ directory can be a simple folder or a partition, but you are obviously free to put all of this elsewhere.
  106.19 +
  106.20 +=== distro/ ===
  106.21 +
  106.22 +Contents of a working directory:
  106.23 +
  106.24 +    * rootfs/ --> The root filesystem - this is the root system, designed to operate in RAM, it is used to generate the initramfs image.
  106.25 +    * rootfs.gz --> The initramfs image of our system - a cpio archive compressed with gzip.
  106.26 +    * rootcd/ --> The rootcd. This is the root of the cdrom files.
  106.27 +    * src/ --> The sources, Kernel, Syslinux, Busybox, Dropbear, etc (it can also be a symbolic link).
  106.28 +
  106.29 +Thereafter, the initramfs and bootable ISO image (slitaz-cooking.iso) will be created in the root directory of our work named SliTaz/.
  106.30 +
  106.31 +=== Option: rootfs.ext2 - using a virtual hard drive ===
  106.32 +
  106.33 +Option: rootfs.ext2 (root filesystem in ext2) is a virtual hard disk formatted with ext2 and mounted on a (rootfs) loop. A device loop allows a file to be used as a standard device (hard drive, floppy, etc) to build a filesystem inside. This file can be any number of megabytes, we propose 20,480, which corresponds to 20MB:
  106.34 +
  106.35 +<code> # dd if=/dev/zero of=rootfs.ext2 bs=1k count=20480 </code>
  106.36 +
  106.37 +Create a //ext2// filesystem named //rootfs.ext2//, the option //-F// formats the file. Note that the //-m 0// option doesn't allocate any space for the user root - by default it occupies approximately 5% and the //-t// option defines the type of filesystem to be used, such as ext2 or ext3:
  106.38 +
  106.39 +<code> # mkfs -t ext2 -F -m 0 rootfs.ext2 </code>
  106.40 +
  106.41 +We can now assemble //rootfs.ext2// with a loop, thanks to the //-o loop option// provided by the mount utility in the //rootfs/// directory. You can check if the assembly went well with the //df-h// command:
  106.42 +
  106.43 +<code>
  106.44 + # mkdir rootfs
  106.45 + # mount -o loop rootfs.ext2 rootfs
  106.46 + # df -h
  106.47 +</code>
  106.48 +
  106.49 +At the end of the session, you can dismount the volume with umount:
  106.50 +
  106.51 +<code> # umount rootfs </code>
  106.52 +
  106.53 +Now we can proceed to the construction of the [[http://www.slitaz.org/en/doc/scratchbook/base-system.html|Base SliTaz system]]. 
  106.54 \ No newline at end of file
   107.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   107.2 +++ b/pages/en/start.txt	Sat Feb 26 12:17:18 2011 +0000
   107.3 @@ -0,0 +1,39 @@
   107.4 +====== English documentation ======
   107.5 +
   107.6 +
   107.7 +This site provides SliTaz GNU/Linux official and community documentation.
   107.8 +
   107.9 +We believe that SliTaz users all over the world want to share their knowledge and experiences through writing. This is an open wiki that anybody can contribute to. We are very grateful to those who want to lend a hand to make SliTaz even easier to use. Welcome!
  107.10 +
  107.11 +
  107.12 +===== Newsletter ======
  107.13 +
  107.14 +  * [[en:newsletter:start|Newsletter]] - The SliTaz Monthly Newsletter, news, tips and tricks.
  107.15 +
  107.16 +===== Guides ====== 
  107.17 +
  107.18 +  * [[en:guides:start|Guides]] - Small and concise guides from the community.
  107.19 +  * [[en:references:start|References]] - Any interesting linux article/how-to/material you may want to share.
  107.20 +  * [[en:devnotes:start|Development notes]] - Information about the development version (cooking).
  107.21 +  * [[en:forum:start|Forum posts]] - Supplementary documentation from the user forums.
  107.22 +
  107.23 +==== Books ====
  107.24 +
  107.25 +  * [[en:handbook:start|Handbook]] - SliTaz Handbook. LiveCD usage,  package management, network or system administration and specific instructions. This Handbook is a community effort to provide high quality documentation for SliTaz users. It will help you get started with SliTaz GNU/Linux and show you how to configure the system to your own needs and preferences. This is the documentation that we advise you to read, learn and consult first.
  107.26 +  * [[en:cookbook:start|Cookbook]] - SliTaz Cookbook. Information regarding the management, operation and development of the distribution. Instructions on how to use the wok and package receipts, descriptions of boot scripts and rootcd files, and various tools.
  107.27 +  * [[en:scratchbook:start|Scratchbook]] - SliTaz Scratchbook. Describes the stages of creating the very first SliTaz distribution commencing with instructions on compiling the Linux kernel, installing the graphical server (Xvesa) and GTK applications, etc. It contains techniques requiring time and motivation that enable you to build a GNU/Linux system from source.
  107.28 +
  107.29 +
  107.30 +==== Manuals ====
  107.31 +
  107.32 +All SliTaz related manuals are installed on each SliTaz distribution and can also be viewed online via the Mercurial web interface.
  107.33 +
  107.34 +  * [[http://hg.slitaz.org/tazpkg/raw-file/tip/doc/tazpkg.en.html|Tazpkg manual]] - SliTaz Package Manager.
  107.35 +  * [[http://hg.slitaz.org/tazlito/raw-file/tip/doc/tazlito.en.html|Tazlito manual]] - SliTaz LiveCD utility.
  107.36 +  * [[http://hg.slitaz.org/tazusb/raw-file/tip/doc/tazusb.en.html|TazUSB manual]] - SliTaz LiveUSB utility.
  107.37 +  * [[http://hg.slitaz.org/tazwok/raw-file/tip/doc/tazwok.en.html|Tazwok manual]] - SliTaz Package Cooker.
  107.38 +  * [[http://hg.slitaz.org/slitaz-tools/raw-file/tip/doc/burnbox.html|Burnbox manual]] - SliTaz utility to burn CD/DVDs
  107.39 +
  107.40 +==== SliTaz Terms & Dictionary ====
  107.41 +
  107.42 +[[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   108.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   108.2 +++ b/pages/en/terms/a.txt	Sat Feb 26 12:17:18 2011 +0000
   108.3 @@ -0,0 +1,5 @@
   108.4 +===== A =====
   108.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   108.6 +
   108.7 +==== accessibility ====
   108.8 +  * see [[en:handbook:accessibility|Assistive technology]]
   108.9 \ No newline at end of file
   109.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   109.2 +++ b/pages/en/terms/c.txt	Sat Feb 26 12:17:18 2011 +0000
   109.3 @@ -0,0 +1,9 @@
   109.4 +===== C =====
   109.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   109.6 +
   109.7 +====chroot====
   109.8 +  * see [[en:guides:chroot]], [[en:devnotes:cook-flavor-from-scratch?&#Explanation]]
   109.9 +  * more: [[http://en.wikipedia.org/wiki/Chroot|wikipedia]]
  109.10 +
  109.11 +==== commands ====
  109.12 +  * see [[en:handbook:commands|List of useful commands]]
   110.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   110.2 +++ b/pages/en/terms/d.txt	Sat Feb 26 12:17:18 2011 +0000
   110.3 @@ -0,0 +1,5 @@
   110.4 +===== D =====
   110.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   110.6 +
   110.7 +==== diff ====
   110.8 +  * see [[http://www.slitaz.org/en/devel/#diff|Diff and patch]]
   110.9 \ No newline at end of file
   111.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   111.2 +++ b/pages/en/terms/f.txt	Sat Feb 26 12:17:18 2011 +0000
   111.3 @@ -0,0 +1,8 @@
   111.4 +===== F =====
   111.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   111.6 +
   111.7 +
   111.8 +==== Flavor ====
   111.9 +  * new special distribution of SliTaz; cooked in the [[en:terms:W?&#wok|wok]]
  111.10 +  * see [[en:cookbook:start]], [[en:devnotes:cook-flavor-from-scratch?&#explication]]
  111.11 +  * de: [[de:terms:G?&#Geschmackrichtung|Geschmackrichtung, Rezept, eigene Distribution]], fr: [[fr:terms:S?&#saveur|saveur]]
   112.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   112.2 +++ b/pages/en/terms/i.txt	Sat Feb 26 12:17:18 2011 +0000
   112.3 @@ -0,0 +1,5 @@
   112.4 +===== i =====
   112.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   112.6 +
   112.7 +==== ISO file ====
   112.8 +  * see [[en:tazlitomanual|SliTaz Live Tool]], numerous infos about ISO files or images in the Tazlito Handbook.
   112.9 \ No newline at end of file
   113.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   113.2 +++ b/pages/en/terms/l.txt	Sat Feb 26 12:17:18 2011 +0000
   113.3 @@ -0,0 +1,5 @@
   113.4 +===== L =====
   113.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   113.6 +
   113.7 +==== liveCD ====
   113.8 +  * see [[en:tazlitomanual|SliTaz Live Tool]], numerous infos about liveCD in the Tazlito Handbook.
   113.9 \ No newline at end of file
   114.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   114.2 +++ b/pages/en/terms/p.txt	Sat Feb 26 12:17:18 2011 +0000
   114.3 @@ -0,0 +1,7 @@
   114.4 +===== P =====
   114.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   114.6 +
   114.7 +====Patch====
   114.8 +  * see [[en:devnotes:cook-flavor-from-scratch?&#Explanation]]
   114.9 +  * see [[http://www.slitaz.org/en/devel/#diff|Diff and patch]]
  114.10 +  * more [[http://en.wikipedia.org/wiki/Patch_(Unix)|wikipedia]]
   115.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   115.2 +++ b/pages/en/terms/q.txt	Sat Feb 26 12:17:18 2011 +0000
   115.3 @@ -0,0 +1,6 @@
   115.4 +===== Q =====
   115.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   115.6 +
   115.7 +====Q====
   115.8 +  * see 
   115.9 +  * more
  115.10 \ No newline at end of file
   116.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   116.2 +++ b/pages/en/terms/r.txt	Sat Feb 26 12:17:18 2011 +0000
   116.3 @@ -0,0 +1,8 @@
   116.4 +===== R =====
   116.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   116.6 +
   116.7 +
   116.8 +==== root ====
   116.9 +  * //root// has always at least two significations in linux
  116.10 +  * //root// is the pseudonym of the administrator of the all system (see more under  [[en:terms:S?&#su|su]], [[en:terms:S?&#sudo|sudo]] and [[en:terms:C?&#chroot|chroot]])
  116.11 +  * //root// is the name of the home directory of the administrator and is the place for important ressources for the all system; for this reason the directory /home has to be always in the same [[en:terms:P?&#partition|partition]] as the [[en:terms:M?&#main_directory|main directory /]]
   117.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   117.2 +++ b/pages/en/terms/s.txt	Sat Feb 26 12:17:18 2011 +0000
   117.3 @@ -0,0 +1,11 @@
   117.4 +===== S =====
   117.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   117.6 +
   117.7 +====Scratch ====
   117.8 +  * see [[en:devnotes:cook-flavor-from-scratch?&#Explanation]]
   117.9 +  * scratch is a computer freak slang to say ‘from the source code and without tools’
  117.10 +
  117.11 +====Source (code) ====
  117.12 +  * see [[en:devnotes:cook-flavor-from-scratch?&#Explanation]] and search ‘scratch’
  117.13 +  * more [[http://en.wikipedia.org/wiki/Source_code|wikipedia]]
  117.14 +
   118.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   118.2 +++ b/pages/en/terms/t.txt	Sat Feb 26 12:17:18 2011 +0000
   118.3 @@ -0,0 +1,5 @@
   118.4 +===== T =====
   118.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   118.6 +
   118.7 +==== tazlito ====
   118.8 +  * see [[en:tazlitomanual|SliTaz Live Tool]] in the Tazlito Handbook.
   118.9 \ No newline at end of file
   119.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   119.2 +++ b/pages/en/terms/w.txt	Sat Feb 26 12:17:18 2011 +0000
   119.3 @@ -0,0 +1,7 @@
   119.4 +===== W =====
   119.5 +[[en:start|^]] [[en:terms:a]] - [[en:terms:b]] - [[en:terms:c]] - [[en:terms:d]] - [[en:terms:e]] - [[en:terms:f]] - [[en:terms:g]] - [[en:terms:h]] - [[en:terms:i]] - [[en:terms:j]] - [[en:terms:k]] - [[en:terms:l]] - [[en:terms:m]] - [[en:terms:n]] - [[en:terms:o]] - [[en:terms:p]] - [[en:terms:q]] - [[en:terms:r]] - [[en:terms:s]] - [[en:terms:t]] - [[en:terms:u]] - [[en:terms:v]] - [[en:terms:w]] - [[en:terms:x]] - [[en:terms:y]] - [[en:terms:z]]
   119.6 +
   119.7 +
   119.8 +====Wok====
   119.9 +  * development environment of SliTaz; to cook [[en:terms:F?&#flavor|flavors]] and components!
  119.10 +  * see [[en:cookbook:start]], [[en:devnotes:cook-flavor-from-scratch?&#explication]]