0

我想将 Right Control 重新绑定到 BackSpace(或“管道/反斜杠”)。我更愿意用 emacs lisp 来做这件事,但我对其他解决方案持开放态度。(我尝试使用 xmodmap 执行此操作,但没有成功)

4

1 回答 1

0

Here's an xmodmap solution. Put this in ~/.Xmodmap:

keycode 105 = BackSpace NoSymbol BackSpace

Use this to update instantly:

xmodmap ~/.Xmodmap

If you want pipe/backslash instead, just put:

keycode 105 = backslash bar backslash bar

The keycode is the same one.

Finally, the last way to interpret your question:

keycode 94 = Control_R NoSymbol Control_R
add Control = Control_R

This one puts Control_R where backslash/pipe used to be.

于 2013-10-04T17:55:26.273 回答