2012/11/28

WDS Server - Use Windows AIK tool to add new driver


1. Find your boot.wim file location.
2. Open Windows AIK tool (command mode).
3. Use "dism /get-wiminfo /wimfile:X:\boot.wim" to get Windows Setup information.
4. Check Windows Setup is Index 2.
5. Create mountboot folder.
6. Use "dism /mount-wim /wimfile:X:\boot.wim /index:2 /mountdir:X:mountboot" to extract boot.wim.
7. Use "dism /image:X:\mountboot /add-driver /driver:X:\driver folder\xxx.inf" to install driver.
8. Use "dism /unmount-wim /mountdir:X:\mountboot /commit" to package your new boot.wim file.

2012/11/27

Ubuntu Commands


中文字型異常修正
sudo sed -i '/DejaVu/d ; /Bitstream Vera/d ; /WenQuanYi Bitmap Song/d' /etc/fonts/conf.avail/69-language-selector*
sudo rm /usr/share/locale-langpack/zh*/LC_MESSAGES/friendly-recovery.mo /usr/share/locale-langpack/zh*/LC_MESSAGES/newt.mo

移除面板上的 Me 選單
sudo apt-get remove --purge indicator-me

更換輸入法
sudo apt-get install scim scim-chewing && sudo im-switch -s scim-bridge

修正 Gedit 的亂碼
gconftool-2 -s /apps/gedit-2/preferences/encodings/auto_detected --type list --list-type string '[UTF-8,BIG5,BIG5-HKSCS,EUC-TW,CURRENT,ISO-8859-15,UTF-16]'

2012/11/25