Note: GarXfce4 is not kept up-to-date very well as of late. Currently it does not offer an installer for the latest version of Xfce4. Please use the packages provided by your distribution, the official packages, or the 3rd-party GUI installers.
I’ve heard several complaints that Xfce4 isn’t all that easy to install. Users need to download all the tarballs, and then try to install them, making sure to install things in the right order. This can be difficult, and is error-prone. At the very least, it’s annoying and filled with tedious, repetitive work. So, enter GarXfce4. With a small amount of (optional) configuration, followed by a single command, Xfce4 will completely install itself, downloading, compiling, and installing all required packages.
If you’re looking for an even easier way to install Xfce, GUI installers are also available.
GarXfce4 requires that you have gtk+ 2.2.0 or greater, libxml2, and pkg-config installed already. Additionally, some Xfce4 packages can optionally make use of librsvg and libstartup-notification if they are present. These are available for optional compilation in the bootstrap/ directory.
GarXfce4 also requires that these libraries have their development headers installed. If you use a binary package management system, likely you will need to install the corresponding packages with “-devel” or “-dev” suffixes.
In addition, the GAR installer requires wget to download source tarballs from web/ftp sites.
- GarXfce4 0.6.0 (based on Xfce 22.214.171.124):
- GarXfce4 0.5.0 (based on Xfce 4.1.90 AKA 4.2.0-beta1):
- GarXfce4 0.4.0 (based on Xfce 4.0.6):
- GarXfce4 0.3.0 (based on Xfce 4.0.5):
- GarXfce4 0.2.0 (based on Xfce 4.0.4):
- GarXfce4 0.1.0 (based on Xfce 126.96.36.199):
Installation is fairly simple. Please view the toplevel README file for detailed build instructions.
Basically, the simplest install consists of:
$ cd meta/xfce4-desktop $ make install
This will install GarXfce4 to $HOME/garxfce4. If you’d like to install elsewhere, open the file gar.conf.mk in your favorite editor and find the line that reads:
main_prefix = $(HOME)/garxfce4
Change it to point to your desired installation directory. Alternatively, you can set main_prefix on the commandline like so:
$ cd meta/xfce4-desktop $ make install main_prefix=/your/install/path
Note: If you want to install Xfce4 system-wide, you will need to run make install as root. You also may want to modify main_sysconfdir to point to /etc (also in the gar.conf.mk file) so that system configuration files will be installed to /etc/xdg/xfce4.
After compiling and installing, you still need a way to start Xfce. The best way is via a script (sample here). If you start X by invoking startx from the console, you’ll want to link this file to ~/.xinitrc. If you use gdm (or another display manager that has an Xsession entry), link the file to ~/.xsession. That should do it.
Note^2: This has not been extensively tested. It compiles and installs fine on my machine, but my machine is far from a clean system. Feedback is much appreciated.
Please use the xfce general discussion list if you have any questions.
last modified 31 oct 2005 at 03:58.