預設是安裝英文版, 但要加入中文輸入法要怎麼辦呢?
Dash Home -> System Setting -> Language Support -> Install / Remove Language -> Chinese (Traditional)
Dash Home -> Keyboard Input Method -> turn on ibus -> 接下來就可以安裝注音或是倉頡輸入法
不過我遇到了很神奇的事, 就是打出來的字都是簡體中文, 網路上找了很久才找到解法
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=202508
vi /usr/share/ibus-table/engine/table.py
search get_chinese_mode
search the followings
def get_chinese_mode (self): '''Use LC_CTYPE in your box to determine the _chinese_mode''' try: if os.environ.has_key('LC_CTYPE'): __lc = os.environ['LC_CTYPE'].split('.')[0].lower() else: __lc = os.environ['LANG'].split('.')[0].lower() if __lc.find('zh_') == 0: # this is a zh_XX __place =__lc.split('_')[1] if __place == 'cn': return 0 else: return 1 else: if self.db._is_chinese: # if IME declare as Chinese IME # 這行改成回傳 1 return 1 else: return -1 except: return -1
沒有留言:
張貼留言