FreeBSD Desktop With Xfce, SLiM, And i3lock

Thu 24 November 2022
  • desktop environment
  • desktop manager(login manager)
  • desktop locker

How To Install Xfce ?

To install the Xfce package:

# pkg install xfce

Alternatively, to build the port:

# cd /usr/ports/x11-wm/xfce4
# make install clean

Unlike GNOME or KDE, Xfce does not provide its own login manager. In order to start SliM login manager, add its entry to ~/.xinitrc:

# echo exec /usr/local/bin/startxfce4 with-ck-launch > ~/.xinitrc

How To Install SLiM ?

In order to install SliM issue these command:

# pkg install slim

add these lines to /etc/rc.conf to load SliM at boot:

dbus_enable=“YES”
hald_enable=“YES”
slim_enable=“YES”

or you can alternatively issue these commands:

# sysrc dbus_enable=“YES”
# sysrc hald_enable=“YES”
# sysrc slim_enable=“YES”

How To Install i3lock?

i3lock installation is very easy:

# pkg install i3lock

Category: freebsd