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

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

  ViewVC Help
Powered by ViewVC 1.1.20