-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_on_ubuntu.sh
executable file
·30 lines (22 loc) · 1006 Bytes
/
run_on_ubuntu.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
# install terminal profile and colours
dconf load /org/gnome/terminal/legacy/profiles:/ < ./config_files/gnome-terminal-profiles.dconf
echo "Install clipboard persistance et. al."
sudo apt-get install parcellite
sudo apt install libx11-dev libxtst-dev libxt-dev libsm-dev libxpm-dev curl zip unzip tar
# Add touchpad indicator
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install -y touchpad-indicator
# Set up openssh server
sudo apt-get install openssh-server
sudo systemctl enable ssh --now
sudo systemctl start ssh
echo "Build and install vim with clipboard support"
#https://stackoverflow.com/questions/11416069/compile-vim-with-clipboard-and-xterm
git clone [email protected]:vim/vim.git
cd vim
./configure --enable-python3interp=dynamic --prefix=$HOME/.local --enable-rubyinterp=dynamic --enable-gtk2-check --enable-gnome-check --with-features=huge --with-x
make install
echo "Checking for clip"
./src/vim --version | grep clip
sudo cp ./src/vim /usr/local/bin