website annotate pt/doc/handbook/utilities.html @ rev 142

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