I'm running Linux (Ubuntu 20.04
) with the XFCE4
window manager. I know some ways to remap the CAPSLOCK key to either be a no-op or to emulate a different key. However, I'm wondering if there is a way to map CAPSLOCK as a dead key?
In other words, I'd like to do things like the following ...
CAPSLOCK + a => á
CAPSLOCK + n => ñ
... etc. ...
I know about ~/.XCompose
, but I haven't been able to find any docs about how to map CAPSLOCK as a dead key, or even if that's possible.
Thank you in advance for any thoughts and suggestions.
PS: Note that the term "dead key" has a special meaning. It does not mean "a key that is mapped to do nothing" (and I even specified above that I already know how to make CAPSLOCK be a no-op, and that is not what I'm asking about here). What follows is a more complete definition of "dead key", as I am using the term here.