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