From 06c1eb9d99218cb9ad8b344259fa1152679f6136 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 22 Mar 2017 01:50:05 +0100
Subject: [PATCH] Reduce X config in Ansible script.

---
 ansible/config.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ansible/config.yml b/ansible/config.yml
index ac9198d..fc39eb1 100644
--- a/ansible/config.yml
+++ b/ansible/config.yml
@@ -74,14 +74,15 @@
   - name: ensure minimal X window environment
     apt: name={{item}} state=present
     with_items:
-    - xserver-xorg
+    - xserver-xorg-core
+    - xserver-xorg-input-evdev  # supports lal input devices the kernel knows about
     - xinit  # contains startx
     - libpam-systemd  # needed to start X as non-root
   - name: ensure basic X tools
     apt: name={{item}} state=present
     with_items:
-    - x11-xserver-utils  # includes xrdb which applies .Xresources files
     - xterm
+    - x11-xserver-utils  # includes xrdb which applies .Xresources files
     - redshift 
     - i3
     - i3status
@@ -90,6 +91,7 @@
   # Set up pentadactyl.
   - name: ensure browser environment
     apt: name={{item}} state=present
+    with_items:
     - iceweasel
     - xul-ext-noscript
     - xul-ext-pentadactyl
-- 
2.30.2