Installing XFce4

Components of XFce 4

The XFce 4 components are packaged separately. At the time of this writing the following modules are available.

Libraries

Unlike previous versions, XFce 4 provides a development platform consisting of a set of libraries that provide helper functions and widgets to make the program fit in nicely with the XFce 4 environment.

libxfce4util

Library with non-graphical helper functions.

libxfcegui4

Widget library required by xfce4 and xfwm4.

libxfce4mcs

Settings management library used by most XFce 4 modules.

Desktop

These modules provide the basic functionality of the desktop environment.

xfce-mcs-manager

Settings manager. Provides a control center for settings manager plugins that are provided by other modules.

xfce-mcs-plugins

Settings manager plugins. The plugins provide settings dialogs for general items that are not part of a package, e.g. GTK settings, mouse settings and keyboard settings.

xfwm4

The XFce 4 window mananger. Manages the placement of application windows on the screen, provides window decorations and manages workspaces or virtual desktops.

xfce4-panel

The XFce 4 panel. Provides program lauchers, a workspace switcher, a clock, subpanels and more.

xfdesktop

Desktop background manager. This program sets the background image and provides a root window menu. The module also provides two settings manager dialogs that allow you to change the background and change number of workspaces.

xfce-utils

Essential utilities and scripts. Provides a taskbar, an about dialog, a run dialog and several important scripts that are used by other packages including the panel. Also contains this user guide.

xffm

File manager. Also allows you to browse samba network shares.

xfprint

Print dialog. Provides a graphical frontend for printing. Includes xfprint4 and xfprint-manager.

gtk-xfce-engine-2

Theme engine for GTK2. Not required for the desktop, but it's a nice theme engine so you might just as well give it a try.

Extras

There are a number of additional packages that are not part of the main desktop release that provide themes or extra functionality.

xfwm4-themes

Window decoration themes for xfwm4.

xffm-icons

Icon themes for the xffm file manager.

xfce4-themes

Icon themes for the XFce 4 panel.

xfce4-iconbox

An iconbox that can be used as an alternative for the taskbar provided in the xfce-utils package.

xfce4-mixer

Volume control for the panel. Includes simple mixer dialog.

xfce4-systray

Notification area or system tray for the panel.

xfce4-toys

Less serious utilities and additions for the panel. Currently contains a tips/fortunes dialog and an xeyes implementation for the panel.

xfce4-trigger-laucher

Provides a toggle button for the panel, showing on or off state. May be used for starting or ending network connections for example.

Binary packages

The XFce 4 project officially only releases source code for the desktop environment. However, binary packages may have been contributed by other people for your OS or distribution.

Martin Loschwitz has prepared official packages for Debian unstable. See his email here for instructions on how to get them.

Look at our SourceForge repository for the availability of other binary packages: http://sf.net/projects/xfce/files.

If you could not find binary packages for your OS, they may be available from your OS vendor or distributor, or you can install XFce 4 from source.

Building from source

Source tarballs are available from our SourceForge repository: http://sf.net/projects/xfce/files.

Building the packages should be a simple matter of unpacking the tarballs and, from the top source directory, type:

./configure && make && make install

Building XFce 4 depends on pkg-config, GTK+ >= 2.0.6 (including dev packages), libxml2 and, for xffm, on libdbh, which is available from SourceForge.

If you install into a different prefix from pkg-config, you have to set the PKG_CONFIG_PATH variable to include the path to the *.pc files installed by the XFce 4 libraries, which is ${prefix}/lib/pkgconfig. For example:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

Many of the source tarballs contain so called spec files that allow you to build your own rpm's:

rpmbuild -ta module.tar.gz

Using CVS

Look here for information on how to obtain the latest development updates from CVS. You can also use the WebCVS link to browse the CVS tree.