Xfce/en

To quote xfce.org: "Xfce is a lightweight desktop environment for Unix-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly."

Avoiding unnecessary dependencies
Avoiding optional GNOME support and packages will keep the system more lean and congruous. This section is entirely optional; proceed in this manner if the goal is to keep the system small(er) rather than large(r).

Ensure that the system is using the basic "desktop" profile:

Use one that ends with (and not  or ):

and listen to the   USE flag. Disable it so that these packages do not pull in the huge Qt4 package set:

Of course,  can also be set globally in  if one desires.

Setting XFCE_PLUGINS
In, add and customize the  variable:

The above options may change; the current list is available inside ${PORTDIR}/profiles/desc/xfce_plugins.desc.

Emerge
It is time to install the complete Xfce desktop!

Without explicitly including in the emerge command,  will draw in GNOME's  instead. So install it together with and later deselect it so it is not included in the world file:

Of course, it is also possible to select only needed packages:

Display managers
It is possible to use a display manager to start Xfce. Please refer to the display manager article to configure a display manager.

Most display managers use files to configure available sessions. The following is an example desktop file:

The desktop file can be placed in the right location for the display manager.

Starting Xfce without a display manager
startx and startxfce4 are two of the readily available options for starting Xfce without using a display manager.

startx
When using startx, create a file with the following contents:

startxfce4
To launch the Xfce4 desktop simply type startxfce4 at the command-line and press enter:

Advanced configuration
Xfce is a desktop environment and as such can be tuned and tailored to the needs of (almost) every user. In this section, a number of popular (or more challenging) aspects are covered.

xfce4-volumed
Install to manage the volume keys:

When using pulseaudio with xfce4, use :

Keyboard shortcuts
Run xfce4-keyboard-settings to bind the following keys:


 * button: amixer set Master 5%+
 * button: amixer set Master 5%-
 * button: amixer set Master toggle

Native Xfce theme engine
Xfce's own theme engine,, was updated in version 3.0, which implements native support for GTK+ 3 with no further configuration.

Assuming that the  USE flag is set, the GTK+ 3 version (revision 300 or higher) should be pulled in by default if  or  were installed with a   world upgrade.

If not simply:

This should pull in the right version of through the use of a specific.

After emerging the GTK+ 3 version of, applications using GTK+ 3 should now blend nicely with applications using GTK+ 2 when one of the native Xfce themes is used.

Greybird theme
Another option is to use the Greybird theme, which has support for GTK+ 2, GTK+ 3, xfwm4, emerald, and metacity:

Go to ->  ->. Or run xfce4-appearance-settings. Select "Greybird" from the "Style" list.

Now GTK+ 2 and GTK+ 3 applications should have a consistent look.

Other themes
Other themes available in Portage that are compatible with XFCE can be emerged with the following list:

Additional applications
There are a number of additional applications which are either part of Xfce or support this desktop environment nicely.