home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve pentadactylrc.
[config]
/
jessie_start.sh
diff --git
a/jessie_start.sh
b/jessie_start.sh
index e4976a21ae9195db48b5abf95d90b25e2672978e..9a92ce7883453b4d594d88932f54280aec230113 100755
(executable)
--- a/
jessie_start.sh
+++ b/
jessie_start.sh
@@
-58,6
+58,8
@@
echo 'FONTSIZE="8x16"' >> /etc/default/console-setup
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
locale-gen
echo 'export LC_ALL="en_US.UTF-8"' >> /etc/profile
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
locale-gen
echo 'export LC_ALL="en_US.UTF-8"' >> /etc/profile
+sed -i 's/^XKBLAYOUT/XKBLAYOUT="de" # XKBLAYOUT/g' /etc/default/keyboard
+service keyboard-setup restart
# Clone git repository.
apt-get -y install ca-certificates
# Clone git repository.
apt-get -y install ca-certificates
@@
-69,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'
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
# Set up editor.
apt-get -y install vim
@@
-87,15
+89,28
@@
systemctl restart wicd
echo 'HandleLidSwitch=hibernate' >> /etc/systemd/logind.conf
# Set up sound.
echo 'HandleLidSwitch=hibernate' >> /etc/systemd/logind.conf
# Set up sound.
-usermod -G audio plom
+usermod -
a
G audio plom
apt-get -y install alsa-utils
amixer -c 0 sset Master playback 100% unmute
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
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
# 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
# Clean up.
rm jessie_start.sh