Everything about Setting Up My Ubuntu Desktop

Posted by     "Louis Lu" on Friday, January 5, 2024

Generate SSH Key Pair

ssh-keygen -C "nzlouis.com@gmail.com"


Install shadowsokcs

sudo apt-get install python3-pip

sudo pip3 install shadowsocks

Create config at config/shadowsocks.json, with the following content:


Start a local socks proxy

sudo sslocal -c config/shadowsocks.json -d start

In case there is an openssl error, modify shadowsocks source file.

sudo vi /usr/local/lib/python3.6/dist-packages/shadowsocks/crypto/openssl.py


Convert shadowsocks socks proxy to http proxy

sudo apt-get install polipo

echo "socksParentProxy = localhost:1080" | sudo tee -a /etc/polipo/config
sudo service polipo restart

Http proxy now is available at port 8123

Set bing wallpaper as desktop background

sudo add-apt-repository ppa:whizzzkid/bingwallpaper
sudo apt-get update
sudo apt-get install bingwallpaper

Use vim mode in bash

echo 'set -o vi'>> ~/.bashrc