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

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

  ViewVC Help
Powered by ViewVC 1.1.20