Setup Ubuntu after Booting
Configuring Windows
Colours
annotation highlight color - #b3ffdb6e
Foobar
[%disc number%.][$num(%tracknumber%,2). ]$trim(%title%)[ - %track artist%]
Mountvol
# list volumes
mountvol
# eject
mountvol D: /p
# mount {e864ee90-ea3d-43d9-962d-3452d830dd69}
mountvol D: \\?\Volume{e864ee90-ea3d-43d9-962d-3452d830dd69}\
Disable autorun
- Windows key + R -> regedit
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
- Create a new Dword type value with name “NoDriveTypeAutorun”. Set value to “FF”.
Installing Ubuntu
Disk Partition Size
+---------+-----------+----------+
| DISK | PARTITION | SIZE |
|---------+-----------+----------|
| SSD | / | 60 Gb |
| | swap | 12 Gb |
| HDD | /home | 60 Gb |
+---------+-----------+----------+
Change ownership of all files run this:
sudo chown -R hsunwei /home/hsunwei
Chinese input
- System Settings–>Language Support–>Install/Remove Languages
sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
sudo apt-get install ibus-pinyin
- Logout
- sudo ibus-setup
Shortcut
Bash script, save to $home/bin
.
Useful software
-
Youtube downloader
youtube-dl --write-auto-sub https://www.youtube.com/playlist?list=PLLssT5z_DsK-h9vYZkQkYNWcItqhlRJLN
-
Kindle-friendly pdf converter
k2pdfopt *.pdf -dev kp3
-
HTML 5 outliner for Chrome HeadingsMap for Firefox How can I add a table of contents to an ipython notebook?