|Note:||This page should probably be deprecated and merged with the official Xfce page.|
So after you have successfully set up Funtoo you might want to add a new desktop environment to the mix. This means installing Xorg and, in this case, XFCE. Set your VIDEO_CARD to what you have and your INPUT_DEVICES set as well in your make.conf. First thing to do is makes sure that the "udev" is in your USE flags. We're going to set these in /etc/portage/package.use. After that we're going to install xorg-server. Just emerge it.
# echo "x11-base/xorg-sever udev" >> /etc/portage/package.use # emerge x11-base/xorg-server
After that's done X should work out of the box. You can run this command though to make sure it works. This will configure X for you, and set a new /etc/X11/xorg.conf for you. Need to copy it in though.
# X -configure # cp /root/xorg.conf.new /etc/X11/xorg.conf
Now, we will set our sights on installing XFCE. You're going to want to add some USE flags to your /etc/make.conf, I would reccomend USE="-gnome -kde -minimal -qt4 dbus jpeg lock session startup-notification thunar udev X". Just add them to your make.conf. And now we are ready to install XFCE. In a recent change a dependency for Thunar, it wants to bring in sys-fs/udisks-1.99 which is a dependency of sys-fs/udev-180 which is not available. The fix is to emerge gnome-base/gvfs-1.10.* and mask anything above it and mask sys-fs/udisks-1.99 in /etc/portage/package.mask. You also need to get a Terminal emulator as well, i.e x11-terms/terminal
# emerge xfce-base/xfce4-meta x11-terms/terminal # env-update && source /etc/profile
There's a few ways to go about starting XFCE. You can either have it run with startx or install a display manager, or login manager, i.e LXDM, GDM, KDM, etc. If you want it to run with startx
# echo "exec startxfce4" >> ~/.xinitrc
If you want XFCE to run at boot add xdm to rc-update. In which case you need a login manager.
# rc-update add xdm default
There's a few to go along with, but for a lightweight one either lxde-base/lxdm or x11-misc/slim
# emerge -av x11-misc/slim
Or for lxde-base/lxdm
# emerge lxde-base/lxdm
Whichever you choose to use you need to add it to /etc/conf.d/xdm: DISPLAYMANAGER="slim" DISPLAYMANAGER="lxdm" For SLiM you need to add XFCE to /etc/env.d/90xsession
# echo XSESSION=\"Xfce4\" >> /etc/env.d/90xsession # env-update && source /etc/profile
Either reboot or startx.
There are a lot of plugins available for Thunar and XFCE. A simple emerge -s will do. Such as:
Description: Daemon that enforces volume-related policies
Description: adds Subversion and GIT actions to the context menu of thunar
Description: Thunar plugin to share files using Samba
Description: Archive plug-in for the Thunar filemanager
Description: Daemon to control volume up/down and mute keys
Description: Xfce4 screenshooter application and panel plugin
Description: Notification daemon for the Xfce desktop environment
Description: A volume control application (and panel plug-in) for the Xfce desktop environment
Description: An mount plug-in for the Xfce panel
Description: A clipboard manager plug-in for the Xfce panel
Description: A battery monitor panel plugin for the Xfce desktop environment
Those are some plugins for XFCE and Thunar that I'd suggest.