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