I have installed colemakwide(xkb) and would like to keep shortcut like ctrl+s etc. The goal is that all ctrl shortcut behave like QWERTY which I did in windows/klc by have the original vk for the keys. I used the following script to map ctrl+c:

"xdotool key --delay 0 --clearmodifiers ctrl+c" 
Release + m:0x4 + c:54

which works fine to copy/paste and to send sigint in the terminal.

But when I try to map two keys the script stops working of some reason.

"xdotool key --delay 0 --clearmodifiers ctrl+x"
Release + m:0x4 + c:53
"xdotool key --delay 0 --clearmodifiers ctrl+c"
Release + m:0x4 + c:54 

Any thoughts on how to fix that or how to map the ctrl behavior in xkb directly?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.