|
|
@ -32,15 +32,35 @@ vbox() { |
|
|
|
doas rc-update add udev |
|
|
|
} |
|
|
|
|
|
|
|
vmware() { |
|
|
|
echo "VMware stuff..." |
|
|
|
doas apk add xf86-video-vboxvideo xf86-video-intel xf86-video-vesa \ |
|
|
|
xf86-input-synaptics open-vm-tools open-vm-tools-guestinfo \ |
|
|
|
open-vm-tools-deploypkg |
|
|
|
|
|
|
|
doas rc-service open-vm-tools start |
|
|
|
rc-update add open-vm-tools boot |
|
|
|
|
|
|
|
doas apk add dbus |
|
|
|
doas rc-service dbus start |
|
|
|
doas rc-update add dbus |
|
|
|
doas rc-service udev start |
|
|
|
doas rc-update add udev |
|
|
|
} |
|
|
|
|
|
|
|
echo "setting up xorg and xfce desktop environment" |
|
|
|
|
|
|
|
doas setup-xorg-base |
|
|
|
doas apk add xfce4 xfce4-terminal firefox xrandr |
|
|
|
|
|
|
|
|
|
|
|
vbox |
|
|
|
#vbox |
|
|
|
#vmware |
|
|
|
|
|
|
|
|
|
|
|
echo "exec startxfce4" >> "$HOME/.xinitrc" |
|
|
|
cat <<EOF >> "$HOME/.xinitrc" |
|
|
|
xrandr -s 1024x768 |
|
|
|
exec startxfce4 |
|
|
|
EOF |
|
|
|
|
|
|
|
echo "You should probably restart" |