-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapt_get_installs.sh
executable file
·80 lines (68 loc) · 2.77 KB
/
apt_get_installs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
sudo apt-get update
sudo apt-get -y install git
sudo apt-get -y install openssh-server
sudo apt-get -y install sshfs
sudo apt-get -y install vim-gnome
sudo apt-get -y install tmux
sudo apt-get -y install curl
sudo apt-get -y install ack-grep
sudo apt-get -y install silversearcher-ag
sudo apt-get -y install pandoc
sudo apt-get -y install pandoc-citeproc
sudo apt-get -y install httpie
sudo apt-get -y install sqlite3
sudo apt-get -y install jq
sudo apt-get -y install tree
sudo apt-get -y install ncdu
if [ -f ~/.identifiers/without_x ] ; then
echo 'Ignoring X programs, please run:'
echo '#sudo rm -rf $(which xset)'
echo '#sudo rm -rf $(which xmodmap)'
echo '#sudo rm -rf $(which setxkbmap)'
else
sudo apt-get -y install xcape
sudo apt-get -y install feh
sudo apt-get -y install xsel #xsel -p to get primary clipboard, pipe to it to set primary
sudo apt-get -y install xdotool #used with ~/.i3/runorfocus.py
sudo apt-get -y install zathura #pdf viewer with vim keybindings
sudo apt-get -y install imwheel #used to e.g. speed up mouse scroll speed in zathura
ZATHRCFILE=/etc/zathurarc
[ ! -f $ZATHRCFILE ] \
&& echo "writing $ZATHRCFILE" && sudo echo "set scroll-step 100" > $ZATHRCFILE \
&& xdg-mime default zathura.desktop application/pdf
fi
sudo apt-get -y install zsh
sudo apt-get -y install python3-pip
# Git, `apt install git` will install an older version
sudo apt-add-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install -y git
# Neovim
sudo apt-get install -y software-properties-common && \
sudo apt-get update && \
sudo apt-get -y install neovim && \
pip3 install neovim && \
pip2 install neovim
sudo apt-get -y install python-dev python-pip python3-dev
sudo apt-get -y install ruby-dev
#The symlinking is done in makesymlinks.sh
#sudo apt-get -y install texlive texlive-latex-base # Around 300 MB?
#sudo apt-get -y install texlive-full # 3 GB...
#used for clip.py
# sudo apt-get -y install python-tk
# volume control and e.g. setting microphone input
sudo apt -y install pavucontrol
# Used by caps2esc
sudo apt-get install -y libudev-dev libevdev-dev
git clone https://github.com/oblitum/caps2esc ~/git/other/caps2esc/
# To compile: go to ~/git/other/caps2esc/,
# then run `gcc caps2esc.c -o caps2esc -I/usr/include/libevdev-1.0 -levdev -ludev`
# then `sudo cp ~/git/other/caps2esc/caps2esc /root`
# sudo echo "#!/usr/bin/env bash\nnohup sudo ./caps2esc &" > /root/c
# sudo chmod +x /root/c
# Then to run, `sudo su - root`, then run `./c`
##Installing i3-gaps. Needs i3 first!
# Dependencies has been updated, and are rather complicated for ubuntu. See the project wiki for install
# instructions
# cd git/other/
# git clone https://www.github.com/Airblader/i3 i3-gaps && cd i3-gaps && make && sudo make install