website view en/doc/handbook/utilities.html @ rev 535

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