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

  1. Windows key + R -> regedit
  2. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
  3. 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

  1. System Settings–>Language Support–>Install/Remove Languages
  2. sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
  3. sudo apt-get install ibus-pinyin
  4. Logout
  5. sudo ibus-setup

Shortcut

Bash script, save to $home/bin.

Useful software

Setup script

Back to top ↑