Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: xfce-config.xml
Date: Sun, 11 Mar 2007 09:15:05
Message-Id: E1HQK8h-0008C8-CC@stork.gentoo.org
1 nightmorph 07/03/11 09:14:51
2
3 Modified: xfce-config.xml
4 Log:
5 Updated my xfce guide for 4.4. lots of new fixes, changes, additions, etc. 4.4 rox your sox.
6
7 Revision Changes Path
8 1.4 xml/htdocs/doc/en/xfce-config.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/xfce-config.xml?rev=1.4&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/xfce-config.xml?rev=1.4&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/xfce-config.xml?r1=1.3&r2=1.4
13
14 Index: xfce-config.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/xfce-config.xml,v
17 retrieving revision 1.3
18 retrieving revision 1.4
19 diff -u -r1.3 -r1.4
20 --- xfce-config.xml 18 Feb 2007 21:54:54 -0000 1.3
21 +++ xfce-config.xml 11 Mar 2007 09:14:51 -0000 1.4
22 @@ -21,8 +21,8 @@
23 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
24 <license/>
25
26 -<version>1.2</version>
27 -<date>2007-02-18</date>
28 +<version>1.3</version>
29 +<date>2007-03-11</date>
30
31 <chapter>
32 <title>Introduction</title>
33 @@ -50,6 +50,11 @@
34 keeping with the Xfce philosophy: light, fast, and modular.
35 </p>
36
37 +<p>
38 +Additionally, this guide will show you how to <uri link="#upgrade">upgrade</uri>
39 +from version 4.2 to 4.4.
40 +</p>
41 +
42 </body>
43 </section>
44 </chapter>
45 @@ -81,33 +86,21 @@
46 for security
47 </ti>
48 </tr>
49 -<tr>
50 - <ti>hal</ti>
51 - <ti>
52 - A Hardware Abstraction Layer. HAL enables desktop applications to locate and
53 - use hardware devices. This makes it easy for you to work with removable
54 - media, such as USB sticks and CD/DVD drives. Installing <c>hal</c> will also
55 - install <c>dbus</c>, a simple way for applications to talk to each other.
56 - </ti>
57 -</tr>
58 -<tr>
59 - <ti>gamin</ti>
60 - <ti>
61 - This file alteration monitor keeps track of file changes; it's very handy
62 - when used in conjunction with a graphical file browser
63 - </ti>
64 -</tr>
65 </table>
66
67 <p>
68 You're free to install any other packages you wish, but for now, we'll stick
69 with these suggestions for a fast, minimal working environment. Double check
70 your USE flags in <path>/etc/make.conf</path>; you'll probably at least want
71 -<c>USE="-gnome"</c> to avoid pulling in unnecessary dependencies.
72 +<c>USE="dbus -gnome hal startup-notification"</c>.
73 +</p>
74 +
75 +<p>
76 +Now, let's install Xfce.
77 </p>
78
79 <pre caption="Installing Xfce">
80 -# <i>emerge -avt xfce4 xscreensaver hal gamin</i>
81 +# <i>emerge -avt xfce4 xscreensaver</i>
82 </pre>
83
84 <p>
85 @@ -240,7 +233,7 @@
86 <c>emerge --search xfce</c>. Though for the most part their names are self
87 explanatory, a few deserve some attention, as they are quite helpful. To use
88 them, simply <c>emerge</c> them. They'll be added to the list of available items
89 -in the "Add New Item" menu.
90 +in the "Add New Item" menu shown when you right-click on the panel.
91 </p>
92
93 <ul>
94 @@ -248,15 +241,6 @@
95 <c>xfce4-mount</c> gives you a handy method of mounting devices listed in
96 <path>/etc/fstab</path> just by clicking your mouse
97 </li>
98 -<!-- xfce4-taskbar is integrated into the panel in 4.4; remove when stable -->
99 - <li>
100 - <c>xfce4-taskbar</c> can replace the windowlist panel entirely. It's
101 - useful if you want to conserve screen space (for small monitors), or don't
102 - want your desktop cluttered with more than one panel. Add the taskbar to
103 - your main panel, and then you can remove the separate windowlist panel by
104 - running <c>killall -9 xftaskbar4</c> from an xterm, thus displaying your
105 - application launchers, Xfce menu, clock, etc. all on just one panel.
106 - </li>
107 <li>
108 <c>xfce4-battery</c> is perfect for laptop users. It displays battery
109 percentage, time remaining, power source (AC or battery), fan status,
110 @@ -265,12 +249,22 @@
111 the battery is almost exhausted.
112 </li>
113 <li>
114 -<!-- xfce4-minicmd has been superceded by verve in 4.4; remove when stable -->
115 - <c>xfce4-minicmd</c> is a small command line embedded into the panel. It's
116 - quicker than opening up another terminal when you want to run a command.
117 + <c>verve</c> is a small command line embedded into the panel. It's quicker
118 + than opening up another terminal when you want to run a command.
119 + </li>
120 + <li>
121 + <c>xfce4-mixer</c> is a volume control. It works with both ALSA and OSS
122 + sound applications.
123 </li>
124 </ul>
125
126 +<p>
127 +If you can't find what you're looking for in the plugins specifically made for
128 +Xfce, try searching through the list of Gnome panel applets! That's right, by
129 +first emerging <c>xfce4-xfapplet</c>, you can install and run any applet made
130 +for Gnome.
131 +</p>
132 +
133 </body>
134 </section>
135 <section>
136 @@ -278,71 +272,64 @@
137 <body>
138
139 <p>
140 -Now let's see about adding some useful yet lightweight applications, in keeping
141 -with Xfce's philosophy.
142 +Xfce bundles a few useful applications, including <c>thunar</c>,
143 +<c>terminal</c>, <c>orage</c>, and <c>mousepad</c>. Note that the last three
144 +will not be installed if you built <c>xfce4</c> with the <c>minimal</c> USE
145 +flag. However, these are all very small, yet terrific applications, so they're
146 +well worth installing.
147 </p>
148
149 <p>
150 -First, let's replace the plain, boring old <c>xterm</c> with
151 -<c>xfce-extra/terminal</c>. <c>Terminal</c> is far more configurable and useful
152 -than xterm, and supports Unicode text, pseudo-transparency and accelerated
153 -transparency via Xfce's built-in compositor, all out-of-the-box.
154 +<c>orage</c> is a simple, handy calendar. <c>mousepad</c> is a barebones text
155 +editor that starts up extremely quickly. <c>terminal</c> is far more
156 +configurable and useful than xterm, and supports Unicode text,
157 +pseudo-transparency and accelerated transparency via Xfce's built-in
158 +compositor, all out-of-the-box. Just make sure that the default action on the
159 +terminal launcher of your panel runs <path>/usr/bin/Terminal</path> instead of
160 +xterm. Right click the launcher and choose "Properties" to change the command.
161 </p>
162 -<!-- Remove the warning about ~arch once 4.4 and terminal go stable -->
163 -<note>
164 -At the time of writing, <c>Terminal</c> may not be marked stable for your
165 -architecture, so you will need to add it to
166 -<path>/etc/portage/package.keywords</path> before emerging it.
167 -</note>
168 -
169 -<pre caption="Installing a better terminal">
170 -<comment>(Only run this command if you receive a warning about Terminal being masked)</comment>
171 -# <i>echo "xfce-extra/terminal" >> /etc/portage/package.keywords</i>
172 -
173 -<comment>(Otherwise, you can emerge Terminal without any extra steps)</comment>
174 -# <i>emerge -av xfce-extra/terminal</i>
175 -</pre>
176
177 <p>
178 -Once it's installed, you may want to change the default action of the terminal
179 -launcher on your panel to run <path>/usr/bin/Terminal</path> instead. Just
180 -right-click the launcher and choose "Properties" to change the command.
181 +<c>thunar</c> is Xfce's built-in graphical file manager. It's fast yet quite
182 +powerful, can support a few plugins for even more functionality; just install
183 +them with <c>emerge</c>. Let's take a look:
184 </p>
185
186 -<p>
187 -You may want to replace the rather confusing default filemanager, <c>xffm</c>,
188 -with one that's more intuitive and helpful. The <c>rox</c> file manager is
189 -icon-based and behaves much more like a traditional file manager. If you're
190 -looking for something even more minimal, yet still extremely flexible, then try
191 -out the <c>gentoo</c> file manager. (The <c>gentoo</c> file manager is not
192 -related to the Gentoo Linux distribution.) Both file managers are lightweight
193 -and fully configurable, and are only a short <c>emerge</c> away.
194 -</p>
195 +<ul>
196 + <li>
197 + <c>thunar-archive</c> lets you create and extract archive files using the
198 + right-click menu. It works even better when paired with the new graphical
199 + archiving <uri
200 + link="http://www.foo-projects.org/~benny/projects/thunar-archive-plugin/">tool</uri>
201 + developed for Xfce, <c>xarchiver</c>.
202 + </li>
203 + <li>
204 + <c>thunar-media-tags</c> lets you intelligently rename multiple media files
205 + at once, and lets you <uri
206 + link="http://thunar.xfce.org/pwiki/projects/thunar-media-tags-plugin">edit</uri>
207 + their information tags, such as id3 tags.
208 + </li>
209 + <li>
210 + <c>thunar-thumbnailers</c> lets you <uri
211 + link="http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers">preview</uri>
212 + certain types of files from within Thunar, such as images and fonts.
213 + </li>
214 + <li>
215 + <c>thunar-volman</c> automatically <uri
216 + link="http://foo-projects.org/~benny/projects/thunar-volman/">manages</uri>
217 + removable media and drives.
218 + </li>
219 +</ul>
220
221 -<!-- Remove the note about masked thunar once 4.4 is stable -->
222 <p>
223 -In the future, <c>thunar</c> will replace <c>xffm</c> as Xfce's default file
224 -manager, but it is still masked at the time of this writing. However, the most
225 -recent versions have been quite useful for daily work, and show great promise.
226 -If you're feeling brave, you can try out the release candidates. Please read
227 -<uri link="doc/en/handbook/handbook-x86.xml?part=3&amp;chap=3#doc_chap3">Using
228 -Masked Packages</uri> to learn how to unmask it and its dependencies. Note that
229 -this software is still unfinished. You have been warned!
230 +Next, let's see about adding some useful but lightweight desktop applications,
231 +in keeping with Xfce's philosophy.
232 </p>
233 -<!-- remove mousepad once 4.4 is stable; right now it's included by default -->
234 -<p>
235 -Let's install a simple graphical text editor. It's easier to use than
236 -<c>gvim</c> or <c>xemacs</c>, and has fewer dependencies.
237 -</p>
238 -
239 -<pre caption="Adding a text editor">
240 -# <i>emerge mousepad</i>
241 -</pre>
242
243 <p>
244 -If you need a full-featured word processor but don't want the bloat of
245 -OpenOffice, try emerging <c>abiword</c>. <uri
246 -link="http://www.abisource.com">AbiWord</uri> is lighter, faster, and is
247 +Though <c>mousepad</c> is nice enough, if you need a full-featured word
248 +processor but don't want the bloat of OpenOffice, try emerging <c>abiword</c>.
249 +<uri link="http://www.abisource.com">AbiWord</uri> is lighter, faster, and is
250 completely interoperable with industry-standard document types.
251 </p>
252
253 @@ -352,12 +339,9 @@
254
255 <p>
256 Need a nice email client/newsreader that isn't as demanding as
257 -<c>mozilla-thunderbird</c> or <c>evolution</c>? Try <c>sylpheed-claws</c>:
258 +<c>mozilla-thunderbird</c> or <c>evolution</c>? Try emerging
259 +<c>sylpheed-claws</c> or <c>claws-mail</c>.
260 </p>
261 -<!-- replacement seems to be called claws-mail, but still in ~arch -->
262 -<pre caption="Adding an email client">
263 -# <i>emerge -avt sylpheed-claws</i>
264 -</pre>
265
266 <p>
267 For your internet chat needs, <c>irssi</c> is an excellent, tiny, incredibly
268 @@ -441,6 +425,11 @@
269 </pre>
270
271 <p>
272 +<c>xdm</c> can automatically start your Xfce session if you add XSESSION="Xfce4"
273 +to <path>/etc/rc.conf</path>.
274 +</p>
275 +
276 +<p>
277 While you can choose to stick with (the rather ugly) <c>xdm</c>, why not try
278 <c>gdm</c> instead? It's far more configurable, and much, much prettier. First,
279 let's <c>emerge</c> it. Note that though it has a few dependencies, they're
280 @@ -504,8 +493,9 @@
281 Finally, Xfce has its own built-in compositor to manage window transparency.
282 This option can be found in Menu --> Settings --> Window Manager. For best
283 performance, you will need to be running a graphics card with drivers that
284 -support hardware-accelerated rendering, and you will need to enable
285 -compositing in <path>/etc/X11/xorg.conf</path> by adding the following section:
286 +support hardware-accelerated rendering. Make sure you emerged <c>xfwm4</c> with
287 +the <c>xcomposite</c> USE flag. Next, you will need to enable compositing in
288 +<path>/etc/X11/xorg.conf</path> by adding the following section:
289 </p>
290
291 <pre caption="Enabling composite in xorg.conf">
292 @@ -527,6 +517,100 @@
293 </section>
294 </chapter>
295
296 +<chapter id="upgrade">
297 +<title>Upgrading</title>
298 +<section>
299 +<title>Upgrading from 4.2 to 4.4</title>
300 +<body>
301 +
302 +<p>
303 +Upgrading from Xfce 4.2 to 4.4 isn't hard, but neither is it as simple as most
304 +upgrades. With the release of 4.4, many older packages are either deprecated, or
305 +their functionality has been included into the desktop in some other manner.
306 +</p>
307 +
308 +<p>
309 +First, update your Portage tree (<c>emerge --sync</c>), then see what Xfce
310 +updates are available (<c>emerge -pvtuD world</c>).
311 +</p>
312 +
313 +<p>
314 +You'll notice that there will be a list of packages that block upgrading, as
315 +most 4.2 packages cannot coexist with 4.4 packages. Here, the solution is pretty
316 +straightforward: just unmerge the blocking packages, as described in the <uri
317 +link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">Portage
318 +Handbook</uri> and <c>man emerge</c>, then continue with the update.
319 +</p>
320 +
321 +<p>
322 +Next, you may need to rebuild certain packages, such as applications linked
323 +against <c>dbus</c>. You'll need to first install <c>gentoolkit</c> for this.
324 +Then, once <c>gentoolkit</c> is installed, run:
325 +</p>
326 +
327 +<pre caption="Rebuilding packages">
328 +# <i>revdep-rebuild -p</i>
329 +<comment>(If you see any output about broken packages, run this next command)</comment>
330 +# <i>revdep-rebuild</i>
331 +</pre>
332 +
333 +<note>
334 +For more information, please read <c>man revdep-rebuild</c> and our <uri
335 +link="/doc/en/gentoolkit.xml">Gentoolkit Guide</uri>.
336 +</note>
337 +
338 +<p>
339 +Once the rebuild has finished, run <c>revdep-rebuild -p</c> again, just to make
340 +sure you have a clean and consistent world. If anything still shows up, keep
341 +repeating <c>revdep-rebuild -p</c> and <c>revdep-rebuild</c> until there's no
342 +more output about broken packages. Most Xfce update problems stem from
343 +<c>dbus</c> issues, as Xfce uses <c>dbus</c> quite extensively.
344 +</p>
345 +
346 +<p>
347 +Next, restart <c>dbus</c> and/or <c>hal</c>.
348 +</p>
349 +
350 +<pre caption="Restarting dbus and hal">
351 +# <i>/etc/init.d/dbus restart</i>
352 +# <i>/etc/init.d/hald restart</i>
353 +</pre>
354 +
355 +<p>
356 +Finally, give yourself a fresh environment.
357 +</p>
358 +
359 +<pre caption="Updating the environment variables">
360 +# <i>env-update &amp;&amp; source /etc/profile</i>
361 +</pre>
362 +
363 +</body>
364 +</section>
365 +<section>
366 +<title>Settings</title>
367 +<body>
368 +
369 +<p>
370 +Make sure you familiarize yourself with all the new options available in the new
371 +Settings Manager. Of interest are the options in the Desktop screen; Xfce can
372 +now manage your desktop and place icons on it.
373 +</p>
374 +
375 +<p>
376 +There's also a Window Manager Tweaks screen, in which you can adjust the
377 +behavior of windows, workspaces, and transparency (if enabled).
378 +</p>
379 +
380 +<p>
381 +Be sure to read the <uri link="http://www.xfce.org/documentation/">Xfce
382 +Documentation</uri> and take the <uri link="http://www.xfce.org/about/tour">Xfce
383 +Tour</uri> to learn more about 4.4 and how to configure it.
384 +</p>
385 +
386 +</body>
387 +</section>
388 +</chapter>
389 +
390 <chapter>
391 <title>Summary</title>
392 <section>
393 @@ -546,19 +630,15 @@
394
395 <p>
396 Need additional help on configuring and using Xfce? Need more lightweight
397 -application suggestions? Try asking the folks in:
398 +application suggestions? Try checking out:
399 </p>
400
401 <ul>
402 <li><uri link="http://forums.gentoo.org">The Gentoo forums</uri></li>
403 <li>#xfce on irc.freenode.net</li>
404 + <li><uri link="http://www.xfce.org">Xfce's home page</uri></li>
405 </ul>
406
407 -<p>
408 -Finally, Gentoo's Xfce team is responsible for making Xfce available in Portage.
409 -Send comments, thanks, and suggestions to <mail>xfce@g.o</mail>.
410 -</p>
411 -
412 </body>
413 </section>
414 </chapter>
415
416
417
418 --
419 gentoo-doc-cvs@g.o mailing list