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.org
- 1 Avoiding GNOME & other large, unnecessary deps
- 2 Installation
- 3 Configuration
- 4 Advanced Configuration
- 5 Additional applications
- 6 More resources
Avoiding GNOME & other large, unnecessary deps
Avoiding optional GNOME support and packages will keep your system more lean and congruous.
Ensure you're using the basic desktop profile:
You'll want the one that ends with
You may also simply want to disable the
qt4 flag globally in make.conf.
gnome-base/gvfs has an http USE flag which draws in many GNOME deps you may find unnecessary:
In /etc/portage/make.conf, you can add/customize this line:
XFCE_PLUGINS="brightness clock trash".
The above options may change, the current list is available here.
Install the complete Xfce desktop:
Or you can select only needed packages:
You may need a terminal emulator for Xfce:
To start Xfce you can use a display manager,
or if using pulse with xfce4
Run xfce4-keyboard-settings to bind following keys:
- volume up button: amixer set Master 5%+
- volume down button: amixer set Master 5%-
- mute button: amixer set Master toggle
Consistent GTK+ 3 theme
Native Xfce theme engine
Xfce's own theme engine, x11-themes/gtk-engines-xfce, was recently updated to version 3.0, which implements native support for GTK+ 3 with no further configuration.
Assuming that you have
gtk3 in your USE flags, the GTK+ 3 version (
-r300) should be pulled in by default if you have xfce-base/xfce4-meta or x11-themes/gtk-engines-xfce in your world set and you do a world upgrade with the
--deep option. If it does not, simply do a:
This should pull in a version of gtk-engines-xfce with the suffix
-r300 in a new slot.
After emerging the GTK+ 3 version of gtk-engines-xfce, applications using GTK+ 3 should now blend nicely with applications using GTK+ 2 when you use one of the native Xfce themes.
Another option is to use the Greybird theme, which has support for GTK+ 2, GTK+ 3, xfwm4, emerald, & metacity:
Go to Xfce menu -> Settings -> Appearance. Or run xfce4-appearance-settings. Select "Greybird" from the "Style" list.
Now GTK+ 2 and GTK+ 3 applications should have consistent look.
- Application finder: xfce-base/xfce4-appfinder
- Volume control: xfce-extra/xfce4-mixer
- Text editor: app-editors/mousepad
- Removable media and drives manager: xfce-extra/thunar-volman
- Previewer for files from Thunar: xfce-extra/tumbler
- CD burning application: app-cdr/xfburn
- Plugin for Thunar for work with archives, uses app-arch/file-roller: xfce-extra/thunar-archive-plugin
- xfce-extra/xfce4-battery-plugin is perfect for laptop users. It displays battery percentage, time remaining, power source (AC or battery), fan status, warnings, and can even be configured to execute commands at certain power levels. This feature can be used to put the laptop into hibernate mode when the battery is almost exhausted.
- xfce-extra/xfce4-verve-plugin is a small command line embedded into the panel. It's quicker than opening up another terminal when you want to run a command.
- xfce-extra/xfce4-mount-plugin gives you a handy method of mounting devices listed in /etc/fstab just by clicking your mouse.
- xfce-extra/xfce4-sensors-plugin lets you monitor your hardware sensors, such as CPU temperature, fan RPM, hard drive temp, motherboard voltage, and more.
- x11-themes/xfwm4-themes adds several window manager themes.
- x11-misc/alacarte enables xfce4 menu editing.
- x11-terms/tilda lightweight quake style terminal emulator.
- app-office/orage is a simple, handy calendar.
- xfce-extra/xfce4-power-manager is an application to monitor and manage power usage. This is especially important for laptops! The power manager allows you to adjust screen brightness, choose maximum performance or battery-saving modes, and setup hibernate, suspend, and shutdown actions when the lid is shut or buttons are pressed. You can set xfce4-power-manager to warn you when your battery reaches certain levels, or even turn off your machine. The application comes with a couple of helpful panel plugins to display battery/charging status, and a brightness control.