home · contact · privacy
Post-install config script: Fix broken user group management.
[config] / jessie_start.sh
index 2f3df6dd3e4e92dc737967f9b54abc15e369dcd2..280c2df2af320ca3acbb63dd42e3305a0b1bba3f 100755 (executable)
@@ -89,13 +89,21 @@ systemctl restart wicd
 echo 'HandleLidSwitch=hibernate' >> /etc/systemd/logind.conf
 
 # Set up sound.
-usermod -G audio plom
+usermod -aG audio plom
 apt-get -y install alsa-utils
 amixer -c 0 sset Master playback 100% unmute
 
-# Set up window system.
+# Set up window system and OpenGL.
 apt-get -y install xserver-xorg xinit xterm i3 i3status dmenu
 
+# Set up OpenGL and hardware acceleration.
+apt-get -y install libgl1-mesa-dri
+apt-get -y install i965-va-driver
+usermod -G video plom
+
+# Install xrandr.
+apt-get -y install x11-xserver-utils
+
 # Set up pentadactyl. 
 apt-get -y install xul-ext-pentadactyl