Differences between revisions 1 and 36 (spanning 35 versions)
Revision 1 as of 2006-05-29 06:38:28
Size: 1324
Editor: PeMac
Comment:
Revision 36 as of 2013-10-30 11:25:51
Size: 4357
Editor: ?BertrandMarc
Comment: Fix login from console, according to /usr/share/doc/xfce4-session/README.Debian
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/Xfce|Français]] - [[it/Xfce|Italiano]] - [[ko/Xfce|한국어]] - [[ru/Xfce|Русский]] - [[sv/Xfce|Svenska]] - [[es/Xfce|Español]] - [[zh_CN/Xfce|简体中文]]-~
----
<<TableOfContents(3)>>
== Introduction ==
'''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.
Line 2: Line 8:
[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|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 4: Line 10:
Xfce 4 is a complete rewrite of the previous version. It's based on the GTK+ toolkit version 2. Xfce 4 has a radically different architecture from Xfce 3. It embodies the traditional UNIX philosophy of modularity and re-usability. All of Xfce 4's core components have been written from scratch in order to fit into the new architecture. 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.
Line 6: Line 12:
Another priority of Xfce 4 is adhereance to standards, specifically those defined at freedesktop.org. This allows Xfce 4 to seamlessly interoperate with programs written for other desktop environments, if those programs follow the specified standards. == Xfce in Debian ==
Line 8: Line 14:
Xfce 4 consists of a number of components that together provide the full functionality of the desktop environment. They are packaged separately and you can pick and choose from the available packages to create the best personal working environment. Xfce is one of the DesktopEnvironment options in the DebianDesktopHowTo.
Line 10: Line 16:
Xfce is all free software. The separate components are released under either the BSD license, the GNU LGPL or the GNU GPL (see the section called “Copyright and Licences for details). === Versions ===
Line 12: Line 18:
(from http://www.loculus.nl/xfce/documentation/xfce4-intro.html)  * [[DebianSqueeze|Debian Squeeze]] contains Xfce 4.6.
 * [[DebianWheezy|Debian Wheezy]] contains Xfce 4.8.
 * [[DebianJessie|Debian Testing]] for Jessie currently contains Xfce 4.10.
Line 14: Line 22:
See also: == How to install Xfce ==
Line 16: Line 24:
http://en.wikipedia.org/wiki/XFce === Install a fresh system with Xfce ===

If you install a new system, the [[http://www.debian.org/releases/stable/i386/ch06s03#pkgsel|installation guide]] explains a way to install Xfce directly:

 1. At the [[DebianInstaller|Debian Installer]] boot prompt, press the {{{tab}}} key to edit the command line, then add
  * {{{desktop=xfce}}}
    Alternatively, go to "Advanced options" then "Alternate desktop environments", and choose Xfce there.
 1. When prompted to select the task to install, make sure you click "Desktop Environment"

For a complete rundown refer to the [[DebianDesktopHowTo|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 ==
=== With a display manager ===
For '''GDM, KDM and LightDM''' choose xfce4-session.

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.

=== From the console ===
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.

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

== 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`
}}}

== External Links ==

 * http://www.xfce.org - The Xfce website
 * [[irc://irc.freenode.net/%23xfce|#xfce]] - [[IRC]] channel
 * http://pkg-xfce.alioth.debian.org - The Debian Xfce packaging website

----
CategoryDesktopEnvironment

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


Introduction

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.

Versions

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 "Advanced 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

With a display manager

For GDM, KDM and LightDM choose xfce4-session.

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.

From the console

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.

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

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`


CategoryDesktopEnvironment