From 6baee2bbb47b7c936e02742b956fdabe88e45b48 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 1 Jun 2015 04:30:04 +0200
Subject: [PATCH] Add OpenGL / hardware acceleration to post-install config
 script.

---
 jessie_start.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/jessie_start.sh b/jessie_start.sh
index e0c3825..16d4505 100755
--- a/jessie_start.sh
+++ b/jessie_start.sh
@@ -93,8 +93,15 @@ usermod -G 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 libgl1-mesa-dri
+apt-get -y i965-va-driver
+
+# Install xrandr.
+apt-get -y install x11-xserver-utils
 
 # Set up pentadactyl. 
 apt-get -y install xul-ext-pentadactyl
-- 
2.30.2