I want to implement an addition key layer, so that I can access non-alphanumeric keys without having to move my wrists.
I've been using Autokey for this purpose, but the experience was unsatisfactory: it had occasional lags and let original keystrokes slip into certain apps.
So I need a low-level solution.
Best Answer
Give a combination of xbindkeys and xvkbd a try.
xbindkeys
listens for the keys and sends the translation to xvkbd.Open
.xbindkeysrc
in your favourite editor. I commented everything else out, but it's good to refer to if required.To check it out, I tried mapping Ctrl+; to Ctrl+V
I expect you're after something like this
Save the file, then run
xbindkeys
.In order to reload any configuration changes, I killed the
xbindkeys
process then restarted.xbindkeys syntax
I worked out the key combination by using a GUI for
xbindkeys
Once you run that, press Get Key for the combination to put into the second line of your
.xbindkeysrc
file.xvkbd syntax
From the manual:
Love to hear how it works out and if the combination was fit for your purpose. It looks good as a keymapper, but not necessarily a macro runner.