Is there a way to get "sticky" shift, so that I can (sequentially) type
- shift, 5 to get
% - shift, 3 to get
# - shift, r to get
R
There's shift lock in X11, but that doesn't cancel after producing a shifted character.
Is there a way to get "sticky" shift, so that I can (sequentially) type
% #RThere's shift lock in X11, but that doesn't cancel after producing a shifted character.
Your requirement forms part of the AccessX accessibility features that has been packaged for X11 into the xkbset command which you should be able to find in the package of the same name.
The usage is
xkbset sticky twokey After this, every time you press and release the Shift key, the following single typed character will be shifted. It applies similarly to the Control key. To cancel the action use
xkbset -sticky twokey
xmodmapto generate any sort of mapping you want.