keyboard: Spawn "tecla" to show keyboard map
This is a modern replacement for gkbd-keyboard-display, stuck in gtk3 and X11 (libxklavier).
This commit is contained in:
parent
e5ec9c0c51
commit
4e340b7602
1 changed files with 2 additions and 2 deletions
|
@ -239,10 +239,10 @@ row_layout_cb (CcInputListBox *self,
|
|||
layout_variant = cc_input_source_get_layout_variant (source);
|
||||
|
||||
if (layout_variant && layout_variant[0])
|
||||
commandline = g_strdup_printf ("gkbd-keyboard-display -l \"%s\t%s\"",
|
||||
commandline = g_strdup_printf ("tecla \"%s+%s\"",
|
||||
layout, layout_variant);
|
||||
else
|
||||
commandline = g_strdup_printf ("gkbd-keyboard-display -l %s",
|
||||
commandline = g_strdup_printf ("tecla %s",
|
||||
layout);
|
||||
|
||||
g_spawn_command_line_async (commandline, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue