https://wiki.archlinux.org/index.php/Linux_console/Keyboard_configuration (any yes, I know archlinux is not ubuntu!) says: ------------------------------------------ A persistent keymap can be set in /etc/vconsole.conf, which is read by systemd on start-up. The KEYMAP variable is used for specifying the keymap. If the variable is empty or not set, the us keymap is used as default value. See vconsole.conf(5) for all options. For example:
/etc/vconsole.conf KEYMAP=uk ... For convenience, localectl may be used to set console keymap. It will change the KEYMAP variable in /etc/vconsole.conf and also set the keymap for current session: $ localectl set-keymap --no-convert keymap ------------------------------------------ and the Ubuntu manpage for localectl basically agrees with tht. So I ran 'sudo localectl set-keymap --no-convert gb' and /etc/vconsole.conf was (a) created, and (b) populated with KEYMAP=gb This had no effect whatsoever on a shutdown and fresh reboot. The kbmap continues to be set as the unwanted default "us". -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1898338 Title: keyboard layout unstable after LTS upgrade to 20.04 Status in linux package in Ubuntu: Confirmed Bug description: After the upgrade the keyboard, set as 'English (UK)' appeared to be using a US layout, with double-quote(") and 'at' sign(@) transposed, and key left of 'z' giving "<"/">" instead of "\"/"|" - and pound sign (GBP: £) not (yet) found. Corrected by adding Estonian layout, then selecting English (UK) (now correct in Preview), then deleting Estonian layout. The layout reverted after some sudo operations, and was corrected in the same manner. After bootup today, the keyboard was again showing the same problems. The same fix was again effective (though I don't suppose Estonian has anything much to do with it!). This behaviour is dangerous in the shell, when a pipe sign is replaced by a redirection sign. --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.9 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: mbm 1431 F.... pulseaudio CasperMD5CheckResult: skip CurrentDesktop: X-Cinnamon DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2017-03-09 (1303 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) MachineType: Dell Inc. Inspiron 5767 Package: linux (not installed) ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=beba05d5-5ee1-4288-a1c2-c425658b569f ro quiet splash pcie_aspm=off vt.handoff=7 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 RelatedPackageVersions: linux-restricted-modules-5.4.0-48-generic N/A linux-backports-modules-5.4.0-48-generic N/A linux-firmware 1.187.3 Tags: focal Uname: Linux 5.4.0-48-generic x86_64 UpgradeStatus: Upgraded to focal on 2020-09-30 (2 days ago) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 11/30/2016 dmi.bios.vendor: Dell Inc. dmi.bios.version: 1.0.9 dmi.board.name: 0PH0G6 dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 10 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr1.0.9:bd11/30/2016:svnDellInc.:pnInspiron5767:pvr:rvnDellInc.:rn0PH0G6:rvrA00:cvnDellInc.:ct10:cvr: dmi.product.family: Inspiron dmi.product.name: Inspiron 5767 dmi.product.sku: 077E dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1898338/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp