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:

and have   by default:

Of course,  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

mousepad
Further, if you should want to use mousepad & have it work properly without dconf, you will want this ebuild patch: --- /usr/portage/app-editors/mousepad/mousepad-0.4.0.ebuild    2015-08-08 17:38:18.000000000 -0700 +++ /usr/local/portage/app-editors/mousepad/mousepad-0.4.0.ebuild      2016-02-27 11:48:10.007781001 -0800 @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="debug dbus gtk3" +IUSE="debug dbus gtk3 +keyfile-settings" RDEPEND=">=dev-libs/glib-2.30:2=       dbus? ( >=dev-libs/dbus-glib-0.100:0= ) @@ -31,6 +31,7 @@                $(xfconf_use_debug)                $(use_enable dbus)                $(use_enable gtk3) +               $(use_enable keyfile-settings)                )        DOCS=( AUTHORS ChangeLog NEWS README TODO )

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.