[SOLVED] en-us keymap broken on 5.1

Cameron L

Member
Apr 20, 2018
9
1
8
52
Using the noVNC console on 5.1, I found that the '|' character wouldn't show up when I pressed the key (using a standard (Lenovo US) keyboard. Trying all keys, the '<' and '>' characters also both showed '>'. These problems didn't exist on an older proxmox 4.x cluster.

I tracked this down to recent changes to /usr/share/kvm/keymaps/en-us

The following patch fixed this for me:

diff -u /tmp/en-us /usr/share/kvm/keymaps/en-us
--- /tmp/en-us 2018-05-01 11:16:21.176443031 -0400
+++ /usr/share/kvm/keymaps/en-us 2018-05-01 11:36:07.876147868 -0400
@@ -344,10 +344,10 @@
# evdev 85 (0x55): no evdev -> QKeyCode mapping (xkb keysym NoSymbol)

# evdev 86 (0x56), QKeyCode "less", number 0x56
-less 0x56
-greater 0x56 shift
-bar 0x56 altgr
-brokenbar 0x56 shift altgr
+#less 0x56
+#greater 0x56 shift
+#bar 0x56 altgr
+#brokenbar 0x56 shift altgr

# evdev 87 (0x57), QKeyCode "f11", number 0x57
F11 0x57
 
do you have set the keyboard for the vm or in datacenter -> options ?
if yes, please set both to 'default' since this setting is not really necessary anymore
 
Datacenter > Options > Keyboard layout is "English (USA) (en-us)". To the best of my knowledge, I did not explicitly set it thusly.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!