How to setup Ubuntu for software development

Programs:

  • Slack
  • VSCode
  • Chrome
  • Glimpse
  • Terminator
  • Gnome Tweaks
  • Pling Store for themes
  • Zoom
  • App Image launcher

Terminator

In Ubuntu, open terminal and write the following commands:

Add Terminator Repository:

1sudo add-apt-repository ppa:gnome-terminator

Update sources.list

1sudo apt-get update

Install Terminator

1sudo apt-get install terminator

Gnome Tweaks

In Ubuntu, open terminal and write the following commands:

Make sure that we have the universe repository enabled on our Ubuntu system

1sudo add-apt-repository universe'

Install Tweak Tool

1sudo apt install gnome-tweak-tool

Install browser extension Integración con GNOME Shell - Chrome Web Store

Extensions

  • Alternatetab

  • Always zoom workspaces

  • Clipboard indicator

  • Dash to dock

  • Dynamic panel transparency

  • Native window placement

  • Openweather

  • User themes

  • System monitor: You need to install these dependencies and then log out and log in:

    1sudo apt-get install gir1.2-gtop-2.0 gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-gtkclutter-1.0

Swap Left Alt with Left Ctrl

This is useful when you are a Mac user.

Go to Tweaks > keyboard and Mouse > Additional Layout Options > Ctrl position > Swap Left Alt with Left Ctrl

AppImageLauncher

  1. Add Repository sudo add-apt-repository ppa:appimagelauncher-team/stable
  2. update packages sudo apt-get update
  3. install appimagelauncher sudo apt-get install appimagelauncher

Pling Store

Go to pling.com and download AppImage, install it using AppImageLauncher and finally, create .themes folder in home Themes:

  • Orchis
  • Ant Themes
  • Dracula.tar.xz
  • Ant-alt-style.tar
  • Ant-standard-buttons.tar
  • McOS-Shell-themes
  • McOS-Transparent
  • McOS-CTLina-Gnome
  • mc-OS-CTLina-Gnome-Dark
  • WhiteSur-dark
  • WhiteSur-light
  • WhiteSur Icons

Slack

Slack Theme

This will set a Dracula theme on Slack Preferences > Themes > Create custom theme #19171D,#121016,#1164A3,#FFFFFF,#27242C,#D1D2D3,#2BAC76,#CD2553,#121016,#D1D2D3

Git

1sudo apt install git-all

ZSH

1sudo apt install zsh

Oh My ZSH

1sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

GitHub

  1. Go to ~/.ssh folder

    1cd ~/.ssh
  2. Generate key

    1ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  3. Start the ssh-agent in the background

    1eval "$(ssh-agent -s)"
  4. Add your SSH private key to the ssh-agent

    1ssh-add ~/.ssh/id_rsa

tmux

sudo apt install tmux

Install fonts

Nerd fonts

Download Droid Sans Mono

Fira Code

Go to Fira Code Github and follow instructions

Dracula Theme

  1. Install using Git If you are a git user, you can install the theme and keep up to date by cloning the repo:

    1git clone https://github.com/dracula/zsh.git

    And creating a symbolic link to oh-my-zsh ’s theme folder:

    1ln -s ~/$DRACULA_THEME/dracula.zsh-theme ~/$OH_MY_ZSH/themes/dracula.zsh-theme

zsh-autosuggestions

1git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Dotfiles

  1. Go to home

    1cd ~
  2. Install dotfiles

    1git clone git@github.com:HugoLiconV/dotfiles.git

z.sh config

1ln -sv ~/dotfiles/z.sh ~

Terminator config

1ln -sv ~/dotfiles/.config/terminator/config ~/.config/terminator

Vim config

1ln -sv ~/dotfiles/.vimrc ~

Bash config

1ln -sv ~/dotfiles/.bashrc ~

tmux config

1ln -sv ~/dotfiles/.tmux.conf ~

Oh my ZSH config

1ln -sv ~/dotfiles/.zshrc ~
2ln -sv ~/dotfiles/.p10k.zsh ~

NVM & Node

1curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash

Restart the terminal

Install Node.js

1nvm install stable
2nvm use stable

Install yarn

1curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
2echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
3# Update package list
4sudo apt update

The command above will also install Node.js . If you installed Node trough nvm, skip the Node.js installation with:

1sudo apt install —no-install-recommends yarn