[TOC]
sudo apt remove unity-webapps-common
sudo nano /etc/apt/sources.list
Replace all contains to follows
# tuna
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
sudo apt update && sudo apt upgrade && sudo apt dist-upgrade
sudo apt autoremove
Right-click terminal
Profiles > Profile Preferance
Colors > Built-in schemes > White on black
Colors > Use transparent background
install shadowsocks-libev from PPA
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev
install libsodium for chacha20-ietf-poly1305
method
wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.17.tar.gz
tar zxvf libsodium-1.0.17.tar.gz
cd libsodium-1.0.17
./configure
make && make check
make install
ldconfig
configure shadowsocks-libev
sudo nano /etc/shadowsocks-libev/config.json
{
"server":"server_ip_address",
"server_port":server_port,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"password",
"timeout":300,
"method":"chacha20-ietf-poly1305",
"fast_open": true
}
open local shadowsocks service
sudo ss-local -c /etc/shadowsocks-libev/config.json
configure system proxy in System Settings > Network > Network proxy
Method > Manual > Socks Host
127.0.0.1 1080
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo dpkg -i code_1.31.1-1549938243_amd64.deb
install unity-tweak-tool
sudo apt install unity-tweak-tool
install Flatabulous theme
sudo add-apt-repository ppa:noobslab/themes
sudo apt update
sudo apt install flatabulous-theme
install Ultra-Flat icon
sudo add-apt-repository ppa:noobslab/icons
sudo apt update
sudo apt install ultra-flat-icons
configure theme and icon in unity-tweak-tool
add sogou icon in Flatabulous theme
sudo cp fcitx-sogoupinyin.svg /usr/share/icons/Ultra-Flat/apps/scalable
install fcitx
sudo apt install fcitx
sudo apt install fcitx-config-gtk
System Settings > Language Support
change
keyboard input method system
tofcitx
sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
sudo apt install -f
add sogou input method in fcitx
settings (keyboard icon on the right top)
log out once
sudo service lightdm restart
configure shortcut for triggering input method
Fcitx Settings > Global Config
Trigger Input Method > Super + Space
System Settings > Text Entry
Super + Space -> Ctrl + Space
Shift + Super + Space -> Shift + Ctrl + Space
System Settings > Keyboard > Shortcuts > Screenshots
Take a screenshot > Super + print
sudo apt install git
Configure Git
git config --global user.name "John Doe"
git config --global user.email [email protected]
git config --global push.default simple
git config --list
Generating a new SSH key
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Adding your SSH key to the ssh-agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
Add the SSH key to your GitHub account
# Downloads and installs xclip. If you don't have `apt-get`, you might need to use another installer (like `yum`)
sudo apt-get install xclip
# Copies the contents of the id_rsa.pub file to your clipboard
xclip -sel clip < ~/.ssh/id_rsa.pub
paste your SSH key to Github
sudo apt install cmake
# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com--recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora
uninstall LibreOffice
sudo apt remove libreoffice-common
install WPS from .deb file
sudo dpkg -i wps-office_10.1.0.6757_amd64.deb
add lacking fonts files
sudo mv wps_symbol_fonts /usr/share/fonts/
reboot
Download .sh file from https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
bash Anaconda3-5.3.1-Linux-x86_64.sh
Add environment variable
sudo gedit ~/.bashrc
add follows line
export PATH="/home/fortistray/anaconda3/bin:$PATH"
Change image source to tuna
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
# Check
cat ~/.condarc