+
+Systemd can probably do this too, but you're on your own there.
+
+=== xkb ===
+
+The xkb layout needs to be installed where libxkbcommon will look for
+it. Rather than muck with system paths, we assume that you'll be
+configuring the keyboard for only one user (i.e. you). The per-user
+xkb configuration typically goes in $XDG_CONFIG_HOME/xkb, and the
+variable $XDG_CONFIG_HOME defaults to ~/.config in your home
+directory. Your ultimate goal is therefore to make the
+xkb/symbol/emacs-keys file available under ~/.config.
+
+The best way to do this is with a symlink:
+
+ $ 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
+manager can be configured with,
+
+ input type:keyboard {
+ xkb_layout "emacs-keys"
+ }
+
+Other programs are configured similarly.