feat: graphical ui

This commit is contained in:
Michele Cereda
2023-05-18 13:41:03 +02:00
parent 218e66bccd
commit b66e5a4001
2 changed files with 84 additions and 3 deletions

25
examples/freebsd/gui.sh Normal file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env sh
set -e
if [ "$(id -ru)" -eq 0 ]
then
echo "Run this again as 'root'"
exit 1
fi
# Wayland
pw groupmod 'video' -m 'username'
pkg install 'wayland' 'seatd'
sysrc seatd_enable='YES'
service 'seatd' start
# KDE
# Add 'xf86-video-vmware' if in VirtualBox
pkg install 'xorg' 'sddm' 'plasma5-plasma' 'plasma5-sddm-kcm' 'konsole' 'dolphin-plugins'
sysctl net.local.stream.recvspace=65536 net.local.stream.sendspace=65536
sysrc dbus_enable="YES" sddm_enable="YES"
service 'dbus' start
service 'sddm' start