New Ubuntu system setup steps
I keep my ubuntu system initial setup checklist here in case of future need when I get some new computer to set up. System clone can be tricky when setting up a new machine with different hardware. Build from the ground up is a safer way to do it. It will cost you some time but it always results in a familiar and convenient environment.
sources.listfile, use tuna mirrors at tsinghua university, it is the fastest mirror in my location.
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo gedit /etc/apt/sources.list
Change the file content to tsinghua mirror deb lists.
Update the system
sudo apt update
sudo apt upgrade
Modify the grup default startup
If the computer has diffirent os other than ubuntu, need modify
GRUB_DEFULTto according startup item list sequence, like 4. set
to enable the modification.
Setup network proxy
sudo apt install putty
Copy required session and ppk files into new system, the fix folder is
$HOME/.putty/sessionand ‘$HOME/Tools/EC2-Ubuntu` respectively.
After copy the files, run putty and start the session EC2.
Start System setting tools
Settings/Network/Network Proxy, select
Automatic, set the Configuration URL to
Install Chromium-browser, sign in google acount and sync.
sudo apt install chromium-browser
Install fcitx and Sougou Pinyin for linux by following this link
sudo apt install fcitx
install the deb file downloaded from the link above.
Settings/Region & Language, Manage Installed Languages, install Simple Chinese and set the Keyboard input method system to fcitx.
Configure input method, add sougou Pinyin.
Copy old mails from
$HOME/.thunderbirdand paste them to the corresponding folders.
Keyboard Shortcuts Settings
- Home folder: Super+E
- Launch Terminal: Super+T
- Settings: Super+C
- Close Window: Super+X
- Hide Window: Super+Z
- PrtSc-Area-cliboard: Ctrl+Alt+C:
gnome-screenshot -a -c
- System-Monitor: Ctrl+Alt+M:
- PrtSc-Area: Ctrl+Alt+A:
- fsearch: Super+F:
Install development supporting apt packages and required softwares.
sudo apt-get install git build-essential automake autoconf libtool pkg-config intltool autoconf-archive libpcre3-dev libglib2.0-dev libgtk-3-dev libxml2-utils
sudo apt install doublecmd-gtk gnome-tweaks dconf-tools virtualbox wps-office default-jre default-jdk openjdk-8-jre openjdk-8-jdk
- Double commander, You will encounter an error when you want to extract rar files under doublecmd. Linux Mint Debian Edition (LMDE) does not include
libunrar.so, this means you cannot open RAR files with Double Commander. You need to build
libunrar.soyourself by following the link at the beginning of this paragraph.
- anaconda using mirror at Tsinghua tuna mirror site
- Visual Studio Code, extensions can be installed by copy
$HOME/.vscode/extensionsfolder to the according folder.
- Docear, docear need java 8 runtime, run
sudo update-alternatives --config javato config the java runtime to openjave-8-jre. The compatible PDf Viewer selection under ubuntu is tricky, the version is V2.5 build 322.9, it’s a green edition, and the pdf management configuration need to be
wine*$HOME/Tools/PDFXViewer/PDFXCview.exe*/A*page=$PAGE*$FILE. Also need to set the copy comment to clipboard and single document settings in PDFXViewer.
- Wps Office need to download and install wps-fonts, one need to copy them into the exact folder
Set the dock click action to minimize. using
change the custom value to ‘minimize’
Install Windows in Virtualbox, the installation is simple strait forward, the tricky part is the Virtualbox extensions pack, to use software like Altium Designer in virtualbox and USB 3.0 hard drives, one need to enable 3D acceleration and USB 3.0 respectively, in order to do that, install the extensions pack in windows safe mode, which can enter by click F8 at the startup.
- After restore virtualbox image to other computer, you may encounter an error when you are trying to connect usb devices in virtualbox machines, to solve that you need add ubuntu user to group vboxusers and usbfs in
Remmina is a good way to use remote desktop, the version ubuntu provided is kind of low, to get better experience and latest version, do as follow steps
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install remmina remmina-plugin-rdp
Jupyter notebook extensions. If you are using jupyter notebook for interactive python develop, you may want to add some additional feather to it. nbextensions is a good choice to manage the extensions.
active your anaconda environment.
pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple
jupyter contrib nbextension install –user
pip install –user jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable –user