home · contact · privacy
Post-install config script: Fix broken user group management.
[config] / jessie_start.sh
index e0c3825650abf73b83b31c9f0f8df191ad66df04..280c2df2af320ca3acbb63dd42e3305a0b1bba3f 100755 (executable)
@@ -89,12 +89,20 @@ 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.
-apt-get -y install xserver-xorg xinit xterm i3 i3status dmenu x11-xserver-utils
+# 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