- (Tested on 16.04.3)
- Choose closest update server location
- Disable activity record in Security & Privacy
- Change Firefox download settings
- Enable workspace in Appearance/Behavior
- [Optional] Dual screen setup (remove sticky edges)
- [Optional] Add printers
cd ~
mkdir Projects
mkdir ToDelete
mkdir Projects/Temp
mkdir Softwares
mkdir Softwares/Downloads
mkdir Softwares/Launchers
mkdir Softwares/DesktopEntries
ln -s Softwares/DesktopEntries ~.local/share/applications/Softwares
echo "export SOFTWARES=/home/owner/Softwares" > Softwares/softwares.sh
mkdir Style
touch Style/style.sh
mkdir Style/Fonts
echo "
source ~/Style/style.sh
source ~/Softwares/softwares.sh
" > ~/cli_config.sh
cat >> ~/.bashrc << EOF
# Custom script by CWhy
source ~/cli_config.sh
EOF
sudo apt update
sudo apt upgrade
sudo apt install git vim openssh-server tmux htop curl
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /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-get update
sudo apt-get install google-chrome-stable
[1]
-
[optional] Copy an existing key
- Copy the key to
~/.ssh/
chmod 600 ~/.ssh/* ssh-add id_rsa
- Copy the key to
-
[optional] Create a new key
ssh-keygen -t rsa -C "[email protected]"
cd ~/.ssh
ssh-add id_rsa
cat id_rsa.pub
- Add the above key to github
cd ~/Style
git clone [email protected]:Anthony25/gnome-terminal-colors-solarized.git
./gnome-terminal-colors-solarized/install.sh
git clone [email protected]:seebi/dircolors-solarized.git
ln -s ~/Style/dircolors-solarized/dircolors.256dark ~/.dircolors
echo "eval `dircolors ~/.dir_colors/dircolors`" >> ~/Style/style.sh
git config --global user.email "[email protected]"
git config --global user.name "Chen Yu"
git config --global core.editor vim
update-alternatives --config editor
cd ~
git clone --recursive [email protected]:cwhy/.vim
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt update
sudo apt install indicator-multiload
- Download monofur font as a folder in
~/Style/Fonts
ln -s Style/Fonts .fonts
fc-cache -f -v
- Modify setting in terminal to use monofur
sudo add-apt-repository ppa:numix/ppa
sudo apt update
sudo apt install numix-icon-theme-circle
sudo apt install numix-gtk-theme
gsettings set org.gnome.desktop.interface icon-theme "Numix-Circle"
gsettings set org.gnome.desktop.interface icon-theme "Numix-Circle"
gsettings set org.gnome.desktop.interface gtk-theme "Numix"
gsettings set org.gnome.desktop.wm.preferences theme "Numix"
sudo apt install numix-wallpaper-*
[2]
- Download the deb file from http://pinyin.sogou.com/linux/?r=pinyin to
~/Softwares/Downloads
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 8D5A09DC9B929006
sudo dpkg -i ~/Softwares/Downloads/sogoupinyin*.deb; sudo apt -f install
sudo apt update
- Restart the computer [3]
sudo apt install tilda
pip install flake8
- Install Powerline [4]
[1] https://askubuntu.com/questions/765037/why-does-google-chrome-not-install-in16-04-ubuntu
[2] https://github.com/numixproject/numix-gtk-theme
[3] http://ubuntuhandbook.org/index.php/2016/07/2-best-chinese-pinyin-im-ubuntu-16-04/