Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Graphical Environments & Desktops • Re: Seeking to remap keys in a way similar to AHK

$
0
0
Fantastic! Simple as simple can be...

Code:

nano ~/.xsessionrc
[~/.xsessionrc] <<

Code:

xmodmap -e "clear Lock"xmodmap -e "keycode 66 = Super_L"xmodmap -e "keycode 49 = Escape"
so now my capsLock is Winkey, and my back-tick key (or 'grave') is Escape.

Obviously, I no longer have a Capslock or a back-tick.

So the next thing Id like to figure out is how to make 'L_alt + capsLock' return 'capsLock' and 'L_alt + back-tick' return 'back-tick'.

I'm a bit sketchy about key/modifier combinations at the moment, but will have to look deeper.

Statistics: Posted by audiobabble — 2024-12-05 12:53



Viewing all articles
Browse latest Browse all 2901

Trending Articles