/[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.13 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.13 2007/10/18 18:32:44 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.9</version> 21<version>5</version>
22<date>2007-10-03</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="dbus -gnome hal startup-notification 73probably at least want <c>USE="-gnome -kde -minimal -qt4 dbus jpeg lock session
73xscreensaver"</c>. 74startup-notification thunar udev X"</c>.
74</p>
75
76<p> 75</p>
77Now, 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.
78</p> 80</p>
79 81
80<pre caption="Installing Xfce"> 82<pre caption="Installing Xfce">
81# <i>emerge -avt xfce4</i> 83# <i>emerge -avt xfce4-meta</i>
82</pre> 84</pre>
83 85
84<p> 86<p>
85Next, 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>,
86and <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,
87able to mount and use devices such as cameras, optical drives, and USB sticks. 89optical drives, and USB sticks.
88</p> 90</p>
89 91
90<pre caption="Adding users to the hardware groups"> 92<pre caption="Adding users to the hardware groups">
91<comment>(Replace username with your actual user)</comment> 93<comment>(Replace username with your actual user)</comment>
92# <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>
99<pre caption="Updating environment variables"> 101<pre caption="Updating environment variables">
100# <i>env-update &amp;&amp; source /etc/profile</i> 102# <i>env-update &amp;&amp; source /etc/profile</i>
101</pre> 103</pre>
102 104
103<p> 105<p>
104Now 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:
105</p> 109</p>
106 110
107<pre caption="Starting hald"> 111<pre caption="Installing Terminal">
108# <i>/etc/init.d/hald start</i> 112# <i>emerge x11-terms/terminal</i>
109# <i>rc-update add hald default</i>
110</pre> 113</pre>
111 114
112</body> 115</body>
113</section> 116</section>
114</chapter> 117</chapter>
126</p> 129</p>
127 130
128<pre caption="Setting Xfce as the default desktop environment"> 131<pre caption="Setting Xfce as the default desktop environment">
129$ <i>echo "exec startxfce4" > ~/.xinitrc</i> 132$ <i>echo "exec startxfce4" > ~/.xinitrc</i>
130</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>
131 142
132<p> 143<p>
133Now start your graphical environment by typing <c>startx</c>: 144Now start your graphical environment by typing <c>startx</c>:
134</p> 145</p>
135 146
206use within Xfce. 217use within Xfce.
207</p> 218</p>
208 219
209<p> 220<p>
210There 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
211<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
212explanatory, 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
213them, 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
214in 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.
215</p> 226</p>
216 227
217<ul> 228<ul>
218 <li> 229 <li>
219 <c>xfce4-mount</c> gives you a handy method of mounting devices listed in
220 <path>/etc/fstab</path> just by clicking your mouse
221 </li>
222 <li>
223 <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
224 percentage, time remaining, power source (AC or battery), fan status, 231 percentage, time remaining, power source (AC or battery), fan status,
225 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
226 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
227 the battery is almost exhausted. 234 the battery is almost exhausted.
228 </li> 235 </li>
229 <li> 236 <li>
230 <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.
231 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
232 </li> 239 command.
233 <li> 240 </li>
234 <c>xfce4-mixer</c> is a volume control. It works with both ALSA and OSS 241 <li>
235 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
236 </li> 248 </li>
237</ul> 249</ul>
238 250
239<p> 251<p>
240If 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
241Xfce, 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
242first 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
243for Gnome. 255made for Gnome.
244</p> 256</p>
245 257
246</body> 258</body>
247</section> 259</section>
248<section> 260<section>
249<title>Useful programs</title> 261<title>Useful programs</title>
250<body> 262<body>
251 263
252<p> 264<p>
253Xfce bundles a few useful applications, including <c>thunar</c>, 265We should now <c>emerge</c> some useful applications and utilities:
254<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>,
255will 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
256flag. However, these are all very small, yet terrific applications, so they're 268<c>thunar</c>.
257well worth installing.
258</p>
259
260<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>
261<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
262editor that starts up extremely quickly. <c>terminal</c> is far more 289editor that starts up extremely quickly.
263configurable and useful than xterm, and supports Unicode text,
264pseudo-transparency and accelerated transparency via Xfce's built-in
265compositor, all out-of-the-box. Just make sure that the default action on the
266terminal launcher of your panel runs <path>/usr/bin/Terminal</path> instead of
267xterm. Right click the launcher and choose "Properties" to change the command.
268</p>
269
270<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>
271<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
272powerful, can support a few plugins for even more functionality; just install 316powerful, can support several plugins for even more functionality; just install
273them with <c>emerge</c>. Let's take a look: 317them with <c>emerge</c>. Let's take a look:
274</p> 318</p>
275 319
276<ul> 320<ul>
277 <li> 321 <li>
278 <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
279 right-click menu. It works even better when paired with the new graphical 323 the right-click menu. It provides a handy <uri
280 archiving <uri
281 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>
282 developed for Xfce, <c>xarchiver</c>. 325 for graphical archiving applications such as <c>xarchiver</c>,
283 </li> 326 <c>squeeze</c>, and <c>file-roller</c>.
284 <li> 327 </li>
285 <c>thunar-media-tags</c> lets you intelligently rename multiple media files
286 at once, and lets you <uri
287 link="http://thunar.xfce.org/pwiki/projects/thunar-media-tags-plugin">edit</uri>
288 their information tags, such as id3 tags.
289 </li> 328 <li>
290 <li> 329 <c>tumbler</c> lets you preview certain types of files from within Thunar,
291 <c>thunar-thumbnailers</c> lets you <uri 330 such as images and fonts.
292 link="http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers">preview</uri>
293 certain types of files from within Thunar, such as images and fonts.
294 </li> 331 </li>
295 <li> 332 <li>
296 <c>thunar-volman</c> automatically <uri 333 <c>thunar-volman</c> automatically <uri
297 link="http://foo-projects.org/~benny/projects/thunar-volman/">manages</uri> 334 link="http://foo-projects.org/~benny/projects/thunar-volman/">manages</uri>
298 removable media and drives. 335 removable media and drives.
303Next, let's see about adding some useful but lightweight desktop applications, 340Next, let's see about adding some useful but lightweight desktop applications,
304in keeping with Xfce's philosophy. 341in keeping with Xfce's philosophy.
305</p> 342</p>
306 343
307<p> 344<p>
308Though <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
309processor 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
310<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
311completely interoperable with industry-standard document types. 348lighter, faster, and is completely interoperable with industry-standard document
312</p> 349types.
313
314<pre caption="Adding a word processor">
315# <i>emerge -avt abiword</i>
316</pre> 350</p>
317 351
318<p> 352<p>
319Need a nice email client/newsreader that isn't as demanding as 353Need a nice email client/newsreader that isn't as demanding as
320<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>.
321</p> 355</p>
322 356
323<p> 357<p>
324For 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
325configurable 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
327<c>emerge pidgin</c>. 361<c>emerge pidgin</c>.
328</p> 362</p>
329 363
330<p> 364<p>
331If 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
332<c>audacious</c>. They can play most every media format available quite nicely, 367can play most every media format available quite nicely.
333and have a wealth of additional plugins available for additional functionality.
334</p> 368</p>
335 369
336<p> 370<p>
337Finally, you'll need a webbrowser. Nearly all graphical webbrowsers require more 371Finally, you'll need a webbrowser. Nearly all graphical webbrowsers require more
338resources than most of your other desktop applications. Still, 372resources than most of your other desktop applications. Still, <c>firefox</c>
339<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
340Alternatively, 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
341is not available on as many processor architectures as <c>mozilla-firefox</c>, 375processor architectures as <c>firefox</c>, and it has more dependencies unless
342and it has more dependencies unless you override them with a USE flag. 376you override them with a few USE flags.
343</p> 377</p>
344 378
345<pre caption="Adding a webbrowser"> 379<pre caption="Adding a webbrowser">
346<comment>(Installing Mozilla Firefox)</comment> 380<comment>(Installing Mozilla Firefox)</comment>
347# <i>emerge mozilla-firefox</i> 381# <i>emerge firefox</i>
382<comment>(Installing Midori)</comment>
383# <i>emerge midori</i>
348<comment>(Installing Opera)</comment> 384<comment>(Installing Opera)</comment>
349# <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>
350# <i>emerge opera</i> 386# <i>emerge opera</i>
351</pre> 387</pre>
352 388
353<p> 389<p>
354Now 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
378</pre> 414</pre>
379 415
380<p> 416<p>
381We 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
382appropriate variable. Though there are a few choices available in Portage, for 418appropriate variable. Though there are a few choices available in Portage, for
383this 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
384<c>gdm</c>. 420Simple Login Manager.
385</p>
386
387<p> 421</p>
388<c>xdm</c> is speedy and lightweight, but it isn't pretty, and isn't really 422
389customizable. If you'd like to use it, first <c>emerge</c> it:
390</p> 423<p>
424<c>slim</c> is speedy and lightweight, with minimal dependencies. Perfect for
425Xfce!
426</p>
391 427
392<pre caption="Installing XDM"> 428<pre caption="Installing SLiM">
393# <i>emerge -avt xdm</i> 429# <i>emerge -avt slim</i>
394</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>
395 436
396<p> 437<p>
397Then edit the DISPLAYMANAGER variable in <path>/etc/conf.d/xdm</path>: 438Then edit the DISPLAYMANAGER variable in <path>/etc/conf.d/xdm</path>:
398</p> 439</p>
399 440
400<pre caption="Editing /etc/conf.d/xdm"> 441<pre caption="Editing /etc/conf.d/xdm">
401DISPLAYMANAGER="xdm" 442DISPLAYMANAGER="slim"
402</pre> 443</pre>
403 444
404<p>
405<c>xdm</c> can automatically start your Xfce session if you add XSESSION="Xfce4"
406to <path>/etc/rc.conf</path>.
407</p> 445<p>
408 446SLiM can automatically start your Xfce session if you add
447<c>XSESSION="Xfce4"</c> to <path>/etc/env.d/90xsession</path>:
409<p> 448</p>
410While you can choose to stick with (the rather ugly) <c>xdm</c>, why not try
411<c>gdm</c> instead? It's far more configurable, and much, much prettier. First,
412let's <c>emerge</c> it. Note that though it has a few dependencies, they're
413small, and they're not as nearly as numerous as other display managers.
414</p>
415 449
416<pre caption="Installing GDM"> 450<pre caption="Setting XSESSION">
417# <i>emerge -avt gdm</i> 451# <i>echo XSESSION=\"Xfce4\" > /etc/env.d/90xsession</i>
418</pre> 452# <i>env-update &amp;&amp; source /etc/profile</i>
419
420<p>
421Next, change the DISPLAYMANAGER variable to use <c>gdm</c> instead of
422<c>xdm</c>:
423</p>
424
425<pre caption="Editing /etc/conf.d/xdm">
426DISPLAYMANAGER="gdm"
427</pre> 453</pre>
428 454
429</body> 455</body>
430</section> 456</section>
431<section> 457<section>
452to 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
453and icon sets to <path>~/.themes/</path> and <path>~/.icons/</path>. 479and icon sets to <path>~/.themes/</path> and <path>~/.icons/</path>.
454</p> 480</p>
455 481
456<p> 482<p>
457If 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
458available 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
459them, you can either unpack and move them to 485<uri link="http://slim.berlios.de/themes01.php">themes page</uri> for more
460<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
461<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
462There are some <uri 488ships a <c>slim-themes</c> package that you can <c>emerge</c>.
463link="http://gnome-look.org/content/show.php?content=45575">very nice</uri>
464Gentoo <uri
465link="http://gnome-look.org/content/show.php?content=20071">themes</uri>
466available.
467</p> 489</p>
468 490
469<p> 491<p>
470Finally, Xfce has its own built-in compositor to manage window transparency. 492Finally, Xfce has its own built-in compositor to manage window transparency.
471This option can be found in Menu --> Settings --> Window Manager. For best 493This option can be found in Menu --> Settings --> Window Manager. For best
488<uri link="/doc/en/index.xml?catid=desktop">Desktop Documentation 510<uri link="/doc/en/index.xml?catid=desktop">Desktop Documentation
489Resources</uri> list to learn about configuring hardware-accelerated rendering 511Resources</uri> list to learn about configuring hardware-accelerated rendering
490for your graphics card. 512for your graphics card.
491</p> 513</p>
492 514
493</body>
494</section>
495</chapter>
496
497<chapter id="upgrade">
498<title>Upgrading</title>
499<section>
500<title>Upgrading from 4.2 to 4.4</title>
501<body>
502
503<p>
504Upgrading from Xfce 4.2 to 4.4 isn't hard, but neither is it as simple as most
505upgrades. With the release of 4.4, many older packages are either deprecated, or
506their functionality has been included into the desktop in some other manner.
507</p> 515<p>
508 516Once you've finished setting up a beautiful Xfce desktop, the next thing to do
509<p> 517is take a picture of it to share with other folks! Just install
510First, 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.
511updates are available (<c>emerge -pvtuD world</c>).
512</p>
513
514<p>
515You'll notice that there will be a list of packages that block upgrading, as
516most 4.2 packages cannot coexist with 4.4 packages. Here, the solution is pretty
517straightforward: just unmerge the blocking packages, as described in the <uri
518link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">Portage
519Handbook</uri> and <c>man emerge</c>, then continue with the update.
520</p>
521
522<p>
523Next, you may need to rebuild certain packages, such as applications linked
524against <c>dbus</c>. You'll need to first install <c>gentoolkit</c> for this.
525Then, once <c>gentoolkit</c> is installed, run:
526</p>
527
528<pre caption="Rebuilding packages">
529# <i>revdep-rebuild -p</i>
530<comment>(If you see any output about broken packages, run this next command)</comment>
531# <i>revdep-rebuild</i>
532</pre>
533
534<note>
535For more information, please read <c>man revdep-rebuild</c> and our <uri
536link="/doc/en/gentoolkit.xml">Gentoolkit Guide</uri>.
537</note>
538
539<p>
540Once the rebuild has finished, run <c>revdep-rebuild -p</c> again, just to make
541sure you have a clean and consistent world. If anything still shows up, keep
542repeating <c>revdep-rebuild -p</c> and <c>revdep-rebuild</c> until there's no
543more output about broken packages. Most Xfce update problems stem from
544<c>dbus</c> issues, as Xfce uses <c>dbus</c> quite extensively.
545</p>
546
547<p>
548Next, restart <c>dbus</c> and/or <c>hal</c>.
549</p>
550
551<pre caption="Restarting dbus and hal">
552# <i>/etc/init.d/dbus restart</i>
553# <i>/etc/init.d/hald restart</i>
554</pre>
555
556<p>
557Finally, give yourself a fresh environment.
558</p>
559
560<pre caption="Updating the environment variables">
561# <i>env-update &amp;&amp; source /etc/profile</i>
562</pre>
563
564</body>
565</section>
566<section>
567<title>Settings</title>
568<body>
569
570<p>
571Make sure you familiarize yourself with all the new options available in the new
572Settings Manager. Of interest are the options in the Desktop screen; Xfce can
573now manage your desktop and place icons on it.
574</p>
575
576<p>
577There's also a Window Manager Tweaks screen, in which you can adjust the
578behavior of windows, workspaces, and transparency (if enabled). Xfce 4.4 has
579slightly changed the default behavior of workspaces and active window focus. If
580you find that clicking a hyperlink in one workspace switches your browser to
581that workspace from another one (or similar annoying window focus behavior), try
582Settings --> Window Manager Tweaks --> Focus --> Activate Focus Stealing
583Prevention.
584</p>
585
586<p>
587Be sure to read the <uri link="http://www.xfce.org/documentation/">Xfce
588Documentation</uri> and take the <uri link="http://www.xfce.org/about/tour">Xfce
589Tour</uri> to learn more about 4.4 and how to configure it.
590</p> 519</p>
591 520
592</body> 521</body>
593</section> 522</section>
594</chapter> 523</chapter>
601<p> 530<p>
602Congratulations 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
603desktop environment with a solid suite of applications for your computing 532desktop environment with a solid suite of applications for your computing
604needs. 533needs.
605</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>
606 553
607</body> 554</body>
608</section> 555</section>
609<section> 556<section>
610<title>Resources</title> 557<title>Resources</title>

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

  ViewVC Help
Powered by ViewVC 1.1.20