home · contact · privacy
Separate dotfiles into those used on thinkpad and those used always.
[config] / jessie_start.sh
index e0c3825650abf73b83b31c9f0f8df191ad66df04..9a92ce7883453b4d594d88932f54280aec230113 100755 (executable)
@@ -71,7 +71,7 @@ config/symlink.sh
 useradd -m -s /bin/bash plom
 rm -rf /home/plom/config
 su - plom -c 'git clone http://github.com/plomlompom/config /home/plom/config'
-su plom -c /home/plom/config/symlink.sh
+su plom -c '/home/plom/config/symlink.sh thinkpad'
 
 # Set up editor.
 apt-get -y install vim
@@ -89,15 +89,28 @@ 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 -aG video plom
+
+# Install xrandr.
+apt-get -y install x11-xserver-utils
 
 # Set up pentadactyl. 
 apt-get -y install xul-ext-pentadactyl
+apt-get -y install vim-gtk
+su plom -c 'mkdir -p /home/plom/downloads/'
+
+# Set up openssh-client.
+apt-get -y install openssh-client
 
 # Clean up.
 rm jessie_start.sh