This is a quick lesson about how to install Cinnamon in FreeBSD 13. If you like to install another Desktop Environment, you can check this article about XFCE.
According to https://www.freshports.org/x11/cinnamon, Cinnamon is a Linux desktop which provides advanced innovative features and a traditional user experience. The desktop layout is similar to Gnome 2. The underlying technology is forked from Gnome Shell. The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience.
Updating the Core OS in FreeBSD
Perform a quick search for updates, please use this commad below:
Once the search finishes, run the next command below:
# freebsd-update install
Above command will set any available updates to be installed on the system.
Based on information from https://www.x.org/wiki/, The X.Org project provides an open source implementation of the X Window System. The development work is being done in conjunction with the freedesktop.org community.
Please run this command to install xorg as prerequisite of Cinnamon installation.
# pkg install xorg
Type y to continue the installation.
Since this process will take a longer time to finished, please sit back, relax and take your coffee.
SLIM Display Manager Installation
According to https://wiki.archlinux.org/title/SLiM, SLiM is an acronym for Simple Login Manager. Lightweight and easily configurable, SLiM requires minimal dependencies, and none from the GNOME or KDE desktop environments.
Run this command below to install SLiM.
# pkg install slim
Enable the Display Manager, otherwise you will not get the login screen. Edit the file named /etc/rc.conf using vi.
Put these 2 lines below, and do not forget to save using :wq!.
Mount /proc file system
All Desktop Environments require /proc to be mounted automatically during the system startup. So, you need to add these line to the /etc/fstab. To add the line, first run vi command. Do not forget to save using :wq!.
# vi /etc/fstab
proc /proc procfs rw 0 0
Enable dbus and hald
Cinnamon need dbus and hald for a message bus and hardware abstraction. So we need to enable this on /etc/rc.conf.
Now it is the time for us to install the cinnamon. Run this commad below:
# pkg install cinnamon
Please wait, sit back and relax, because it will take a moment before we can continue.
Under the /root, please create a new text file using vi.
Add this line as the content:
Restart the System
Now it is the time for us to test the installation, so we need to reboot the system.
# init 6
Plese login with the user root and its password.
Congratulation, now you have the Cinnamon on your previous black and white FreeBSD 13. That is how to install Cinnamon in FreeBSD 13.