mate-desktop / libmatekbd

Keyboard management library
https://mate-desktop.org
GNU Lesser General Public License v2.1
17 stars 11 forks source link

Command to show keyboard layout diagram similar to gkbd-keyboard-display #79

Open hickford opened 2 years ago

hickford commented 2 years ago

libgnomekbd has a command gkbd-keyboard-display (source https://github.com/GNOME/libgnomekbd/blob/master/libgnomekbd/gkbd-keyboard-display.c) (included in package https://packages.debian.org/stable/gkbd-capplet) to show a keyboard layout.

Is there any similar command in in libmatekbd?

gkbd-keyboard-display -l "gb(extd)"

image

$ gkbd-keyboard-display --help
Usage:
  gkbd-keyboard-display [OPTION…]

Help Options:
  -h, --help                                      Show help options
  --help-all                                      Show all help options
  --help-gtk                                      Show GTK Options

Application Options:
  -g, --group=group number (1, 2, 3, 4)           Group to display
  -l, --layout=layout (with optional variant)     Layout to display
  --display=DISPLAY                               X display to use