segunda-feira, 25 de maio de 2020

XFCE on OpenBSD

$ usermod -G wheel user
$ echo '$PKG_PATH="ftp://ftp.usa.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(uname -m)/"' >> /root.profile
$ eval $(tail -n 1 /root/,profile)
$ pkg_add vim
$ vim /etc/rc.conf

pkg_scripts=dbus_daemon avahi_daemon
dbus_enable="YES"

$ pkg_add xfce
$ echo export QT_QPA_PLATFORMTHEME=gtk2 >> ~/.xinitrc
$ echo exec startxfce4 >> ~/.xinitrc
$ exit

login as user

$ vim .profile

export $PKG_PATH="ftp://mirrors.unb.br/pub/OpenBSD/$(uname -r)/packages/$(uname -m)/"
export LC_ALL=pt_BR.UTF-8
export LANGUAGE=pt_BR.UTF-8
export LANG=pt_BR.UTF-8
export PS1="\u@\h \w $ "

$ su
$ reboot
$ startx