Skip to content

Instantly share code, notes, and snippets.

@rmsys
Last active July 20, 2023 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmsys/dc4896f0541fc7f200dd207d23786cbe to your computer and use it in GitHub Desktop.
Save rmsys/dc4896f0541fc7f200dd207d23786cbe to your computer and use it in GitHub Desktop.
Ubuntu 20.04 - Basic installs
# Ubuntu 20.04 - Basic installs
0. The begin
sudo apt-get update && sudo apt-get -y upgrade && sudo apt install curl wget git vim
1. zsh + ohmyz
sudo apt-get install zsh
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
vim ~/.bashrc
> add to final
exec zsh
2. vscode
> download file .deb (https://go.microsoft.com/fwlink/?LinkID=760868)
apt install code_1.80.1-1689183569_amd64.deb
3. cryptomator
> download file: (https://cryptomator.org/downloads)
chmod +x cryptomator-1.6.3-x86_64.AppImage
4. terraform
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
sudo apt update
sudo apt-get install terraform
terraform -install-autocomplete
5. terminator
> paper (default) --> copy on select
sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator
6. Brave
sudo apt install apt-transport-https curl
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
7. Firefox
apt install firefox
8. Chrome
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt update
sudo apt install google-chrome-stable
7. chrome-gnome-shell
sudo apt install chrome-gnome-shell
8. dash to panel
> enable in https://extensions.gnome.org/ + import file txt below
[/]
animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1}
available-monitors=[0, 1]
hotkeys-overlay-combo='TEMPORARILY'
panel-anchors='{"0":"MIDDLE","1":"MIDDLE"}'
panel-element-positions='{"0":[{"element":"showAppsButton","visible":true,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}],"1":[{"element":"showAppsButton","visible":true,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}]}'
panel-lengths='{"0":100,"1":100}'
panel-positions='{"0":"TOP","1":"TOP"}'
panel-sizes='{"0":24,"1":24}'
9. indicator-multiload
sudo apt update
sudo apt upgrade
sudo apt install indicator-multiload
> disable view CPU
> go to 'Indicator Itens'
> Edit 'CPU: $(percent(cpu.inuse))' to 'CPU: $(percent(cpu.inuse)), Mem: $(size(mem.user))'
10. pomodoro
sudo apt install gnome-shell-pomodoro
11. aws cli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
11. pip3
sudo apt install python3-pip
12. boto3
pip3 install boto3
13. Docker CE
apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
sudo setfacl --modify user:$USER:rw /var/run/docker.sock
docker ps -a
docker --version
14. Remina (RDP)
sudo apt install remmina remmina-plugin-vnc
15. PowerShell
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y powershell
pwsh
16. vokoscreen
sudo apt install vokoscreen-ng
### Refers
[Cryptomator](https://cryptomator.org/)
[VScode](https://code.visualstudio.com/)
[Indicator multi load](https://www.computernetworkingnotes.com/linux-tutorials/ubuntu-show-cpu-and-memory-usages-in-top-bar.html)
[oh-my-zsh](https://ohmyz.sh/)
[Docker CE](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04)
[Terminator](https://dev.to/xeroxism/how-to-install-terminator-a-linux-terminal-emulator-on-steroids-1m3h)
[Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli)
[Remina](https://ubuntu.com/tutorials/access-remote-desktop#1-overview)
[PowerShell](https://docs.microsoft.com/pt-br/powershell/scripting/install/install-debian?view=powershell-7.2)
[VokoScreen](https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html)
### Tips:
How do I stop my microphone from auto adjusting Linux?
> Disable auto adjusting of gain on mic:
>
> Edit as root: /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
> Edit as root: /usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf
> Under "[Element Internal Mic Boost]" set "volume" to "zero".
> Under "[Element Int Mic Boost]" set "volume" to "zero".
> Under "[Element Mic Boost]" set "volume" to "zero".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment