The XFce package contains a lightweight desktop environment.
Download (HTTP): http://downloads.sourceforge.net/xfce/xfce-4.2.3.2-src.tar.bz2
Download MD5 sum: 44e126e47657969657ff86fb558d54ea
Download size: 25 MB
Estimated disk space required: 219 MB (to build and install everything without deleting any sources)
Estimated build time: 3.5 SBU
GTK+-2.8.20 and libxml2-2.6.26
GDM-2.14.10, librsvg-2.14.4 (xffm links to librsvg automatically if librsvg is installed), libgtkhtml-2.11.0, startup-notification-0.8, and a2ps-4.13b (required to build xfprint).
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xfce
A bare minimum XFce setup requires installation of the following packages:
libxfce4util-4.2.3.2.2
dbh-1.0.24
libxfcegui4-4.2.3.2
libxfce4mcs-4.2.3.2
xfce-mcs-manager-4.2.3.2
xfwm4-4.2.3.2.2
xfce4-panel-4.2.3.2
xfdesktop-4.2.3.2
xfce-utils-4.2.3.2
Install the minimum applications by issuing the following commands:
./configure --prefix=/usr --sysconfdir=/etc && make
If you use GDM-2.14.10 as your display manager and would like to be able to log into an XFce session from the login prompt, pass the --enable-gdm option to the xfce-utils-4.2.3.2 configure script (requires which-2.16 to be installed at run time).
Now, as the root user:
make install
In addition, you may choose to install:
gtk-xfce-engine-2.2.8
xfcalendar-4.2.3.2
xfce-mcs-plugins-4.2.3.2
xfce4-appfinder-4.2.3.2
xfce4-icon-theme-4.2.3.2
xfce4-iconbox-4.2.3.2
xfce4-mixer-4.2.3.2
xfce4-session-4.2.3.2
xfce4-systray-4.2.3.2
xfce4-toys-4.2.3.2
xfce4-trigger-launcher-4.2.3.2
xffm-4.2.3.2
xfprint-4.2.3.2
xfwm4-themes-4.2.3.2
Install the remaining applications using the following commands:
./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 && make
Also, xfprint can be configured with --enable-cups if you have CUPS-1.2.7 installed.
And then as root:
make install
As the root user, move the help documentation to the standard BLFS location and modify the help script to look for it there:
mv -vf /usr/share/xfce4/doc /usr/share/doc/xfce4 && sed -i 's@xfce4/doc@doc/xfce4@' /usr/bin/xfhelp4
--sysconfdir=/etc: libxfce4util, xfce4-panel, xfdesktop, xfce-utils and xfce4-session require this parameter because the path is built into the library or they install configuration files in /etc/xdg.
--libexecdir=/usr/lib/xfce4: xfce4-session requires this parameter to install some utility programs to the correct location.
XFce will look for the theme index from hicolor-icon-theme-0.9 at run-time. Ensure you install the package before launching XFce.
Issue the command below to create an .xinitrc file which will automatically run the appropriate XFce programs when the X Window system is launched. Be sure to backup your existing .xinitrc file before proceeding.
cat > ~/.xinitrc << "EOF" xfce-mcs-manager xfwm4 --daemon xftaskbar4 & xfdesktop & exec xfce4-panel EOF
Last updated on 2007-01-29 23:25:21 -0600