Here is a little how-to install Xfce4 4.10 on OpenBSD 5.2. I found some tutorials on the net actually, but they are not always up-to-date. I assume that your PKG_PATH is set and you know how to use "pkg_add".
The packages needed to get a fully functional Xfce desktop is the following (it includes the terminal, Thunar for file browsing, Ristretto to view images and Orage as calendar). If you don't want to use xfwm as window manager, don't install it.
Now, we will see the list of optionals plugins/widgets to add to your desktop:
If you want to install Xfce and all its plugins without thinking, just paste this in your terminal (I don't recommend pasting commands as root in your terminal without reading what you'll do on your system !) :
Now that your packages are installed, you need to tell xdm that when you log in, you want xfce. You should modify ~/.xsession file and put : startxfce4 at the end of the file.
If you want to use another language than english, french for example, you should have this in your ~/.xsession :
export LANG=fr_FR.UTF-8 export LANGUAGE=$LANG export LC_ALL=$LANG startxfce4