From Bashlinux
Jump to: navigation, search

How to allow a user to run sudo

user mod -G wheel <user>

How to install XFCE

  • Export the Distro version
echo 'export PKG_PATH=$(uname -m)' >> /root/.profile
  • Install the ports
pkg_add -iv xfce
pkg_add -iv slim slim-themes
  • Setup xfce startup
echo 'exec startxfce4' > /home/*/.xinitrc
echo 'exec startxfce4' > /root/.xinitrc
  • Setup Slip
echo '/usr/local/bin/slim -d' >> /etc/rc.local
echo 'dbus_enable=YES' >> /etc/rc.conf.local
echo 'pkg_scripts="dbus_daemon avahi_daemon"' >> /etc/rc.conf.local
  • Reboot the host
Warning Note
If the host comes back with fwm, then re-run pkg_add just to update the quirks