Is there some way to inspect the state of X to get exactly and only a list of compose key shortcuts and what they map to, either as literal keys, for example:
aa å
88 ∞
or as glyph names, for example:
aa Latin Small Letter A with ring above
88 Infinity
or, ideally, a combination.
I'm not using GNOME.
After reading the links in the accepted answer I ended up with the following command:
less "/usr/share/X11/locale/$(grep --max-count=1 "${LANG%.*}.UTF-8\$" /usr/share/X11/locale/locale.dir | cut --delimiter=/ --fields 1)/Compose"
Best Answer
Not exactly. If you are talking about X alone, you can look at the compose tables. However, some people want to know this about GNOME without making a distinction.
X
compose tables, but has diverged (as well as providing some new codes). According to the documentation, that information is built into the program.X
, as mentioned, that information is in the Compose tables as discussed in Where can I find the full list of Compose combinations for my locale? and FULL LIST of Entering Special Characters with Compose Key?.