GNOME Ubuntu setup

Themes

Icon theme

Install the numix-icon-theme-circle theme

$ sudo apt-add-repository ppa:numix/ppa
$ sudo apt-get update
$ sudo apt-get install numix-icon-theme-circle

In Tweak Tool, set Icons theme to be Numix-Circle.

GTK & GNOME shell theme

Install the arc-theme

$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/arc-theme.list"
$ sudo apt-get update
$ sudo apt-get install arc-theme

Set GTK+ theme and Shell theme to be Arc-Dark.

(Note: Shell theme may be disabled by default, the User themes GNOME extension need to be enabled first)

GUI applications

Google Chrome

Download Google Chrome

Spotify

$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
$ echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
$ sudo apt-get update
$ sudo apt-get install spotify-client

Netease Music

Download Netease Music

Slack

Download Slack

System settings

Input method

Add Chinese (pinyin) as one of the input sources.

Key mapping

Set these in GNOME Tweak Tool

  • Swap CapsLock and left Ctrl key
  • Swap Alt and Win key (if using a Mac keyboard)

Font

Modify the priority of Noto Sans CJK (for displaying Simplified Chinese properly)

Terminal

Shell

Use Zsh (together with oh-my-zsh) instead of Bash

$ sudo apt-get install -y zsh
$ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
$ chsh -s `which zsh`

Terminal appearance

First, install the base16 theme for GNOME Terminal

$ git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
$ echo 'BASE16_SHELL=$HOME/.config/base16-shell/
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"' >> ~/.zshrc
$ source ~/.zshrc
$ base16_default-dark

Then change the font for terminal to the Input font (InputMonoNarrow-Light.ttf)

Terminal applications

SSH

Generate a key pair for use with SSH

$ ssh-keygen -t rsa

Git

First install Git with

$ sudo apt-get install -y git

Username and email should be configured for Git before commiting anything.

$ git config --global user.name "Siyuan Liu"
$ git config --global user.email "weifengzi2009@gmail.com"
$ git config --global push.default simple

Store public key generated with ssh-keygen on GitHub.

Vim

Install Vim with

$ sudo add-apt-repository ppa:jonathonf/vim
$ sudo apt-get update
$ sudo apt-get install -y vim

Create ~/.vimrc with the content from my dotfile repo. Then install all the plugins with Vundle

$ wget -O ~/.vimrc https://raw.githubusercontent.com/koallen/dotfiles/master/.vimrc
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
$ vim +PluginInstall +qall

tmux

$ sudo apt-get install -y tmux

Configuration available in my dotfile repo.

Java

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install -y oracle-java8-installer

GNOME plugins

Fixes

Plymouth crash

$ sudo chown -R : /sbin/plymouthd