/[gentoo]/xml/htdocs/doc/en/xfce-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/xfce-config.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.37
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xfce-config.xml,v 1.14 2007/11/14 06:41:21 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xfce-config.xml,v 1.37 2011/02/14 20:43:47 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/xfce-config.xml"> 5<guide>
6<title>The Xfce Configuration Guide</title> 6<title>The Xfce Configuration Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> 9 <mail link="nightmorph"/>
10</author> 10</author>
11 11
12<abstract> 12<abstract>
13This guide provides an extensive introduction to Xfce, a fast, lightweight, 13This guide provides an extensive introduction to Xfce, a fast, lightweight,
14full-featured desktop environment. 14full-featured desktop environment.
16 16
17<!-- The content of this document is licensed under the CC-BY-SA license --> 17<!-- The content of this document is licensed under the CC-BY-SA license -->
18<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 18<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
19<license/> 19<license/>
20 20
21<version>1.10</version> 21<version>5</version>
22<date>2007-11-13</date> 22<date>2011-02-14</date>
23 23
24<chapter> 24<chapter>
25<title>Introduction</title> 25<title>Introduction</title>
26<section> 26<section>
27<title>The Xfce desktop environment</title> 27<title>The Xfce desktop environment</title>
33and is quite configurable while still adhering to the <uri 33and is quite configurable while still adhering to the <uri
34link="http://www.freedesktop.org">Freedesktop</uri> specifications. 34link="http://www.freedesktop.org">Freedesktop</uri> specifications.
35</p> 35</p>
36 36
37<p> 37<p>
38Unlike heavier desktop environments, such as Gnome and KDE, Xfce uses far fewer 38Unlike heavier desktop environments, such as <uri
39system resources. Additionally, it offers greater modularity and fewer 39link="http://www.gnome.org">Gnome</uri> and <uri
40dependencies; it takes up less space on your hard disk and takes less time to 40link="http://www.kde.org">KDE</uri>, Xfce uses far fewer system resources.
41install. 41Additionally, it offers greater modularity and fewer dependencies; it takes up
42less space on your hard disk and takes less time to install.
42</p> 43</p>
43 44
44<p> 45<p>
45This guide will not only show you how to install and configure a minimal Xfce 46This guide will not only show you how to install and configure a minimal Xfce
46environment, but will also explore options to create a full-featured desktop in 47environment, but will also explore options to create a full-featured desktop in
47keeping with the Xfce philosophy: light, fast, and modular. 48keeping with the Xfce philosophy: light, fast, and modular.
48</p> 49</p>
49 50
50<p> 51<p>
51Additionally, this guide will show you how to <uri link="#upgrade">upgrade</uri> 52The last part of this guide lists a few commands to run after upgrading to Xfce
52from version 4.2 to 4.4. 534.8, so be sure to follow them if you are upgrading from an older version.
53</p> 54</p>
54 55
55</body> 56</body>
56</section> 57</section>
57</chapter> 58</chapter>
61<section> 62<section>
62<title>The basics</title> 63<title>The basics</title>
63<body> 64<body>
64 65
65<p> 66<p>
66First, make sure you've setup Xorg as shown in the <uri 67First, make sure you've configured Xorg as shown in the <uri
67link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri>. 68link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri>.
68</p> 69</p>
69 70
70<p> 71<p>
71Next, double-check your USE flags in <path>/etc/make.conf</path>; you'll 72Next, double-check your USE flags in <path>/etc/make.conf</path>; you'll
72probably at least want <c>USE="-gnome -kde -qt3 -qt4 X dbus hal startup-notification xscreensaver"</c>. 73probably at least want <c>USE="-gnome -kde -minimal -qt4 dbus jpeg lock session
73</p> 74startup-notification thunar udev X"</c>.
74
75<p> 75</p>
76Now, let's install Xfce. 76
77<p>
78Now that you've set your <c>USE</c> variables in
79<path>/etc/make.conf</path>, it's time to install Xfce.
77</p> 80</p>
78 81
79<pre caption="Installing Xfce"> 82<pre caption="Installing Xfce">
80# <i>emerge -avt xfce4</i> 83# <i>emerge -avt xfce4-meta</i>
81</pre> 84</pre>
82 85
83<p> 86<p>
84Next, add your regular user(s) to the <c>plugdev</c>, <c>cdrom</c>, <c>cdrw</c>, 87Next, add your regular user(s) to the <c>plugdev</c>, <c>cdrom</c>, <c>cdrw</c>,
85and <c>usb</c> groups, so that they can take full advantage of <c>hal</c> and be 88and <c>usb</c> groups, so that they can mount and use devices such as cameras,
86able to mount and use devices such as cameras, optical drives, and USB sticks. 89optical drives, and USB sticks.
87</p> 90</p>
88 91
89<pre caption="Adding users to the hardware groups"> 92<pre caption="Adding users to the hardware groups">
90<comment>(Replace username with your actual user)</comment> 93<comment>(Replace username with your actual user)</comment>
91# <i>for x in plugdev cdrom cdrw usb ; do gpasswd -a username $x ; done</i> 94# <i>for x in plugdev cdrom cdrw usb ; do gpasswd -a username $x ; done</i>
98<pre caption="Updating environment variables"> 101<pre caption="Updating environment variables">
99# <i>env-update &amp;&amp; source /etc/profile</i> 102# <i>env-update &amp;&amp; source /etc/profile</i>
100</pre> 103</pre>
101 104
102<p> 105<p>
103Now start up <c>hald</c> and add it to the default runlevel: 106You'll also need a graphical terminal so that you can continue working with your
107new desktop environment. <c>x11-terms/terminal</c> is a good choice, as it's
108made specifically for Xfce. Install Terminal as shown:
104</p> 109</p>
105 110
106<pre caption="Starting hald"> 111<pre caption="Installing Terminal">
107# <i>/etc/init.d/hald start</i> 112# <i>emerge x11-terms/terminal</i>
108# <i>rc-update add hald default</i>
109</pre> 113</pre>
110 114
111</body> 115</body>
112</section> 116</section>
113</chapter> 117</chapter>
125</p> 129</p>
126 130
127<pre caption="Setting Xfce as the default desktop environment"> 131<pre caption="Setting Xfce as the default desktop environment">
128$ <i>echo "exec startxfce4" > ~/.xinitrc</i> 132$ <i>echo "exec startxfce4" > ~/.xinitrc</i>
129</pre> 133</pre>
134
135<note>
136If you have ConsoleKit installed, your <path>~/.xinitrc</path> should instead
137contain <c>exec ck-launch-session startxfce4</c>. Otherwise, some of your
138applications may stop working. You'll also need to add consolekit to the
139default runlevel by running the following command as root: <c>rc-update add
140consolekit default</c>.
141</note>
130 142
131<p> 143<p>
132Now start your graphical environment by typing <c>startx</c>: 144Now start your graphical environment by typing <c>startx</c>:
133</p> 145</p>
134 146
205use within Xfce. 217use within Xfce.
206</p> 218</p>
207 219
208<p> 220<p>
209There are many plugins for the panel available in Portage; see for yourself with 221There are many plugins for the panel available in Portage; see for yourself with
210<c>emerge --search xfce</c>. Though for the most part their names are self 222<c>emerge --search xfce</c>. Though for the most part their names are
211explanatory, a few deserve some attention, as they are quite helpful. To use 223self-explanatory, a few deserve extra attention, as they are quite helpful. To
212them, simply <c>emerge</c> them. They'll be added to the list of available items 224use them, simply <c>emerge</c> them. They'll be added to the list of available
213in the "Add New Item" menu shown when you right-click on the panel. 225items in the "Add New Items" menu shown when you right-click on the panel.
214</p> 226</p>
215 227
216<ul> 228<ul>
217 <li> 229 <li>
218 <c>xfce4-mount</c> gives you a handy method of mounting devices listed in
219 <path>/etc/fstab</path> just by clicking your mouse
220 </li>
221 <li>
222 <c>xfce4-battery</c> is perfect for laptop users. It displays battery 230 <c>xfce4-battery-plugin</c> is perfect for laptop users. It displays battery
223 percentage, time remaining, power source (AC or battery), fan status, 231 percentage, time remaining, power source (AC or battery), fan status,
224 warnings, and can even be configured to execute commands at certain power 232 warnings, and can even be configured to execute commands at certain power
225 levels. This feature can be used to put the laptop into hibernate mode when 233 levels. This feature can be used to put the laptop into hibernate mode when
226 the battery is almost exhausted. 234 the battery is almost exhausted.
227 </li> 235 </li>
228 <li> 236 <li>
229 <c>verve</c> is a small command line embedded into the panel. It's quicker 237 <c>xfce4-verve-plugin</c> is a small command line embedded into the panel.
230 than opening up another terminal when you want to run a command. 238 It's quicker than opening up another terminal when you want to run a
231 </li> 239 command.
232 <li> 240 </li>
233 <c>xfce4-mixer</c> is a volume control. It works with both ALSA and OSS 241 <li>
234 sound applications. 242 <c>xfce4-mount-plugin</c> gives you a handy method of mounting devices
243 listed in <path>/etc/fstab</path> just by clicking your mouse
244 </li>
245 <li>
246 <c>xfce4-sensors-plugin</c> lets you monitor your hardware sensors, such as
247 CPU temperature, fan RPM, hard drive temp, motherboard voltage, and more
235 </li> 248 </li>
236</ul> 249</ul>
237 250
238<p> 251<p>
239If you can't find what you're looking for in the plugins specifically made for 252If you can't find what you're looking for in the plugins specifically made for
240Xfce, try searching through the list of Gnome panel applets! That's right, by 253Xfce, try searching through the list of Gnome panel applets! That's right, by
241first emerging <c>xfce4-xfapplet</c>, you can install and run any applet made 254first emerging <c>xfce4-xfapplet-plugin</c>, you can install and run any applet
242for Gnome. 255made for Gnome.
243</p> 256</p>
244 257
245</body> 258</body>
246</section> 259</section>
247<section> 260<section>
248<title>Useful programs</title> 261<title>Useful programs</title>
249<body> 262<body>
250 263
251<p> 264<p>
252Xfce bundles a few useful applications, including <c>thunar</c>, 265We should now <c>emerge</c> some useful applications and utilities:
253<c>terminal</c>, <c>orage</c>, and <c>mousepad</c>. Note that the last three 266<c>xfce4-mixer</c>, <c>xfce4-taskmanager</c>, <c>xfwm4-themes</c>, <c>orage</c>,
254will not be installed if you built <c>xfce4</c> with the <c>minimal</c> USE 267<c>leafpad</c>, <c>xfce4-power-manager</c>, <c>x11-terms/terminal</c>, and
255flag. However, these are all very small, yet terrific applications, so they're 268<c>thunar</c>.
256well worth installing.
257</p>
258
259<p> 269</p>
270
271<p>
272<c>xfce4-mixer</c> is a volume control for your sound card. It can also be run
273as a panel applet, giving you fast access to playback volume.
274<c>xfce4-taskmanager</c> displays a list of all running programs, and the CPU
275and memory consumption each one takes up. By right-clicking an item, you can
276kill a misbehaving application, pause and restart it, or even alter its runtime
277priority, which lets you fine-tune how much of a demand it puts on your system's
278resources.
279</p>
280
281<p>
282<c>xfwm4-themes</c> adds several window manager themes. You may want to add a
283more full-coverage icon theme such as <c>tango-icon-theme</c> just to round out
284your desktop.
285</p>
286
287<p>
260<c>orage</c> is a simple, handy calendar. <c>mousepad</c> is a barebones text 288<c>orage</c> is a simple, handy calendar. <c>leafpad</c> is a barebones text
261editor that starts up extremely quickly. <c>terminal</c> is far more 289editor that starts up extremely quickly.
262configurable and useful than xterm, and supports Unicode text,
263pseudo-transparency and accelerated transparency via Xfce's built-in
264compositor, all out-of-the-box. Just make sure that the default action on the
265terminal launcher of your panel runs <path>/usr/bin/Terminal</path> instead of
266xterm. Right click the launcher and choose "Properties" to change the command.
267</p>
268
269<p> 290</p>
291
292<p>
293<c>xfce4-power-manager</c> is an application to monitor and manage power usage.
294This is especially important for laptops! The power manager allows you to adjust
295screen brightness, choose maximum performance or battery-saving modes, and setup
296hibernate, suspend, and shutdown actions when the lid is shut or buttons are
297pressed. You can set <uri
298link="http://goodies.xfce.org/projects/applications/xfce4-power-manager">xfce4-power-manager</uri>
299to warn you when your battery reaches certain levels, or even turn off your
300machine. The application comes with a couple of helpful panel plugins to display
301battery/charging status, and a brightness control.
302</p>
303
304<p>
305<c>x11-terms/terminal</c> is an X11 terminal emulator, far more configurable and
306useful than the barebones <c>xterm</c>. <c>terminal</c> supports Unicode text,
307color schemes, pseudo-transparency and hardware-accelerated transparency via
308Xfce's built-in compositor, all out-of-the-box. Just make sure that the default
309action on the terminal launcher of your panel runs
310<path>/usr/bin/Terminal</path> instead of <path>xterm</path>. Right-click the
311launcher and choose "Properties" to change the command.
312</p>
313
314<p>
270<c>thunar</c> is Xfce's built-in graphical file manager. It's fast yet quite 315<c>thunar</c> is Xfce's default graphical file manager. It's fast yet quite
271powerful, can support a few plugins for even more functionality; just install 316powerful, can support several plugins for even more functionality; just install
272them with <c>emerge</c>. Let's take a look: 317them with <c>emerge</c>. Let's take a look:
273</p> 318</p>
274 319
275<ul> 320<ul>
276 <li> 321 <li>
277 <c>thunar-archive</c> lets you create and extract archive files using the 322 <c>thunar-archive-plugin</c> lets you create and extract archive files using
278 right-click menu. It works even better when paired with the new graphical 323 the right-click menu. It provides a handy <uri
279 archiving <uri
280 link="http://www.foo-projects.org/~benny/projects/thunar-archive-plugin/">tool</uri> 324 link="http://www.foo-projects.org/~benny/projects/thunar-archive-plugin">front-end</uri>
281 developed for Xfce, <c>xarchiver</c>. 325 for graphical archiving applications such as <c>xarchiver</c>,
282 </li> 326 <c>squeeze</c>, and <c>file-roller</c>.
283 <li> 327 </li>
284 <c>thunar-media-tags</c> lets you intelligently rename multiple media files
285 at once, and lets you <uri
286 link="http://thunar.xfce.org/pwiki/projects/thunar-media-tags-plugin">edit</uri>
287 their information tags, such as id3 tags.
288 </li> 328 <li>
289 <li> 329 <c>tumbler</c> lets you preview certain types of files from within Thunar,
290 <c>thunar-thumbnailers</c> lets you <uri 330 such as images and fonts.
291 link="http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers">preview</uri>
292 certain types of files from within Thunar, such as images and fonts.
293 </li> 331 </li>
294 <li> 332 <li>
295 <c>thunar-volman</c> automatically <uri 333 <c>thunar-volman</c> automatically <uri
296 link="http://foo-projects.org/~benny/projects/thunar-volman/">manages</uri> 334 link="http://foo-projects.org/~benny/projects/thunar-volman/">manages</uri>
297 removable media and drives. 335 removable media and drives.
302Next, let's see about adding some useful but lightweight desktop applications, 340Next, let's see about adding some useful but lightweight desktop applications,
303in keeping with Xfce's philosophy. 341in keeping with Xfce's philosophy.
304</p> 342</p>
305 343
306<p> 344<p>
307Though <c>mousepad</c> is nice enough, if you need a full-featured word 345Though <c>leafpad</c> is nice enough as a basic text editor, if you need a
308processor but don't want the bloat of OpenOffice, try emerging <c>abiword</c>. 346full-featured word processor but don't want the bloat of OpenOffice, try
309<uri link="http://www.abisource.com">AbiWord</uri> is lighter, faster, and is 347emerging <c>abiword</c>. <uri link="http://www.abisource.com">AbiWord</uri> is
310completely interoperable with industry-standard document types. 348lighter, faster, and is completely interoperable with industry-standard document
311</p> 349types.
312
313<pre caption="Adding a word processor">
314# <i>emerge -avt abiword</i>
315</pre> 350</p>
316 351
317<p> 352<p>
318Need a nice email client/newsreader that isn't as demanding as 353Need a nice email client/newsreader that isn't as demanding as
319<c>mozilla-thunderbird</c> or <c>evolution</c>? Try emerging <c>claws-mail</c>. 354<c>thunderbird</c> or <c>evolution</c>? Try emerging <c>claws-mail</c>.
320</p> 355</p>
321 356
322<p> 357<p>
323For your internet chat needs, <c>irssi</c> is an excellent, tiny, incredibly 358For your internet chat needs, <c>irssi</c> is an excellent, tiny, incredibly
324configurable IRC client that runs in your terminal. If you prefer a compact 359configurable IRC client that runs in your terminal. If you prefer a compact
326<c>emerge pidgin</c>. 361<c>emerge pidgin</c>.
327</p> 362</p>
328 363
329<p> 364<p>
330If you need movie and music players, look no further than <c>mplayer</c> and 365If you need movie and music players, look no further than <c>mplayer</c> and
366<uri link="/proj/en/desktop/sound/decibel.xml">decibel-audio-player</uri>. They
331<c>audacious</c>. They can play most every media format available quite nicely, 367can play most every media format available quite nicely.
332and have a wealth of additional plugins available for additional functionality.
333</p> 368</p>
334 369
335<p> 370<p>
336Finally, you'll need a webbrowser. Nearly all graphical webbrowsers require more 371Finally, you'll need a webbrowser. Nearly all graphical webbrowsers require more
337resources than most of your other desktop applications. Still, 372resources than most of your other desktop applications. Still, <c>firefox</c>
338<c>mozilla-firefox</c> (or <c>mozilla-firefox-bin</c>) is always a good choice. 373and <c>midori</c> are always good choices. Alternatively, you may find
339Alternatively, you may find <c>opera</c> to be quite fast. However, <c>opera</c> 374<c>opera</c> to be quite fast. However, <c>opera</c> is not available on as many
340is not available on as many processor architectures as <c>mozilla-firefox</c>, 375processor architectures as <c>firefox</c>, and it has more dependencies unless
341and it has more dependencies unless you override them with a USE flag. 376you override them with a few USE flags.
342</p> 377</p>
343 378
344<pre caption="Adding a webbrowser"> 379<pre caption="Adding a webbrowser">
345<comment>(Installing Mozilla Firefox)</comment> 380<comment>(Installing Mozilla Firefox)</comment>
346# <i>emerge mozilla-firefox</i> 381# <i>emerge firefox</i>
382<comment>(Installing Midori)</comment>
383# <i>emerge midori</i>
347<comment>(Installing Opera)</comment> 384<comment>(Installing Opera)</comment>
348# <i>echo "www-client/opera qt-static" >> /etc/portage/package.use</i> 385# <i>echo "www-client/opera gtk -kde" >> /etc/portage/package.use</i>
349# <i>emerge opera</i> 386# <i>emerge opera</i>
350</pre> 387</pre>
351 388
352<p> 389<p>
353Now that we've explored some good suggestions for rounding out your desktop 390Now that we've explored some good suggestions for rounding out your desktop
377</pre> 414</pre>
378 415
379<p> 416<p>
380We aren't quite finished yet. We have to pick a display manager and set the 417We aren't quite finished yet. We have to pick a display manager and set the
381appropriate variable. Though there are a few choices available in Portage, for 418appropriate variable. Though there are a few choices available in Portage, for
382this guide, we'll stick with two display manager options: <c>xdm</c> and 419this guide, we'll stick with <uri link="http://slim.berlios.de">SLiM</uri>, the
383<c>gdm</c>. 420Simple Login Manager.
384</p>
385
386<p> 421</p>
387<c>xdm</c> is speedy and lightweight, but it isn't pretty, and isn't really 422
388customizable. If you'd like to use it, first <c>emerge</c> it:
389</p> 423<p>
424<c>slim</c> is speedy and lightweight, with minimal dependencies. Perfect for
425Xfce!
426</p>
390 427
391<pre caption="Installing XDM"> 428<pre caption="Installing SLiM">
392# <i>emerge -avt xdm</i> 429# <i>emerge -avt slim</i>
393</pre> 430</pre>
431
432<note>
433The <c>branding</c> USE flag will pull in the <c>slim-themes</c> package, which
434will give you an assortment of login themes, including a Gentoo Linux theme.
435</note>
394 436
395<p> 437<p>
396Then edit the DISPLAYMANAGER variable in <path>/etc/conf.d/xdm</path>: 438Then edit the DISPLAYMANAGER variable in <path>/etc/conf.d/xdm</path>:
397</p> 439</p>
398 440
399<pre caption="Editing /etc/conf.d/xdm"> 441<pre caption="Editing /etc/conf.d/xdm">
400DISPLAYMANAGER="xdm" 442DISPLAYMANAGER="slim"
401</pre> 443</pre>
402 444
403<p>
404<c>xdm</c> can automatically start your Xfce session if you add XSESSION="Xfce4"
405to <path>/etc/rc.conf</path>.
406</p> 445<p>
407 446SLiM can automatically start your Xfce session if you add
447<c>XSESSION="Xfce4"</c> to <path>/etc/env.d/90xsession</path>:
408<p> 448</p>
409While you can choose to stick with (the rather ugly) <c>xdm</c>, why not try
410<c>gdm</c> instead? It's far more configurable, and much, much prettier. First,
411let's <c>emerge</c> it. Note that though it has a few dependencies, they're
412small, and they're not as nearly as numerous as other display managers.
413</p>
414 449
415<pre caption="Installing GDM"> 450<pre caption="Setting XSESSION">
416# <i>emerge -avt gdm</i> 451# <i>echo XSESSION=\"Xfce4\" > /etc/env.d/90xsession</i>
417</pre> 452# <i>env-update &amp;&amp; source /etc/profile</i>
418
419<p>
420Next, change the DISPLAYMANAGER variable to use <c>gdm</c> instead of
421<c>xdm</c>:
422</p>
423
424<pre caption="Editing /etc/conf.d/xdm">
425DISPLAYMANAGER="gdm"
426</pre> 453</pre>
427 454
428</body> 455</body>
429</section> 456</section>
430<section> 457<section>
451to be able to access themes and icon sets. Individual users can install themes 478to be able to access themes and icon sets. Individual users can install themes
452and icon sets to <path>~/.themes/</path> and <path>~/.icons/</path>. 479and icon sets to <path>~/.themes/</path> and <path>~/.icons/</path>.
453</p> 480</p>
454 481
455<p> 482<p>
456If you installed GDM as your display manager, take a look at the many GDM themes 483If you installed SLiM as your display manager, there are lots of themes in the
457available on <uri link="http://www.gnome-look.org">Gnome-Look</uri>. To install 484<c>slim-themes</c> package available in Portage. Also, be sure to check the SLiM
458them, you can either unpack and move them to 485<uri link="http://slim.berlios.de/themes01.php">themes page</uri> for more
459<path>/usr/share/gdm/themes/</path> on the command line, or you can run 486themes. Creating your own SLiM theme is fairly easy; just read the <uri
460<c>gdmsetup</c> as <b>root</b> and drag'n'drop the archive into the GDM window. 487link="http://slim.berlios.de/themes_howto.php">Themes HowTo</uri>. Gentoo also
461There are some <uri 488ships a <c>slim-themes</c> package that you can <c>emerge</c>.
462link="http://gnome-look.org/content/show.php?content=45575">very nice</uri>
463Gentoo <uri
464link="http://gnome-look.org/content/show.php?content=20071">themes</uri>
465available.
466</p> 489</p>
467 490
468<p> 491<p>
469Finally, Xfce has its own built-in compositor to manage window transparency. 492Finally, Xfce has its own built-in compositor to manage window transparency.
470This option can be found in Menu --> Settings --> Window Manager. For best 493This option can be found in Menu --> Settings --> Window Manager. For best
487<uri link="/doc/en/index.xml?catid=desktop">Desktop Documentation 510<uri link="/doc/en/index.xml?catid=desktop">Desktop Documentation
488Resources</uri> list to learn about configuring hardware-accelerated rendering 511Resources</uri> list to learn about configuring hardware-accelerated rendering
489for your graphics card. 512for your graphics card.
490</p> 513</p>
491 514
492</body>
493</section>
494</chapter>
495
496<chapter id="upgrade">
497<title>Upgrading</title>
498<section>
499<title>Upgrading from 4.2 to 4.4</title>
500<body>
501
502<p>
503Upgrading from Xfce 4.2 to 4.4 isn't hard, but neither is it as simple as most
504upgrades. With the release of 4.4, many older packages are either deprecated, or
505their functionality has been included into the desktop in some other manner.
506</p> 515<p>
507 516Once you've finished setting up a beautiful Xfce desktop, the next thing to do
508<p> 517is take a picture of it to share with other folks! Just install
509First, update your Portage tree (<c>emerge --sync</c>), then see what Xfce 518<c>xfce4-screenshooter</c> and post your pictures somewhere for all to admire.
510updates are available (<c>emerge -pvtuD world</c>).
511</p>
512
513<p>
514You'll notice that there will be a list of packages that block upgrading, as
515most 4.2 packages cannot coexist with 4.4 packages. Here, the solution is pretty
516straightforward: just unmerge the blocking packages, as described in the <uri
517link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">Portage
518Handbook</uri> and <c>man emerge</c>, then continue with the update.
519</p>
520
521<p>
522Next, you may need to rebuild certain packages, such as applications linked
523against <c>dbus</c>. You'll need to first install <c>gentoolkit</c> for this.
524Then, once <c>gentoolkit</c> is installed, run:
525</p>
526
527<pre caption="Rebuilding packages">
528# <i>revdep-rebuild -p</i>
529<comment>(If you see any output about broken packages, run this next command)</comment>
530# <i>revdep-rebuild</i>
531</pre>
532
533<note>
534For more information, please read <c>man revdep-rebuild</c> and our <uri
535link="/doc/en/gentoolkit.xml">Gentoolkit Guide</uri>.
536</note>
537
538<p>
539Once the rebuild has finished, run <c>revdep-rebuild -p</c> again, just to make
540sure you have a clean and consistent world. If anything still shows up, keep
541repeating <c>revdep-rebuild -p</c> and <c>revdep-rebuild</c> until there's no
542more output about broken packages. Most Xfce update problems stem from
543<c>dbus</c> issues, as Xfce uses <c>dbus</c> quite extensively.
544</p>
545
546<p>
547Next, restart <c>dbus</c> and/or <c>hal</c>.
548</p>
549
550<pre caption="Restarting dbus and hal">
551# <i>/etc/init.d/dbus restart</i>
552# <i>/etc/init.d/hald restart</i>
553</pre>
554
555<p>
556Finally, give yourself a fresh environment.
557</p>
558
559<pre caption="Updating the environment variables">
560# <i>env-update &amp;&amp; source /etc/profile</i>
561</pre>
562
563</body>
564</section>
565<section>
566<title>Settings</title>
567<body>
568
569<p>
570Make sure you familiarize yourself with all the new options available in the new
571Settings Manager. Of interest are the options in the Desktop screen; Xfce can
572now manage your desktop and place icons on it.
573</p>
574
575<p>
576There's also a Window Manager Tweaks screen, in which you can adjust the
577behavior of windows, workspaces, and transparency (if enabled). Xfce 4.4 has
578slightly changed the default behavior of workspaces and active window focus. If
579you find that clicking a hyperlink in one workspace switches your browser to
580that workspace from another one (or similar annoying window focus behavior), try
581Settings --> Window Manager Tweaks --> Focus --> Activate Focus Stealing
582Prevention.
583</p>
584
585<p>
586Be sure to read the <uri link="http://www.xfce.org/documentation/">Xfce
587Documentation</uri> and take the <uri link="http://www.xfce.org/about/tour">Xfce
588Tour</uri> to learn more about 4.4 and how to configure it.
589</p> 519</p>
590 520
591</body> 521</body>
592</section> 522</section>
593</chapter> 523</chapter>
600<p> 530<p>
601Congratulations on making it this far! You've installed and configured a speedy 531Congratulations on making it this far! You've installed and configured a speedy
602desktop environment with a solid suite of applications for your computing 532desktop environment with a solid suite of applications for your computing
603needs. 533needs.
604</p> 534</p>
535
536</body>
537</section>
538<section>
539<title>Upgrading Xfce</title>
540<body>
541
542<p>
543If you're upgrading Xfce from an old version to 4.8 or newer, then you will need
544to remove your old cached sessions. For each of your users, run the following
545commands to remove your old incompatible cached sessions:
546</p>
547
548<pre caption="Deleting old sessions from the cache">
549$ <i>rm -r ~/.cache/sessions</i>
550$ <i>rm -r ~/.config/xfce*</i>
551$ <i>rm -r ~/.config/Thunar</i>
552</pre>
605 553
606</body> 554</body>
607</section> 555</section>
608<section> 556<section>
609<title>Resources</title> 557<title>Resources</title>

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20