...by assuming that ~/.config/xkb does not already exist.
The best way to do this is with a symlink:
- $ mkdir -p ~/.config/xkb/symbols
- $ ln -s /usr/share/emacs-keys/xkb/symbols/emacs-keys \
- ~/.config/xkb/symbols/
-
-The name of the symlink and the "symbols" directory that contains it
-are important.
+ $ ln -s /usr/share/emacs-keys/xkb/ ~/.config/
Now, to use it, all you have to do is tell whatever program you're
using to use the "emacs-keys" xkb_layout. For example, the Sway window