We have a plexgear 94759 mini keyboard, but I have never gotten the layout right. It just works as a US/UK keyboard, despite me having chosen “Swedish qwerty” as layout. This has worked anyhow as most search engines will accept a instead of åä, or o instead of ö, but I would still like to fix it. How do I proceed. I have chosen Swedish in OSMC and location Finland.
Second question: The keyboard has dedicated multimedia buttons for volume/mute/search etc. How do I figure out the kodes to be able to activate those in keymap.xml?
I guess those commands can be entered from an SSH shell as well? Edit: Ah, scratch that. Typed before I read your link But the second command gives a list of scary choices:
Policy for handling keymaps: x
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x xSelect keymap from arch list x x
x xDon’t touch keymap x x
x xKeep kernel keymap x x
x xSelect keymap from full list x x
x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
x < OK >
Edit : sudo loadkeys de-latin1 gives a German layout, right? sudo loadkeys sv-latin1
does not work (file not found)
Trying: sudo loadkeys se-latin1… works perfectly! Silly me, tried sv- and sw-, but not se-
Now, to the next question. The multimedia keys on the keyboard do not create any keyboard event in the log. I was going to try to get the scancodes by esacping to the commandline on the Vero, but that is unfortunately a nono, because of the resolution problems on Vero, so I plugged that same kb into the PC and found that mute/volup/voldn generate “windows” dodes 173, 174, 175, but no BIOS codes. How do I get OSMC to recognise them?
Keys without a scancode are not recognized by the kernel; these can include additional keys from “gaming” keyboards, etc.