keyboard: Spawn "tecla" to show keyboard map

This is a modern replacement for gkbd-keyboard-display, stuck in gtk3
and X11 (libxklavier).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2834>
This commit is contained in:
Carlos Garnacho 2023-07-03 11:44:17 +02:00
parent 3a086c43ae
commit 04aaa4b67b

View File

@ -1099,6 +1099,6 @@ class InputSourceIndicator extends PanelMenu.Button {
if (xkbVariant.length > 0)
description = `${description}\t${xkbVariant}`;
Util.spawn(['gkbd-keyboard-display', '-l', description]);
Util.spawn(['tecla', description]);
}
});