Xfce

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   and/or   USE flag. Disable it so that these packages do not pull in the huge Qt package set:

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

As of writing, the result of this bug, having confused 'dconf' and 'dbus', apparently for the sake of allowing GNOME people to write sloppier ebuilds, forces dconf for virtually everyone using glib regardless of using GNOME or not. Putting glib into an overlay for the time being using the following patch will avoid the issue until it's properly resolved: --- /usr/portage/dev-libs/glib/glib-2.46.2-r1.ebuild   2016-02-26 03:57:35.000000000 -0800 +++ /usr/local/portage/dev-libs/glib/glib-2.46.2-r1.ebuild     2016-02-27 11:26:37.849840993 -0800 @@ -26,7 +26,7 @@ LICENSE="LGPL-2+" SLOT="2" -IUSE="dbus fam kernel_linux +mime selinux static-libs systemtap test utils xattr" +IUSE="dbus dconf fam kernel_linux +mime selinux static-libs systemtap test utils xattr" REQUIRED_USE="       utils? ( ${PYTHON_REQUIRED_USE} )        test? ( ${PYTHON_REQUIRED_USE} ) @@ -69,7 +69,7 @@ PDEPEND="!<gnome-base/gvfs-1.6.4-r990 -      dbus? ( gnome-base/dconf ) +      dconf? ( gnome-base/dconf ) mime? ( x11-misc/shared-mime-info ) "
 * 1) different g-i and glib major versions
 * 1) shared-mime-info needed for gio/xdgmime, bug #409481

Setting XFCE_PLUGINS
In, add and customize the XFCE_PLUGINS 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  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
and are two of the readily available options for starting Xfce without using a display manager.

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

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

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 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. 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.

Program starting hotkeys are not working / Colors not changeable from appearance
Hotkeys, that are in charge of starting application, and not behavior are not working:


 * + is working -> toggle desktop
 * + not working -> run application (but is available through menus)

Consolekit is not running:

It will also start D-Bus. After restarting X enjoy the new hotkeys and colors.