XFCE4 in Knoppix - success!

ml ml at knorke.in-berlin.de
Wed May 28 08:57:05 CEST 2003


[from the knoppix mailing list]

Hi,

I successfully installed the current (Debian/unstable) XFCE4
in Knoppix.  It is the best "light" GUI, I've seen so far
and could replace xfce, wmaker, icewm, whatever.

Four steps were necessary:

1. apt-get install xfwm4 xfprint4 xffm4 xfce4-utils \
   xfce4-themes xfce4-mcs-plugins xfce4-mcs-manager \
   xfce4-iconbox xfce4 gtk2-engines-xfce xfdeskmenu4 \
   xfwm4-themes

   Remove stuff you don't need, because Knoppix is already
   at it's size limits.

2. rm -f /usr/lib/xf*/plugins/*.a (because of bug #192726)

3. Add the following code to /etc/X11/Xsession.d/45xsession
   somewhere:

startxfce4() {
    playsound
    GDK_USE_XFT=1
    export GDK_USE_XFT
    if [ ! -e $HOME/.xfce4 ]; then
       cp -au /etc/skel/.xfce4/ /etc/skel/.xfwm4rc $HOME/
    fi
    /usr/bin/xfce-mcs-manager
    /usr/bin/xfwm4 --daemon
    /usr/bin/xftaskbar4 &
    /usr/bin/xfdesktop &
    exec /usr/bin/xfce4-panel
}

   and near the end:

  xfce4|XFCE4) [ "$FREEMEM" -ge "35000" ] && startxfce4 || \
    starttwm lowmem 64;
  ;;

   And in /etc/init.d/knoppix-autoconfig add xfce4 to the
   list of desktops.  I set the default value to xfce4, but
   YMMV.

   [Thanks to Klaus Knopper for the information.]

4. Copy your ~/.xfce4 directory and ~/.xfwm4rc file to 
   /etc/skel/.  Set things nicely before, e.g. set the
   background image to /usr/local/lib/knoppix.jpg.

Did I forget something?

OK, now re-master and burn your Knoppix, reboot it with
knoppix desktop=xfce4 and enjoy.

Cheers!



More information about the Xfce mailing list