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

en: Tiny edits
author Paul Issott <paul@slitaz.org>
date Mon Sep 21 22:33:29 2009 +0000 (2009-09-21)
parents fa2c5bed2417
children b8788d938e18
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:
73 # wodim -scanbus
74 </pre>
75 <h4>Create an ISO 9660 image</h4>
76 <p>
77 To burn data on to a CD/DVD, you must first have an ISO image. To begin we must create a directory to
78 contain all the files to be burned. You can copy your files on the command line with <code>cp</code>,
79 the file manager Clex or graphically with emelFM2. To create a directory named <code>iso/</code>
80 in the root of user space and copy all the files contained in <code>Documents/</code>:
81 </p>
82 <pre> $ mkdir ~/iso
83 $ cp -a Documents/* ~/iso
84 </pre>
85 <p>
86 Create an ISO image named <code>image.iso</code>, using the <code>genisoimage</code> tool and
87 specify the root directory containing the files to be included in the ISO:
88 </p>
89 <pre> $ genisoimage -o image.iso ~/iso
90 </pre>
91 <p>
92 Note that there are many options that you can use to create ISOs, one of the most widely used is the
93 extension <code>-R</code>, signifying <em>Rock ridge</em>, this allows the use of names of up to 255 characters
94 (with a few exceptions), it also supports symlinks and file permissions. To see all the available options,
95 simply type <code>-help</code>. Example of creating an ISO image using the <code>-R</code> option:
96 </p>
97 <pre> $ genisoimage -o image.iso -R ~/iso
98 </pre>
99 <h4>Burn an ISO image</h4>
100 <p>
101 To burn an ISO image in the 9660 format either created by yourself or downloaded from the web,
102 you must use <code>wodim</code> specifying the proper device (<code>dev</code>) to burn
103 the CD/DVD. Example using the verbose mode (<code>-v</code>), with the <em>device</em> <code>hdc</code>
104 and data contained in an ISO image named <code>image.iso</code>:
105 </p>
106 <pre> # wodim -v dev=/dev/hdc image.iso
107 </pre>
108 <p>
109 Another example setting the (<em>speed</em>) to burn as 8x :
110 </p>
111 <pre> # wodim -v speed=8 dev=/dev/hdc image.iso
112 </pre>
113 <h4>Erase CD-RW/DVD-RW</h4>
114 <p>
115 You can quickly erase a CD-RW/DVD-RW using wodim with the blank=fast option. Example using the
116 <em>device</em> <code>hdc</code> in verbose mode:
117 </p>
118 <pre> # wodim -v blank=fast dev=/dev/hdc
119 </pre>
120 <p>
121 Or you can have a full erase using the blank=all option (this will take a bit longer):
122 </p>
123 <pre> # wodim -v blank=all dev=/dev/hdc
124 </pre>
126 <a name="nano"></a>
127 <h3>Nano</h3>
128 <p>
129 The default text editor in SliTaz is nano. Once launched you can use &lt;Ctrl + g&gt; for the help menu.
130 To start nano, you can type <code>nano</code> from a console, a xterm terminal, or from the menu
131 --&gt; Editors --&gt; Nano.
132 </p>
133 <p>
134 The initialization file /etc/nanorc includes the files of colored syntax found in /usr/share/nano.
135 The user configuration file is ~/nanorc. To edit a file directly, just launch nano proceeded by the name of the
136 file. Example (&lt;Ctrl+x&gt; to save &amp; quit):
137 </p>
138 <pre> $ nano Templates/script-shell.sh
139 </pre>
141 <a name="leafpad"></a>
142 <h3>LeafPad</h3>
143 <p>
144 Leafpad is an ultra light and quick graphical text editor, handy for taking notes or editing configuration
145 files. You will find it in the menu or you can run it directly on a file via a terminal:
146 </p>
147 <pre> $ leafpad Templates/script-shell.sh
148 </pre>
150 <a name="isomaster"></a>
151 <h3>ISO Master - Create and edit ISOs</h3>
152 <p>
153 ISO Master is a graphical tool allowing you to edit, manipulate and create ISO images which you can later store
154 and burn, It's simple and intuitive and lets you create ISO images the size you want.
155 </p>
156 <p>
157 Site Web : <a href="http://littlesvr.ca/isomaster/">http://littlesvr.ca/isomaster/</a>
158 </p>
160 <a name="xpad"></a>
161 <h3>Xpad - Mini note-taking application</h3>
162 <p>
163 Xpad is a small application that can take quick notes via a 'sticky note' displayed on the desktop. Each
164 consists of a note <em>pad</em> that you can hide and customise via a right click on the window in question.
165 Once launched you can close Xpad via the dock located on the window manager taskbar. The notes are stored in
166 your local directory and are available at each session (if you use USB media with the LiveCD or on an
167 installed system).
168 </p>
170 <!-- End of content -->
171 </div>
173 <!-- Footer. -->
174 <div id="footer">
175 <div class="footer-right"></div>
176 <a href="index.html#top">Top of the page</a> |
177 <a href="index.html">Table of contents</a>
178 </div>
180 <div id="copy">
181 Copyright © 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
182 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
183 Documentation is under
184 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
185 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
186 </div>
188 </body>
189 </html>