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?
xmodmapcan make the spacebar into aCtrlkey 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> + Mshould be ergonomic on a qwerty keyboard) to produce the space character. TheCtrlfunction is quite special. – grochmal Aug 27 '16 at 15:53