I am using Archlinux.
For ergonomic reasons I am looking for a possibility to use xkb
to map holding the space bar to the CTRL modifier and pressing and releasing the space bar to insert a " ".
So typing SPC + x
would be cutting marked text.
But typing SPC
would insert the " " character.
Is it possible to do this with xkb
? Do I have to use some different tool?
xmodmap
can make the spacebar into aCtrl
key but then the spacebar would not work as a space character. Probably the best you can achieve is to have a combination (e.g.<spacebar> + M
should be ergonomic on a qwerty keyboard) to produce the space character. TheCtrl
function is quite special. – grochmal Aug 27 '16 at 15:53