Differences between revisions 73 and 75 (spanning 2 versions)
Revision 73 as of 2019-10-04 18:36:20
Size: 5966
Editor: nodiscc
Comment: rm GNOME instructions, irrelevant here
Revision 75 as of 2019-10-04 18:55:22
Size: 4531
Editor: nodiscc
Comment: intro: reword, add WP link on top, fix TOC, rm vague instructions about install all packages
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
== Introduction ==  . '''[[[https://en.wikipedia.org/wiki/Xfce|Xfce]]''' is a lightweight [[DesktopEnvironment]]desktop environment]] for Unix-like operating systems. It aims to be fast and lightweight, while still being visually appealing and easy to use.
Line 15: Line 15:
'''Xfce''' is a lightweight [[DesktopEnvironment]]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|GTK+]] version 2 (like [[Gnome|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.
Line 20: Line 17:

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 is based on [[GTK|GTK+]] version 2 (like [[Gnome|Gnome 2]]).
Line 33: Line 34:
=== Debian Live with Xfce === === Run Debian Live with Xfce ===
Line 40: Line 41:
You can install Xfce as the only desktop environment on your computer, or alongside another desktop environment. Your [[DisplayManger|display manager]] should allow you to select a the appropriate desktop before logging in. You can install Xfce as the only desktop environment on your computer, or alongside another desktop environment. Your [[DisplayManager|display manager]] should allow you to select a the appropriate desktop before logging in.
Line 42: Line 43:
To install Xfce, do the following: {{{
apt-get install xfce4
}}}
To install the full Xfce desktop environment and utilities, [[PackageManagement#Installing.2C_removing.2C_upgrading_software|install]] the [[DebianPkg:xfce4]] package.
Line 46: Line 45:
This will install a metapackage, which will install the core Xfce modules and scripts to get it to work. You can also [[https://wiki.debian.org/Software#Finding_Software|search]] for packages using the `xfce4` search term. Xfce packages include:
Line 48: Line 47:
There are many useful utilities that come with Xfce, to install these: {{{
apt-get install xfce4-goodies
}}}

In some Debian 8 minimal version installations (for example Google Compute Engine VMs), the following issue may occur after installing Xfce:

 * The icons for applications and files in file browser do not appear.

The above issue could indicate some Xfce dependencies are missing. One solution to this is to install "task-xfce-desktop" (DebianPkg:task-xfce-desktop): {{{
sudo apt-get install task-xfce-desktop
}}}

The above installs the needed dependencies and resolves the issue. Please note: task-xfce-desktop will also install the desktop environment, display manager and other programs (such as LibreOffice) if not yet present on the system.
ToDo: list individual xfce4 packages here
Line 65: Line 52:
=== With a display manager === === From a display manager ===
Line 67: Line 54:
For '''GDM, KDM and LightDM''' choose xfce4-session. Select Xfce from your [[DisplayManager|display manager]] (desktop login screen).
Line 69: Line 56:
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 DebianPkg:xdm to login in start Xfce.
Most display managers will detect Xfce automatically. For the [[DebianPkg:slim]] display manager, edit `/etc/slim.conf` and set `login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session`
Line 79: Line 60:
If you don't use a login manager but start Xfce from console, you need to take
care of few stuff in order to get a complete Xfce session with full permission
(mount, suspend/shutdown/hibernate etc.) This is because Debian now uses PolicyKit/ConsoleKit to manage policies for things like device and power management.
 * only use startx, without any argument
 * don't use a .xinitrc, add in file ~/.xsession:
{{{
exec ck-launch-session startxfce4
}}}
This is because ConsoleKit ships an init script (/etc/X11/Xsession.d/90consolekit), but the /etc/X11/Xsession.d/ scripts are only executed if you don't use any .xinitrc. See startx (1) for more information.
On Debian 9 and before, to start Xfce from the console:
Line 89: Line 62:
Then you need to fine-tune your pam installation so ConsoleKit can be sure that
your user is correctly authenticated. For that, you need to install libpam-ck-connector and put '''before''' pam_ck_connector.so in /etc/pam.d/common-session.
{{{
session optional pam_loginuid.so
}}}
 * '''no''' `~/.xinitrc` file must be present
 * the `~/.xsession` file must contain: `exec ck-launch-session startxfce4`.
 * install the [[DebianPkg:libpam-ck-connector]] package
 * in `/etc/pam.d/common-session`, '''before''' `pam_ck_connector.so`, insert `session optional pam_loginuid.so`
Line 95: Line 67:
See [[DebianMan:startx]] for more information.
Line 96: Line 69:
== Other Packages ==

Other packages that can be found with: {{{
apt-cache search xfce4
}}}

To install all xfce4 packages do: {{{
apt-get install `apt-cache search xfce | cut -d ' ' -f1`
}}}

''Please think twice before using this option because it causes installation of a large amount of software that may impact your overall system stability.''
Line 132: Line 94:

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


Xfce Logo (GPLv2)

Xfce Logo (GPLv2


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

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.

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 is based on GTK+ version 2 (like Gnome 2).

Installation

Install a new Debian system with Xfce

During Debian installation, select Xfce desktop environment at the Selecting and Installing Software installation step.

Alternatively, at the Debian Installer boot prompt, press the Tab key to edit the command line, then add desktop=xfce.

For a complete rundown refer to the Debian Desktop Howto.

Run Debian Live with Xfce

A Debian live system with Xfce is available at https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/

Install Xfce in an already installed system

You can install Xfce as the only desktop environment on your computer, or alongside another desktop environment. Your display manager should allow you to select a the appropriate desktop before logging in.

To install the full Xfce desktop environment and utilities, install the xfce4 package.

You can also search for packages using the xfce4 search term. Xfce packages include:

ToDo: list individual xfce4 packages here

Run Xfce

From a display manager

Select Xfce from your display manager (desktop login screen).

Most display managers will detect Xfce automatically. For the slim display manager, edit /etc/slim.conf and set login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

From the console

On Debian 9 and before, to start Xfce from the console:

  • no ~/.xinitrc file must be present

  • the ~/.xsession file must contain: exec ck-launch-session startxfce4.

  • install the libpam-ck-connector package

  • in /etc/pam.d/common-session, before pam_ck_connector.so, insert session   optional  pam_loginuid.so

See startx for more information.

Troubleshooting

I see screen tearing: Try disabling compositing in Window manager settings.

Versions


CategoryDesktopEnvironment | CategorySoftware