自己解决了:tester 写了:谁知道能不能把ibus的中英文切换 从左shift改成右shift的办法吗?
gedit /usr/share/ibus-table/engine/table.py
查找:
# 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.
if self._match_hotkey (key, keysyms.Shift_R, modifier.SHIFT_MASK + modifier.RELEASE_MASK) and self._ime_py:
把Shift_R改为Shift_L
重启iBus。
成功!