Skip to content

Instantly share code, notes, and snippets.

@Mihai-P
Last active August 16, 2022 23:36
Show Gist options
  • Select an option

  • Save Mihai-P/10f3249a9248051eb8fe2a9e3c1ed411 to your computer and use it in GitHub Desktop.

Select an option

Save Mihai-P/10f3249a9248051eb8fe2a9e3c1ed411 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 LTS - Installing all the programs I use
#!/bin/bash
echo "***********************************************************************"
echo "* Installing Brave Browser *"
echo "***********************************************************************"
# see https://brave.com/linux/ for more details
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser
echo "***********************************************************************"
echo "* Installing Discord *"
echo "***********************************************************************"
# reference https://linuxconfig.org/how-to-install-discord-on-ubuntu-20-04-focal-fossa-linux
sudo apt update
wget -O ~/discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
sudo gdebi ~/discord.deb
rm -rf ~/discord.deb
# Changing the first day of the week in the calendar on Ubuntu
# see https://askubuntu.com/a/1069623
#!/bin/bash
# reference https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04
echo "***********************************************************************"
echo "* Installing NODE *"
echo "***********************************************************************"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm install v14.10.0
nvm use v14.10.0
#!/bin/bash
# it can be installed through snap too but I cannot apply the icon for it
echo "***********************************************************************"
echo "* Installing Skype *"
echo "***********************************************************************"
wget https://go.skype.com/skypeforlinux-64.deb
sudo apt install ./skypeforlinux-64.deb
rm -rf skypeforlinux-64.deb
#!/bin/bash
echo "***********************************************************************"
echo "* Installing Slack *"
echo "***********************************************************************"
sudo apt-get install -y slack
[Desktop Entry]
X-SnapInstanceName=slack
Name=Slack
StartupWMClass=Slack
Comment=Slack Desktop
GenericName=Slack Client for Linux
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/slack_slack.desktop /snap/bin/slack %U
Icon=slack
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Network;InstantMessaging;
MimeType=x-scheme-handler/slack;
#!/bin/bash
echo "***********************************************************************"
echo "* Installing Teams *"
echo "***********************************************************************"
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main" > /etc/apt/sources.list.d/teams.list'
sudo apt install teams
#!/bin/bash
echo "***********************************************************************"
echo "* Installing todoist *"
echo "***********************************************************************"
sudo snap install todoist
curl https://gist.githubusercontent.com/Mihai-P/10f3249a9248051eb8fe2a9e3c1ed411/raw/todoist_todoist.desktop?cachebust=busted > ~/.local/share/applications/todoist_todoist.desktop
[Desktop Entry]
X-SnapInstanceName=todoist
Name=Todoist
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/todoist_todoist.desktop /snap/bin/todoist %U
Terminal=false
Type=Application
Icon=todoist.svg
StartupWMClass=Todoist
MimeType=x-scheme-handler/todoist;x-scheme-handler/com.todoist;
Comment=The Best To-Do List App & Task Manager
Categories=Office;
This will install all the programs I need in Ubuntu 20.04 LTS
#!/bin/bash
sudo apt-get install -y git
#!/bin/bash
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install code
#!/bin/bash
echo "***********************************************************************"
echo "* Installing Workrave *"
echo "***********************************************************************"
sudo apt-get install -y workrave gnome-tweak-tool
# how to get the gnome applet https://askubuntu.com/questions/967264/how-to-get-workrave-indicator-to-show-in-ubuntu-17-10
sudo add-apt-repository -u ppa:rob-caelers/workrave
sudo apt update
sudo apt install -y workrave-gnome
# Now fire up Workrave. It will show up in a small window with all the timers running -- no applet yet.
echo "***********************************************************************"
echo "Then fire up gnome-tweak-tool, head to Extensions, and enable Workrave."
echo "***********************************************************************"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment