Install Xfce 4 on OpenBSD 5.2 (3665 Views since 2013/02/15)

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.

gtk-xfce-engine
gtk3-xfce-engine
notification-daemon-xfce
xfce4-session
xfce
xfce-extras
xfce4-appfinder
xfce4-icon-theme
xfce4-mixer
xfce4-mount
xfce4-panel
xfce4-places
xfce4-power-manager
xfce4-quicklauncher
xfce4-settings
xfce4-terminal
xfce4-xkb
xfdesktop
xfwm4
xfwm4-themes
xfprint
ristretto
orage
thunar-vfs
thunar
thunar-archive

 Now, we will see the list of optionals plugins/widgets to add to your desktop:

xfce4-clipman
xfce4-battery
xfce4-cpugraph
xfce4-dict
xfce4-diskperf
xfce4-fsguard
xfce4-genmon
xfce4-mailwatch
xfce4-modemlights
xfce4-mpc
xfce4-netload
xfce4-notes
xfce4-screenshooter
xfce4-smartbookmark
xfce4-systemload
xfce4-taskmanager
xfce4-time-out
xfce4-verve
xfce4-wavelan
xfce4-wmdock

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 !) :

export PKG_PATH=ftp://ftp.fr.openbsd.org/pub/OpenBSD/5.2/packages/i386/
pkg_add -v gtk-xfce-engine gtk3-xfce-engine notification-daemon-xfce xfce4-session xfce xfce-extras xfce4-appfinder xfce4-icon-theme xfce4-mixer xfce4-mount xfce4-panel xfce4-places xfce4-power-manager xfce4-quicklauncher xfce4-settings xfce4-terminal xfce4-xkb xfdesktop xfwm4 xfwm4-themes xfprint ristretto orage thunar-vfs thunar thunar-archive
pkg_add -v xfce4-clipman xfce4-battery xfce4-cpugraph xfce4-dict xfce4-diskperf xfce4-fsguard xfce4-genmon xfce4-mailwatch xfce4-modemlights xfce4-mpc xfce4-netload xfce4-notes xfce4-screenshooter xfce4-smartbookmark xfce4-systemload xfce4-taskmanager xfce4-time-out xfce4-verve xfce4-wavelan xfce4-wmdock

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
Submit a comment
Nickname
Website
Mail address
Type 'BSD' (captcha !)

RSS Feed

RSS icon