pve-spiceterm/spiceterm-keymaps.patch

23 lines
862 B
Diff
Raw Permalink Normal View History

--- spiceterm/src/input.c.kvm 2019-05-23 19:19:12.000000000 +0300
+++ spiceterm/src/input.c 2021-01-18 13:28:27.636800007 +0300
@@ -732,7 +732,7 @@ parse_keymap(const char *language)
}
}
- char *filename = g_strdup_printf("/usr/share/kvm/keymaps/%s", language);
+ char *filename = g_strdup_printf("/usr/share/qemu/keymaps/%s", language);
FILE *f = fopen(filename, "r");
g_free(filename);
if (!f) {
--- spiceterm/src/spiceterm.pod.kvm 2019-05-23 19:19:12.000000000 +0300
+++ spiceterm/src/spiceterm.pod 2021-01-18 13:28:11.435759834 +0300
@@ -49,7 +49,7 @@ the C<SPICE_TICKET> environment variable
Due to SPICE protocol limitation, you need to specify the keyboard
layout used by the client. We currently use the keymap files from kvm
-(/usr/share/kvm/keymaps/).
+(/usr/share/qemu/keymaps/).
# spiceterm --keymap de