Skip to content

Instantly share code, notes, and snippets.

@noizbuster
Last active November 10, 2022 07:36
Show Gist options
  • Save noizbuster/f1b4101723c274061bcdad5b72a3d0df to your computer and use it in GitHub Desktop.
Save noizbuster/f1b4101723c274061bcdad5b72a3d0df to your computer and use it in GitHub Desktop.
Ubuntu Setting

remove unnecessary apps

  • (under 18.04) amazon app4
  • games (like sudoku...)

update ubuntu

sudo apt update
sudo apt dist-upgrade && sudo apt autoremove && sudo apt autoclean

ubuntu-restricted-extras (when you forgot installing extra softwares)

sudo apt install ubuntu-restricted-extras

install my recommand softwares

sudo apt install zsh htop terminator gnome-tweak-tool chrome-gnome-shell -y
# if you are programmer, probably need this
sudo apt install git git-gui gitg vim meld curl -y
# if you are korean, probably need this
sudo apt install fcitx-hangul fonts-nanum-coding -y

install language pack

  1. open language support
  2. fallow instructions
  3. (if you are korean) change input method to fcitx

install & configure oh-my-zsh

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="agnoster"/g' .zshrc

install nerd fonts

using dejavu

git clone --filter=blob:none --sparse [email protected]:ryanoasis/nerd-fonts
cd nerd-fonts
git sparse-checkout add patched-fonts/DejaVuSansMono
./install.sh DejaVuSansMono
cd ..
rm nerd-fonts -rf

install powerline fonts

git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts

(optional) if you want to use numix theme

sudo add-apt-repository ppa:numix/ppa
sudo apt-get install numix-gtk-theme numix-icon-theme-circle -y

and then, change theme on gnome-tweak-tools

install gnome extensions (https://extensions.gnome.org/)

configure gnome

  1. open gnome-tweak-tools
  2. change monospace font to DejaVu Sans Mono for Powerline Book
  3. configure your extenstions

configure keyboard shortcuts

  • set super+e to nautilus -w

(optional, if you are korean) configure

  1. reboot
  2. open fcitx config
  3. add keyboard layout Hangul
  4. (optional) if you want, change shortcut for changing keyboard layout

configure git

git config --global core.editor vim
git config --global user.name "YOUR NAME"
git config --global user.email "[email protected]"

Extra software install for developer

Docker

https://docs.docker.com/install/linux/docker-ce/ubuntu

node.js

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

and than, add below into end of .zshrc

# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

rust

curl https://sh.rustup.rs -sSf | sh

and update .zshrc file by following instructions

Maybe someone like this

  • discord
  • gimp
  • inkscape
  • editors
    • vscode
    • atom
    • sublime
  • postman
  • telegram sudo snap install telegram-desktop

install latest shutter

sudo add-apt-repository ppa:linuxuprising/shutter && sudo apt install shutter -y

configure keyboard shortcut for shutter

  • shutter save screenshot active window
    • command: shutter -w
    • recommand key: alt + print
  • shutter save screenshot selected area
    • command: shutter -s
    • recommand key: shift + print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment