-
Notifications
You must be signed in to change notification settings - Fork 0
/
installdesktop.sh
executable file
·220 lines (201 loc) · 6.24 KB
/
installdesktop.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
#!/bin/bash
#
# This shell script sets up Eduardo's working environment on a new
# **Ubuntu** computer.
#
# run this by typing:
# wget https://raw.githubusercontent.com/ersanchez/bin/master/installdesktop.sh
# chmod 755 installdesktop.sh
# ./installdesktop.sh
#
# Install applications
# To do: cluster these install lines into one command; make subsequent
# command run only after pkg installation is done
sudo apt update
# need git first because this script will install dependencies for some later installs
sudo apt install -y git
# applications that do *not* require a special configuration
#sudo apt install -y abcde # installs postfix?!?!?
sudo apt install -y anki
#sudo apt install -y appimagelauncher
sudo apt install -y audacity
sudo apt install -y autofs
# sudo apt install -y autokey-gtk
# install bitwarden
sudo apt install -y bleachbit
#sudo apt install -y brasero
#sudo apt install -y byzanz
sudo apt install -y calibre
sudo apt install -y cdparanoia
sudo apt install -y chirp
#sudo apt install -y chromium-browser
sudo apt install -y clementine
sudo apt install -y cmake
sudo apt install -y cockpit
sudo apt install -y curl
sudo apt install -y dateutils
# sudo apt install -y dia
sudo apt install -y diceware
sudo apt install -y ecryptfs-utils
# install firefox from mozilla.org
#sudo apt install espanso
sudo apt install -y flac
sudo apt install -y flatpak
sudo apt install -y fonts-inconsolata
sudo apt install -y fuse
sudo apt install -y gddrescue
# sudo apt install -y geany
# sudo apt install -y geany-plugin-lipsum
sudo apt install -y gimp
sudo apt install -y gnome-clocks
sudo apt install -y gnome-disk-utility
sudo apt install -y gnome-mpv
sudo apt install -y gnucash
sudo apt install -y gnupg2
sudo apt install -y gnutls-bin
sudo apt install -y goldendict
sudo apt install -y gparted
sudo apt install -y gthumb
sudo apt install -y guvcview
sudo apt install -y gufw
sudo apt install -y handbrake
sudo apt install -y htop
sudo apt install -y inkscape
sudo apt install -y jami
sudo apt install -y kazam
#sudo apt install -y kdenlive
sudo apt install -y keepassxc
# sudo apt install -y libreoffice
# install logseq
# sudo apt install -y lynx
# sudo apt install -y lyx
# sudo apt install -y makemkv-oss
sudo apt install -y markdown
#sudo apt install -y mate-desktop-environment
sudo apt install -y md5deep
# sudo apt install -y meld
sudo apt install -y mono-complete
sudo apt install -y mplayer
sudo apt install -y mpv
sudo apt install -y ncal
sudo apt install -y nemo
sudo apt install -y nemo-python
sudo apt install -y newsboat
sudo apt install -y nfs-common
sudo apt install -y nmap
sudo apt install -y okular
sudo apt install -y openvpn
sudo apt install -y pandoc
sudo apt install -y par2
sudo apt install -y pdfarranger
sudo apt install -y peek
sudo apt install -y picard
# sudo apt install -y powerline
sudo apt install -y psensor
sudo apt install -y pv
sudo apt install -y python3
sudo apt install -y remmina
sudo apt install -y retext
sudo apt install -y rsync
#sudo apt install -y sabnzbdplus
#sudo apt install -y scribus
sudo apt install -y shutter
# sudo apt install -y signal-desktop
sudo apt install -y simplescreenrecorder
sudo apt install -y snapd
sudo apt install -y synapse
#sudo apt install -y synaptic
sudo apt install -y syncthing
sudo apt install -y taskwarrior
sudo apt install -y tlp
sudo apt install -y tmux
sudo apt install -y torsocks
sudo apt install -y traceroute
sudo apt install -y transmission
sudo apt install -y tree
# sudo apt install -y ubuntu-mate-welcome
sudo apt install -y ufw
sudo apt install -y uptimed
sudo apt install -y unrar
# install vidcutter
sudo apt install -y vim
#sudo apt install -y virtualbox
sudo apt install -y virt-manager
sudo apt install -y vlc
sudo apt install -y vokoscreen
sudo apt install -y xournalpp
sudo apt install -y whois
sudo apt install -y wifi-radar
# sudo apt install -y wine64
sudo apt install -y xclip
# install yt-dlp
# Applications that require some kind of custom configuration
# Remove the snap installed by Ubuntu
# Why? Because it updates and forces a browser restart - **NOT** good for production
#sudo snap remove firefox # removes the Firefox snap installed automatically by Ubuntu
# To do: add script to install Firefox from Mozilla
# Temporary fix: install Gnome browser as a bridge
flatpak install flathub org.gnome.Epiphany
# future apps
# draw.io
# Set up dotfiles
# create git repo
mkdir -p $HOME/git-files/
# git pull dotfiles
cd $HOME/
# prevent blowing away existing dotfiles
if [ -d $HOME/git-files/dotfiles/ ]; then
mv dotfiles dotfiles.old
fi
# git install dotfiles
cd $HOME/git-files
git clone https://github.com/ersanchez/dotfiles.git
ln -sb $HOME/git-files/dotfiles/.abcde.conf $HOME/
ln -sb $HOME/git-files/dotfiles/.bash_logout $HOME/
ln -sb $HOME/git-files/dotfiles/.bash_profile $HOME/
ln -sb $HOME/git-files/dotfiles/.bashrc $HOME/
ln -sb $HOME/git-files/dotfiles/.bashrc_custo $HOME/
ln -sb $HOME/git-files/dotfiles/.gitconfig $HOME/
ln -sb $HOME/git-files/dotfiles/.gitignore_global $HOME/
ln -sb $HOME/git-files/dotfiles/.profile $HOME/
ln -sb $HOME/git-files/dotfiles/.tmux.conf $HOME/
ln -sb $HOME/git-files/dotfiles/.vim $HOME/
ln -sb $HOME/git-files/dotfiles/.vimrc $HOME/
# Not included
# http://kryogenix.org/code/pick/
# http://www.omgubuntu.co.uk/2016/08/peek-desktop-gif-screen-recorder-linux
# app images: openshot, standardnotes, bitwarden, etc
if [ -d $HOME/bin ]; then
mv $HOME/bin $HOME/bin-old
fi
if [ -d $HOME/Documents ]; then
mv $HOME/Documents $HOME/docs-old
fi
if [ -d $HOME/Music ] ; then
mv $HOME/Music $HOME/music-old
fi
if [ -d $HOME/Pictures ] ; then
mv $HOME/Pictures $HOME/pictures-old
fi
if [ -d $HOME/Public ]; then
mv $HOME/Public $HOME/public-old
fi
if [ -d $HOME/Videos ]; then
mv $HOME/Videos $HOME/videos-old
fi
mkdir $HOME/syncthing
mkdir $HOME/syncthing/.st-bin
mkdir $HOME/syncthing/.st-doc
mkdir $HOME/syncthing/.st-mus
mkdir $HOME/syncthing/.st-pic
mkdir $HOME/syncthing/.st-pub
mkdir $HOME/syncthing/.st-vid
echo "Directories created"
ln -sb $HOME/syncthing/.st-bin $HOME/bin
ln -sb $HOME/syncthing/.st-doc $HOME/Documents
ln -sb $HOME/syncthing/.st-mus $HOME/Music
ln -sb $HOME/syncthing/.st-pic $HOME/Pictures
ln -sb $HOME/syncthing/.st-pub $HOME/Public
ln -sb $HOME/syncthing/.st-vid $HOME/Videos
echo "links created"
rm $HOME/installdesktop.sh