2015年8月26日 星期三

RIME 中州韻 自製碼表

$ cd ~/.config/fcitx/rime
or
# cd /usr/share/rime-data/

* 方案為輸入法碼表的意思
$ vi <方案標識>.schema.yaml
$ vi <方案標識>.dict.yaml


按下重新載入按鈕產生新的設定檔




References :
Rime 輸入方案設計書
Schema.yaml 詳解
ZqBXM/README.md at master · ZoomQuiet/ZqBXM

fcitx自製碼表

# cd /usr/share/fcitx/table

# cp cantonhk.conf cantonhkyale.conf
# vi cantonhkyale.conf

# mb2txt cantonhk.mb > cantonhk.txt
# cp cantonhk.txt cantonyale.txt
# vi cantonyale.txt

# txt2mb cantonyale.txt cantonyale.mb




References :
fcitx下自製碼表工具,mb2txt與txt2mb(倉頡、輕鬆輸入法、五筆篇) [論壇 - Ubuntu 與中文] | Ubuntu 正體中文站 

RIME/中州韻 開啟粵語拼音

# apt-get install fcitx-rime

Rime 預設輸入方案有:朙月拼音★、語句流★、倉頡★、地球拼音、注音、五筆畫、宮保拼音、速成、五筆、雙拼、粵拼、吳語、中古漢語拼音、emoji、國際音標、袖珍簡化字等。
您可立即從方案選單切換到標有★的幾款方案 (Ctrl + `)
粵語輸入需要從設定檔開啟

# apt-get install librime-data-jyutping
$ vi ~/.config/fcitx/rime/default.custom.yaml
patch:
    schema_list:
        - schema: luna_pinyin # 朙月拼音
        - schema: jyutping # 粵拼




References :
lotem/default.custom.yaml

2015年8月22日 星期六

Windows simulate shutdown event to process

http://download.microsoft.com/download/d/2/5/d2522ce4-a441-459d-8302-be8f3321823c/LogoToolsv1.0.msi

> "C:\Program Files (x86)\Microsoft Corporation\Logo Testing Tools fo
r Windows\Restart Manager\AMD64\RMTool.exe" -p [PID] -S




References :
c# - How to simulate Windows shutdown for debugging? - Stack Overflow

2015年8月21日 星期五

iwlwifi-135-6.ucode (not found?)

iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-135-6.ucode' failed.
iwlwifi 0000:03:00.0: no suitable firmware found!


Bug#758219: linux-image-3.2.0-4-amd64: Unable to use iwlwifi 8086:0892, misdetected RF_KILL bit

block nouveau

# vi nvidia-graphics-drivers.conf
blacklist nouveau




References :
nvidia - How do I disable the \"Nouveau Kernel Driver\"? - Ask Ubuntu
graphics - How to Get nvidia driver working properly ( running experimental 3d support) - Ask Ubuntu

Debian downgrade from sid to testing

# vi /etc/apt/sources.list
deb http://ftp.debian.org/debian/ sid main non-free contrib
deb-src http://ftp.debian.org/debian/ sid main non-free contrib

deb http://ftp.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.debian.org/debian/ testing main non-free contrib

# vi /etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: 1001

# apt-get update
# apt-get dist-upgrade


References :
Debian downgrade from SID to testing ~ Billy Vera