Currently this config option only allows for: us, uk, fr, de, es, fi, jp106, no, dk, dvorak
Personally I would like to see “se” (swedish) added to this list.
Once this is added this will also fix the error of “set console keymap” having no affect for keymaps in console (have to use ssh as workaround).
Using version VyOS 1.4-rolling-202306290317
There is a feature request T5336
@Apachez Which one is required?
On my regular Ubuntu desktop the output of cat /etc/default/keyboard is:
While “locale” outputs:
Doing at “sudo dpkg-reconfigure keyboard-installation” in my Ubuntu-installation the selected options are:
Keyboard model: Generic 105-key PC
Country of origin for the keyboard: Swedish
Keyboard layout: Swedish
Key to function as AltGr: The default for the keyboard layout
Compose key: No compose key
Use Control+Alt+Backspace to terminate the X server: No
Given the name of the kbd files they are a bit confusing.
It seems like it should have been named se-latin1 (Swedish Latin1) and it is in some distributions but for whatever reason is named sv-latin1 which actually means Slovakian Latin1. Backstory seems to be that sv related to “svenska” which means swedish in swedish.
This thread have some round up of this: 80508 – swedish keyboard option (se-latin1) missing
So to answer your question, I think sv-latin1 is the one we want to be used when selecting “system option keyboard-layout se”.
sv-latin1 doesn’t work
vyos@r14# sudo loadkeys sv-latin1
loadkeys: Unable to open file: sv-latin1: No such file or directory
Could you try loadkeys and check other layouts?
You mean on a regular ubuntu desktop or in the VyOS Im currently running?
Fixed in https://vyos.dev/T5336
set system option keyboard-layout se-latin1
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.