Differences between revisions 30 and 31
Revision 30 as of 2013-03-14 13:33:24
Size: 3261
Comment: added uninstall commands, rm install xorg (dependency should get installed automatically)
Revision 31 as of 2013-04-23 12:09:54
Size: 3361
Comment: DebianDesktopHowTo
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:

== Xfce in Debian ==

Xfce is one of the DesktopEnvironment options in the DebianDesktopHowTo.

Translation(s): English - Français - Italiano - 한국어 - Русский - Svenska - Español - 简体中文


Xfce is a lightweight desktop environment for Unix-like operating systems. It aims to be fast and lightweight, while still being visually appealing and easy to use.

Xfce is based on GTK+ version 2 (like Gnome 2). One of Xfce's priorities is adherence to standards, specifically those defined at freedesktop.org. This allows Xfce to seamlessly interoperate with programs written for other desktop environments, if those programs follow the specified standards.

Xfce consists of a number of components that together provide the full functionality of a desktop environment. They are packaged separately and you can pick and choose from the available packages to create the best personal working environment.

Xfce in Debian

Xfce is one of the DesktopEnvironment options in the DebianDesktopHowTo.


How to install Xfce

Install a fresh system with Xfce

If you install a new system, the installation guide explains a way to install Xfce directly:

  1. At the Debian Installer boot prompt, press the tab key to edit the command line, then add

    • desktop=xfce

      • Alternatively, go to "Options" then "Alternate desktop environments", and choose Xfce there.
  2. When prompted to select the task to install, make sure you click "Desktop Environment"

For a complete rundown refer to the Debian Desktop Howto.

Install Xfce in an already installed system

Optional: If you want to uninstall GNOME and its dependencies first, do:

aptitude purge `dpkg --get-selections | grep gnome | cut -f 1`
aptitude -f install
aptitude purge `dpkg --get-selections | grep deinstall | cut -f 1`
aptitude -f install

To install Xfce, do the following:

apt-get install xfce4

This will install a metapackage, which will install the core Xfce modules and scripts to get it to work.

There are many useful utilities that come with Xfce, to install these:

apt-get install xfce4-goodies

Run Xfce

For GDM, KDM and LightDM choose xfce4-session.

For startx add in file ~/.xinitrc:

exec ck-launch-session startxfce4

For slim boot session in /etc/slim.conf:

login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

You also can install xdm to login in start Xfce.

Other Packages

Other packages that can be found with:

apt-cache search xfce4