website annotate en/doc/handbook/utilities.html @ rev 669

Move year to slitaz.css
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 30 21:52:02 2010 +0200 (2010-10-30)
parents b8788d938e18
children
rev   line source
paul@68 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
paul@68 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
paul@68 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
paul@68 4 <head>
paul@68 5 <title>SliTaz Handbook (en) - Utilities</title>
paul@62 6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
paul@62 7 <meta name="description" content="slitaz English handbook" />
paul@62 8 <meta name="expires" content="never" />
MikeDSmith25@117 9 <meta name="modified" content="2008-07-18 06:30:00" />
paul@62 10 <meta name="publisher" content="www.slitaz.org" />
paul@62 11 <meta name="author" content="Christophe Lincoln" />
paul@62 12 <link rel="shortcut icon" href="favicon.ico" />
paul@68 13 <link rel="stylesheet" type="text/css" href="book.css" />
paul@68 14 </head>
paul@68 15 <body bgcolor="#ffffff">
paul@62 16
paul@62 17 <!-- Header and quick navigation -->
paul@62 18 <div id="header">
paul@62 19 <div id="quicknav" align="right">
paul@62 20 <a name="top"></a>
paul@68 21 <a href="office.html">Office</a> |
paul@62 22 <a href="index.html">Table of contents</a>
paul@62 23 </div>
paul@62 24 <h1><font color="#3e1220">SliTaz Handbook (en)</font></h1>
paul@62 25 </div>
paul@62 26
paul@62 27 <!-- Content. -->
paul@62 28 <div id="content">
paul@62 29 <div class="content-right"></div>
paul@62 30
paul@62 31 <h2><font color="#df8f06">Utilities</font></h2>
paul@62 32
paul@62 33 <ul>
pascal@550 34 <li><a href="utilities.html#calc">Bc</a> - Calculator.</li>
pascal@550 35 <li><a href="utilities.html#cdrkit">Cdrkit</a> - Burn and manipulate CD/DVD-R or RW.</li>
pascal@550 36 <li><a href="utilities.html#nano">Nano</a> - GNU nano, default text editor.</li>
pascal@550 37 <li><a href="utilities.html#leafpad">LeafPad</a> - Lightweight GTK+ editor.</li>
pascal@550 38 <li><a href="utilities.html#isomaster">ISO Master</a> - Edit ISO images.</li>
pascal@550 39 <li><a href="utilities.html#xpad">Xpad</a> - Mini note-taking application.</li>
paul@62 40 </ul>
paul@62 41
paul@62 42 <a name="calc"></a>
paul@62 43 <h3>Calculator</h3>
paul@62 44 <p>
paul@63 45 Mathematical operations can be done with the text mode calculator bc. Open a terminal and directly type
paul@545 46 <code>bc</code>. To exit, simply type <code>quit</code>:
paul@62 47 </p>
paul@62 48 <pre> $ bc
paul@62 49 23+45 &lt;ENTER&gt;
paul@62 50 68
paul@62 51
paul@62 52 quit
paul@62 53 </pre>
paul@62 54
paul@62 55 <a name="cdrkit"></a>
paul@62 56 <h3>Cdrkit - Burn and manipulate CD/DVD-R or RW</h3>
paul@62 57 <p>
paul@62 58 To burn and handle CD/DVD-R or RW, SliTaz provides the Cdrkit utility
paul@62 59 and a graphical interface <code>burnbox</code> which you will find in the menu.
paul@62 60 The tools in <code>wodim</code> make it possible to burn CD/DVD and erase
paul@62 61 CD/DVD-RW. When used with <code>genisoimage</code>, it can also create images in the
paul@62 62 ISO 9660 format. Burning on the command line requires us to know the device/writer (dev)
paul@62 63 name and wodim provides several possibilities to know which drive to use and specify it when burning
paul@62 64 to optical media. If you run wodim with the <code>-devices</code> option, it will automatically
paul@62 65 search for a good device and display it, the <code>-checkdrive</code> option allows you to check the
paul@62 66 recognized device and <code>-scanbus</code> will display in relation to the system bus.
paul@62 67 Examples (as <em>root</em>):
paul@62 68 </p>
paul@62 69 <pre> # wodim -devices
paul@62 70 Or:
paul@62 71 # wodim -checkdrive
paul@545 72 For the bus:
paul@545 73 # wodim -scanbus
paul@62 74 </pre>
paul@62 75 <h4>Create an ISO 9660 image</h4>
paul@62 76 <p>
paul@62 77 To burn data on to a CD/DVD, you must first have an ISO image. To begin we must create a directory to
MikeDSmith25@117 78 contain all the files to be burned. You can copy your files on the command line with <code>cp</code>,
paul@62 79 the file manager Clex or graphically with emelFM2. To create a directory named <code>iso/</code>
paul@62 80 in the root of user space and copy all the files contained in <code>Documents/</code>:
paul@62 81 </p>
paul@62 82 <pre> $ mkdir ~/iso
paul@62 83 $ cp -a Documents/* ~/iso
paul@62 84 </pre>
paul@62 85 <p>
paul@62 86 Create an ISO image named <code>image.iso</code>, using the <code>genisoimage</code> tool and
paul@62 87 specify the root directory containing the files to be included in the ISO:
paul@62 88 </p>
paul@62 89 <pre> $ genisoimage -o image.iso ~/iso
paul@62 90 </pre>
paul@62 91 <p>
paul@62 92 Note that there are many options that you can use to create ISOs, one of the most widely used is the
paul@63 93 extension <code>-R</code>, signifying <em>Rock ridge</em>, this allows the use of names of up to 255 characters
paul@63 94 (with a few exceptions), it also supports symlinks and file permissions. To see all the available options,
paul@62 95 simply type <code>-help</code>. Example of creating an ISO image using the <code>-R</code> option:
paul@62 96 </p>
paul@62 97 <pre> $ genisoimage -o image.iso -R ~/iso
paul@62 98 </pre>
paul@62 99 <h4>Burn an ISO image</h4>
paul@62 100 <p>
paul@62 101 To burn an ISO image in the 9660 format either created by yourself or downloaded from the web,
paul@62 102 you must use <code>wodim</code> specifying the proper device (<code>dev</code>) to burn
paul@62 103 the CD/DVD. Example using the verbose mode (<code>-v</code>), with the <em>device</em> <code>hdc</code>
paul@62 104 and data contained in an ISO image named <code>image.iso</code>:
paul@62 105 </p>
paul@62 106 <pre> # wodim -v dev=/dev/hdc image.iso
paul@62 107 </pre>
paul@62 108 <p>
paul@62 109 Another example setting the (<em>speed</em>) to burn as 8x :
paul@62 110 </p>
paul@62 111 <pre> # wodim -v speed=8 dev=/dev/hdc image.iso
paul@62 112 </pre>
paul@62 113 <h4>Erase CD-RW/DVD-RW</h4>
paul@62 114 <p>
paul@62 115 You can quickly erase a CD-RW/DVD-RW using wodim with the blank=fast option. Example using the
paul@62 116 <em>device</em> <code>hdc</code> in verbose mode:
paul@62 117 </p>
paul@62 118 <pre> # wodim -v blank=fast dev=/dev/hdc
paul@62 119 </pre>
paul@62 120 <p>
paul@62 121 Or you can have a full erase using the blank=all option (this will take a bit longer):
paul@62 122 </p>
paul@62 123 <pre> # wodim -v blank=all dev=/dev/hdc
paul@62 124 </pre>
paul@62 125
paul@62 126 <a name="nano"></a>
paul@62 127 <h3>Nano</h3>
paul@62 128 <p>
paul@62 129 The default text editor in SliTaz is nano. Once launched you can use &lt;Ctrl + g&gt; for the help menu.
paul@62 130 To start nano, you can type <code>nano</code> from a console, a xterm terminal, or from the menu
paul@62 131 --&gt; Editors --&gt; Nano.
paul@62 132 </p>
paul@62 133 <p>
MikeDSmith25@117 134 The initialization file /etc/nanorc includes the files of colored syntax found in /usr/share/nano.
paul@62 135 The user configuration file is ~/nanorc. To edit a file directly, just launch nano proceeded by the name of the
paul@62 136 file. Example (&lt;Ctrl+x&gt; to save &amp; quit):
paul@62 137 </p>
paul@62 138 <pre> $ nano Templates/script-shell.sh
paul@62 139 </pre>
paul@62 140
paul@62 141 <a name="leafpad"></a>
paul@62 142 <h3>LeafPad</h3>
paul@62 143 <p>
paul@62 144 Leafpad is an ultra light and quick graphical text editor, handy for taking notes or editing configuration
paul@62 145 files. You will find it in the menu or you can run it directly on a file via a terminal:
paul@62 146 </p>
paul@62 147 <pre> $ leafpad Templates/script-shell.sh
paul@62 148 </pre>
paul@62 149
paul@62 150 <a name="isomaster"></a>
paul@62 151 <h3>ISO Master - Create and edit ISOs</h3>
paul@62 152 <p>
paul@62 153 ISO Master is a graphical tool allowing you to edit, manipulate and create ISO images which you can later store
paul@62 154 and burn, It's simple and intuitive and lets you create ISO images the size you want.
paul@62 155 </p>
paul@62 156 <p>
paul@62 157 Site Web : <a href="http://littlesvr.ca/isomaster/">http://littlesvr.ca/isomaster/</a>
paul@62 158 </p>
paul@62 159
paul@62 160 <a name="xpad"></a>
paul@62 161 <h3>Xpad - Mini note-taking application</h3>
paul@62 162 <p>
paul@62 163 Xpad is a small application that can take quick notes via a 'sticky note' displayed on the desktop. Each
paul@62 164 consists of a note <em>pad</em> that you can hide and customise via a right click on the window in question.
paul@171 165 Once launched you can close Xpad via the dock located on the window manager taskbar. The notes are stored in
paul@171 166 your local directory and are available at each session (if you use USB media with the LiveCD or on an
paul@171 167 installed system).
paul@62 168 </p>
paul@62 169
paul@62 170 <!-- End of content -->
paul@62 171 </div>
paul@62 172
paul@62 173 <!-- Footer. -->
paul@62 174 <div id="footer">
paul@62 175 <div class="footer-right"></div>
pascal@550 176 <a href="utilities.html#top">Top of the page</a> |
paul@68 177 <a href="index.html">Table of contents</a>
paul@62 178 </div>
paul@62 179
paul@62 180 <div id="copy">
pascal@669 181 Copyright &copy; <span class="year"></span> <a href="http://www.slitaz.org/en/">SliTaz</a> -
paul@62 182 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
paul@62 183 Documentation is under
paul@62 184 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
paul@62 185 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
paul@62 186 </div>
paul@62 187
paul@68 188 </body>
paul@68 189 </html>
paul@62 190