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

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