/[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.31 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.31 2010/07/26 01:48:40 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> 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">
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.26</version> 21<version>5</version>
22<date>2010-07-25</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>
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>
52The last part of this guide lists a few commands to run after upgrading to Xfce
534.8, so be sure to follow them if you are upgrading from an older version.
54</p>
55
51</body> 56</body>
52</section> 57</section>
53</chapter> 58</chapter>
54 59
55<chapter> 60<chapter>
63link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri>. 68link="/doc/en/xorg-config.xml">X Server Configuration Howto</uri>.
64</p> 69</p>
65 70
66<p> 71<p>
67Next, 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
68probably at least want <c>USE="-gnome -kde -minimal -qt4 branding dbus 73probably at least want <c>USE="-gnome -kde -minimal -qt4 dbus jpeg lock session
69hal jpeg lock session startup-notification thunar X"</c>. 74startup-notification thunar udev X"</c>.
70</p>
71
72<p> 75</p>
73Now, 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.
74</p> 80</p>
75 81
76<pre caption="Installing Xfce"> 82<pre caption="Installing Xfce">
77# <i>emerge -avt xfce4-meta</i> 83# <i>emerge -avt xfce4-meta</i>
78</pre> 84</pre>
79 85
80<p> 86<p>
81Next, 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>,
82and <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,
83able to mount and use devices such as cameras, optical drives, and USB sticks. 89optical drives, and USB sticks.
84</p> 90</p>
85 91
86<pre caption="Adding users to the hardware groups"> 92<pre caption="Adding users to the hardware groups">
87<comment>(Replace username with your actual user)</comment> 93<comment>(Replace username with your actual user)</comment>
88# <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>
92Next, update your environment variables: 98Next, update your environment variables:
93</p> 99</p>
94 100
95<pre caption="Updating environment variables"> 101<pre caption="Updating environment variables">
96# <i>env-update &amp;&amp; source /etc/profile</i> 102# <i>env-update &amp;&amp; source /etc/profile</i>
97</pre>
98
99<p>
100Now start up <c>hald</c> and add it to the default runlevel:
101</p>
102
103<pre caption="Starting hald">
104# <i>/etc/init.d/hald start</i>
105# <i>rc-update add hald default</i>
106</pre> 103</pre>
107 104
108<p> 105<p>
109You'll also need a graphical terminal so that you can continue working with your 106You'll also need a graphical terminal so that you can continue working with your
110new desktop environment. <c>x11-terms/terminal</c> is a good choice, as it's 107new desktop environment. <c>x11-terms/terminal</c> is a good choice, as it's
220use within Xfce. 217use within Xfce.
221</p> 218</p>
222 219
223<p> 220<p>
224There 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
225<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
226explanatory, 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
227them, 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
228in 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.
229</p> 226</p>
230 227
231<ul> 228<ul>
232 <li> 229 <li>
233 <c>xfce4-battery-plugin</c> is perfect for laptop users. It displays battery 230 <c>xfce4-battery-plugin</c> is perfect for laptop users. It displays battery
264<title>Useful programs</title> 261<title>Useful programs</title>
265<body> 262<body>
266 263
267<p> 264<p>
268We should now <c>emerge</c> some useful applications and utilities: 265We should now <c>emerge</c> some useful applications and utilities:
269<c>xfce4-mixer</c>, <c>xfprint</c>, <c>xfce4-taskmanager</c>, 266<c>xfce4-mixer</c>, <c>xfce4-taskmanager</c>, <c>xfwm4-themes</c>, <c>orage</c>,
270<c>xfwm4-themes</c>, <c>orage</c>, <c>mousepad</c>, <c>x11-terms/terminal</c>, 267<c>leafpad</c>, <c>xfce4-power-manager</c>, <c>x11-terms/terminal</c>, and
271and <c>thunar</c>. 268<c>thunar</c>.
272</p> 269</p>
273 270
274<p> 271<p>
275<c>xfce4-mixer</c> is a volume control for your sound card. It can also be run 272<c>xfce4-mixer</c> is a volume control for your sound card. It can also be run
276as a panel applet, giving you fast access to playback volume. <c>xfprint</c> 273as a panel applet, giving you fast access to playback volume.
277provides easy printer management and job control; it's a must if you intend to 274<c>xfce4-taskmanager</c> displays a list of all running programs, and the CPU
278do any printing from your desktop. <c>xfce4-taskmanager</c> displays a list of 275and memory consumption each one takes up. By right-clicking an item, you can
279all running programs, and the CPU and memory consumption each one takes up. By 276kill a misbehaving application, pause and restart it, or even alter its runtime
280right-clicking an item, you can kill a misbehaving application, pause and 277priority, which lets you fine-tune how much of a demand it puts on your system's
281restart it, or even alter its runtime priority, which lets you fine-tune how 278resources.
282much of a demand it puts on your system's resources.
283</p> 279</p>
284 280
285<p> 281<p>
286<c>xfwm4-themes</c> adds several window manager themes. You may want to add a 282<c>xfwm4-themes</c> adds several window manager themes. You may want to add a
287more full-coverage icon theme such as <c>tango-icon-theme</c> just to round out 283more full-coverage icon theme such as <c>tango-icon-theme</c> just to round out
288your desktop. 284your desktop.
289</p> 285</p>
290 286
291<p> 287<p>
292<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
293editor that starts up extremely quickly. <c>x11-terms/terminal</c> is an X11 289editor that starts up extremely quickly.
294terminal emulator, far more configurable and useful than the barebones 290</p>
295<c>xterm</c>. <c>terminal</c> supports Unicode text, color schemes, 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,
296pseudo-transparency and hardware-accelerated transparency via Xfce's built-in 307color schemes, pseudo-transparency and hardware-accelerated transparency via
297compositor, all out-of-the-box. Just make sure that the default action on the 308Xfce's built-in compositor, all out-of-the-box. Just make sure that the default
298terminal launcher of your panel runs <path>/usr/bin/Terminal</path> instead of 309action on the terminal launcher of your panel runs
299<path>xterm</path>. Right-click the launcher and choose "Properties" to change 310<path>/usr/bin/Terminal</path> instead of <path>xterm</path>. Right-click the
300the command. 311launcher and choose "Properties" to change the command.
301</p> 312</p>
302 313
303<p> 314<p>
304<c>thunar</c> is Xfce's default graphical file manager. It's fast yet quite 315<c>thunar</c> is Xfce's default graphical file manager. It's fast yet quite
305powerful, can support several plugins for even more functionality; just install 316powerful, can support several plugins for even more functionality; just install
313 link="http://www.foo-projects.org/~benny/projects/thunar-archive-plugin">front-end</uri> 324 link="http://www.foo-projects.org/~benny/projects/thunar-archive-plugin">front-end</uri>
314 for graphical archiving applications such as <c>xarchiver</c>, 325 for graphical archiving applications such as <c>xarchiver</c>,
315 <c>squeeze</c>, and <c>file-roller</c>. 326 <c>squeeze</c>, and <c>file-roller</c>.
316 </li> 327 </li>
317 <li> 328 <li>
318 <c>thunar-media-tags-plugin</c> lets you intelligently rename multiple media 329 <c>tumbler</c> lets you preview certain types of files from within Thunar,
319 files at once, and lets you <uri 330 such as images and fonts.
320 link="http://thunar.xfce.org/pwiki/projects/thunar-media-tags-plugin">edit</uri>
321 their information tags, such as id3 and ogg tags.
322 </li>
323 <li>
324 <c>thunar-thumbnailers</c> lets you <uri
325 link="http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers">preview</uri>
326 certain types of files from within Thunar, such as images and fonts.
327 </li> 331 </li>
328 <li> 332 <li>
329 <c>thunar-volman</c> automatically <uri 333 <c>thunar-volman</c> automatically <uri
330 link="http://foo-projects.org/~benny/projects/thunar-volman/">manages</uri> 334 link="http://foo-projects.org/~benny/projects/thunar-volman/">manages</uri>
331 removable media and drives. 335 removable media and drives.
336Next, let's see about adding some useful but lightweight desktop applications, 340Next, let's see about adding some useful but lightweight desktop applications,
337in keeping with Xfce's philosophy. 341in keeping with Xfce's philosophy.
338</p> 342</p>
339 343
340<p> 344<p>
341Though <c>mousepad</c> is nice enough as a basic text editor, if you need a 345Though <c>leafpad</c> is nice enough as a basic text editor, if you need a
342full-featured word processor but don't want the bloat of OpenOffice, try 346full-featured word processor but don't want the bloat of OpenOffice, try
343emerging <c>abiword</c>. <uri link="http://www.abisource.com">AbiWord</uri> is 347emerging <c>abiword</c>. <uri link="http://www.abisource.com">AbiWord</uri> is
344lighter, faster, and is completely interoperable with industry-standard document 348lighter, faster, and is completely interoperable with industry-standard document
345types. It can also be further extended with <c>abiword-plugins</c>. 349types.
346</p> 350</p>
347 351
348<p> 352<p>
349Need a nice email client/newsreader that isn't as demanding as 353Need a nice email client/newsreader that isn't as demanding as
350<c>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>.
364</p> 368</p>
365 369
366<p> 370<p>
367Finally, you'll need a webbrowser. Nearly all graphical webbrowsers require more 371Finally, you'll need a webbrowser. Nearly all graphical webbrowsers require more
368resources than most of your other desktop applications. Still, <c>firefox</c> 372resources than most of your other desktop applications. Still, <c>firefox</c>
369(or <c>firefox-bin</c>) is always a good choice. Alternatively, you may find 373and <c>midori</c> are always good choices. Alternatively, you may find
370<c>opera</c> to be quite fast. However, <c>opera</c> is not available on as many 374<c>opera</c> to be quite fast. However, <c>opera</c> is not available on as many
371processor architectures as <c>firefox</c>, and it has more dependencies unless 375processor architectures as <c>firefox</c>, and it has more dependencies unless
372you override them with a few USE flags. 376you override them with a few USE flags.
373</p> 377</p>
374 378
375<pre caption="Adding a webbrowser"> 379<pre caption="Adding a webbrowser">
376<comment>(Installing Mozilla Firefox)</comment> 380<comment>(Installing Mozilla Firefox)</comment>
377# <i>emerge firefox</i> 381# <i>emerge firefox</i>
382<comment>(Installing Midori)</comment>
383# <i>emerge midori</i>
378<comment>(Installing Opera)</comment> 384<comment>(Installing Opera)</comment>
379# <i>echo "www-client/opera gtk -kde" >> /etc/portage/package.use</i> 385# <i>echo "www-client/opera gtk -kde" >> /etc/portage/package.use</i>
380# <i>emerge opera</i> 386# <i>emerge opera</i>
381</pre> 387</pre>
382 388
528</p> 534</p>
529 535
530</body> 536</body>
531</section> 537</section>
532<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>
533<title>Resources</title> 557<title>Resources</title>
534<body> 558<body>
535 559
536<p> 560<p>
537Need additional help on configuring and using Xfce? Need more lightweight 561Need additional help on configuring and using Xfce? Need more lightweight

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

  ViewVC Help
Powered by ViewVC 1.1.20