1611 shaares
17 private links
17 private links
3 results
tagged
keybindings
I've got it. There is a utility called xbkeys for setting accessibiltiy options for xorg.
From xbkey manual:
To switch sticky keys on or off, and optionally set or reset:
() two keys pressed at the same time stops sticky keys;
() a modifier pressed twice will be locked:
[-]{sticky|st} [[-]twokey|[-]latchlock]...
I ran this:
$ xkbset sticky -twokey -latchlock
That command can go in .xinitrc
# turn on stickykeys. don't let two keys pressed at the same time disable it.
# don't turn on "latch lock", ie pressing a modifier key twice "locks" it on.
xkbset accessx sticky -twokey -latchlock
# don't expire these settings. (run xkbset q exp for details.)
xkbset exp 1 =accessx =sticky =twokey =latchlock
This mode teaches you to use the proper Emacs movement keys in a
rather harsh manner.
No-easy-keys disables arrow, end, home and delete keys, as well as
their control and meta prefixes. When using any of these keys, you
instead get a message informing you of the proper Emacs shortcut
you should use instead (e.g. pressing down informs you to use C-n).