`

Ibus左右shift互换

阅读更多
一直用ibus、但它默认用左shift换中英文,今天终于找到全修改的方法,强:
http://yoursaf.blog.163.com/blog/static/5542652720128265352411/

cd /usr/share/ibus-table/engine/
sudo vim table.py
搜索 “Match mode switch hotkey”
# Match mode switch hotkey
if not self._editor._t_chars and ( self._match_hotkey (key, keysyms.Shift_L, modifier.SHIFT_MASK + modifier.RELEASE_MASK)):
把 Shift_L 改为 Shift_R
搜索 “because we ignore all Release event below”
# because we ignore all Release event below.
if self._match_hotkey (key, keysyms.Shift_R, modifier.SHIFT_MASK + modifier.RELEASE_MASK) and self._ime_py:
把 Shift_R 改为 Shift_L
保存。
重启ibus输入法
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics