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"

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.

  • I wish there was a tool on X (or Wayland... however this does keyboard input, it's apparently "different") like WinCompose's "Show sequences". I mean... X has that info. Why is it not accessible? – Jürgen A. Erhard Apr 16 '17 at 6:26

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.