GNOME Bugzilla – Bug 165802
display keystrokes to enter the char if available
Last modified: 2021-06-02 09:10:14 UTC
Please display the necessary keys one needs to press to get a glyph/character. e.g. my locale is de_DE.UTF-8 and I have a german keyboard selected, Win-R is my compose key: - when I am at €, gucharmap should display "Alt Gr + e (ISO_Level_3_Shift + e)" - when I am at ©, it should display "right Win + c + o (Compose + c + o)"
I don't know of a way to do that, do you?
The command "setxkbmap -print" tells what keyboard layout is in use and also tells about the modifier keys in use. The keyboard layouts themselfes are in file:///etc/X11/xkb/symbols/ (using Xorg 6.8.2, Madrake Cooker). The compose layout depends on the locale, running "locale" should tell what locale is in use. The allocation is defined in /usr/X11R6/lib/X11/locale/compose.dir and the layouts are in the directories below. E.g. for my locale de_DE-UTF-8 the file file:///usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose is beeing used.
Do you propose to have gucharmap parse those files?
Well, I do not have enough knowledge of X or Gnome to propose anything. I do not know if there is a better way to get the information. The above is just how I get the information manually.
reopening as requested information has been provided. noah, if there isn't any way to parse the information, feel free to close this bug as WONTFIX.
Re-assign to default owner and QA.
*** Bug 331819 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gucharmap/-/issues/139.