Skip to content

Instantly share code, notes, and snippets.

@javashin
Created November 9, 2019 16:26
Show Gist options
  • Save javashin/14d31cd6695d6b301df9565493d9a7ea to your computer and use it in GitHub Desktop.
Save javashin/14d31cd6695d6b301df9565493d9a7ea to your computer and use it in GitHub Desktop.
#!/bin/sh
user mod -G wheel javashin
export PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/6.6/packages/$(uname -m)
echo "export PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/6.6/packages/$(uname -m)" >> .profile
pkg_add -Iv nano
pkg_add -Iv mate-desktop mate-notification-daemon mate-terminal mate-panel
pkg_add -Iv mate-session-manager mate-icon-theme mate-control-center mate-calc caja
pkg_add -Iv slim slim-themes
touch .xinitrc
echo "exec mate-session" > .xinitrc
touch /home/javashin/.xinitrc
echo "exec mate-session" > /home/javashin/.xinitrc
echo "/usr/local/bin/slim -d" >> /etc/rc.local
echo pkg_scripts="dbus_daemon avahi_daemon" >> /etc/rc.conf.local
echo dbus_enable=YES >> /etc/rc.conf.local
nano /etc/rc.conf.local ; pkg_add -Iv firefox thunderbird gimp vlc libreoffice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment