15

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"
l0b0
  • 50,672
  • 41
  • 197
  • 360

1 Answers1

11

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.

Thomas Dickey
  • 75,040
  • 9
  • 171
  • 268
  • 3
    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 06:26