|Current Maintainer(s):||Oleg Vinichenko|
|Source Repository:||No results|
Summary: Meta package for XFCE desktop
Latest InnovationsThis news item documents the latest innovations now available under Funtoo Linux.
Kits Are Go (And Ego Needs a Manual Bump)An update on kits and how to manually update to ego-1.1.3-r3 (required steps for some)
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.
Xfce embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that provide the full functionality one can expect of a modern desktop environment. They are packaged separately and you can pick among the available packages to create the optimal personal working environment.
Before emerging Xfce you need to:
Check that you have enabled the USE flags necessary for a XFCE desktop environment. Set your profile to "xfce" via mix-ins, as follows:
# epro mix-ins +xfce
Then, verify that you have the X.Org Server configured properly. If X.Org is installed on your system, you are now ready to install Xfce. Install the meta-package, which pulls in all of the components you need for a minimal Xfce installation:
# emerge xfce4-meta
There are several different ways to start Xfce:
- Editing the
.xinitrcfile in your user's home directory and using
startxfrom a text console.
- Using a display manager (e.g. SLiM, GDM, and KDM).
- Configuring your shell profile to automatically start Xfce upon a successful login.
The most common way to start the environment is to configure
~/.xinitrc to launch an Xfce session. The proper way to launch Xfce from the terminal is by using
startxfce4 combined with
$ echo "exec startxfce4 --with-ck-launch" > ~/.xinitrc
--with-ck-launch (from ConsoleKit) is required by Xfce for important tasks such as shutting down, suspending, and automatically mounting removable storage media. Some applications will not work properly without it. Also, configuring the GTK+ theme and other forms of theming through Xfce4-settings (package not on wiki - please add) do not often work without the
--with-ck-launch command line option. Because we are launching XFCE with a consolekit command line option, we need to add ConsoleKit to the
default runlevel, executing the following command as root:
# rc-update add consolekit default # rc
Finally, to start the graphical environment, run
startx from a login shell:
After running this command, you should be greeted by your shiny new XFCE desktop. For more information about configuring XFCE and some of the default applications that come with it, consider looking at XFCE configuration and XFCE applications.
A display manager is a program that manages sessions and acts as a login screen. Here's a short list of a few of the display managers available from the Funtoo repositories:
- XDM (
x11-apps/xdm): X.Org's standard display manager.
- LightDM (
x11-misc/lightdm): A lightweight, but highly configurable display manager.
- SLiM (
x11-misc/slim): Simple Login Manager -- a lightweight display manager. Not very configurable.
# emerge <display manager of choice>
All that's left to do now is to add the name of the display manager to
/etc/conf.d/xdm, add the
xdm service and the
dbus service to the
default runlevel, and start the services:
DISPLAYMANAGER="<display manager name>"
# rc-update add xdm default # rc-update add dbus default # rc
If you wish to be able to shutdown/reboot/suspend/hibernate using xfce4-logout-session then you will need to add yourself or the user to the power group by:
# gpasswd -a <username> power
If the group does not exist then execute the following and try again:
# groupadd power
XFCE configuration and XFCE applications
For more information on configuring XFCE and the default applications provided by XFCE, such as
xfce4-terminal, consider following some of the below listed links: