test@test-Standard-PC-i440FX-PIIX-1996:~$ sudo kbd_mode
The keyboard is in raw (scancode) mode
test@test-Standard-PC-i440FX-PIIX-1996:~$ sudo apt install -qq console-setup-linux console-setup keyboard-configuration
The following packages were automatically installed and are no longer required:
linux-headers-4.18.0-11 linux-headers-4.18.0-11-generic linux-image-4.18.0-11-generic linux-modules-4.18.0-11-generic linux-modules-extra-4.18.0-11-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
console-setup console-setup-linux keyboard-configuration
3 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
Need to get 1.456 kB of archives.
After this operation, 1.024 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 237847 files and directories currently installed.)
Preparing to unpack .../console-setup-linux_1.178ubuntu9.2_all.deb ...
Unpacking console-setup-linux (1.178ubuntu9.2) over (1.178ubuntu9.1) ...
Preparing to unpack .../console-setup_1.178ubuntu9.2_all.deb ...
Unpacking console-setup (1.178ubuntu9.2) over (1.178ubuntu9.1) ...
Preparing to unpack .../keyboard-configuration_1.178ubuntu9.2_all.deb ...
Unpacking keyboard-configuration (1.178ubuntu9.2) over (1.178ubuntu9.1) ...
Setting up keyboard-configuration (1.178ubuntu9.2) ...
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Processing triggers for systemd (239-7ubuntu10.13) ...
Processing triggers for man-db (2.8.4-2) ...
Setting up console-setup-linux (1.178ubuntu9.2) ...
Setting up console-setup (1.178ubuntu9.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.131ubuntu15.1) ...
update-initramfs: Generating /boot/initrd.img-4.18.0-18-generic
test@test-Standard-PC-i440FX-PIIX-1996:~$ sudo kbd_mode
The keyboard is in raw (scancode) mode
Verified 1.178ubuntu9.2 on Cosmic:
test@test- Standard- PC-i440FX- PIIX-1996: ~$ sudo kbd_mode Standard- PC-i440FX- PIIX-1996: ~$ sudo apt install -qq console-setup-linux console-setup keyboard- configuration headers- 4.18.0- 11 linux-headers- 4.18.0- 11-generic linux-image- 4.18.0- 11-generic linux-modules- 4.18.0- 11-generic linux-modules- extra-4. 18.0-11- generic configuration setup-linux_ 1.178ubuntu9. 2_all.deb ... setup_1. 178ubuntu9. 2_all.deb ... configuration_ 1.178ubuntu9. 2_all.deb ... configuration (1.178ubuntu9.2) over (1.178ubuntu9.1) ... configuration (1.178ubuntu9.2) ... img-4.18. 0-18-generic Standard- PC-i440FX- PIIX-1996: ~$ sudo kbd_mode
The keyboard is in raw (scancode) mode
test@test-
The following packages were automatically installed and are no longer required:
linux-
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
console-setup console-setup-linux keyboard-
3 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
Need to get 1.456 kB of archives.
After this operation, 1.024 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 237847 files and directories currently installed.)
Preparing to unpack .../console-
Unpacking console-setup-linux (1.178ubuntu9.2) over (1.178ubuntu9.1) ...
Preparing to unpack .../console-
Unpacking console-setup (1.178ubuntu9.2) over (1.178ubuntu9.1) ...
Preparing to unpack .../keyboard-
Unpacking keyboard-
Setting up keyboard-
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Processing triggers for systemd (239-7ubuntu10.13) ...
Processing triggers for man-db (2.8.4-2) ...
Setting up console-setup-linux (1.178ubuntu9.2) ...
Setting up console-setup (1.178ubuntu9.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.131ubuntu15.1) ...
update-initramfs: Generating /boot/initrd.
test@test-
The keyboard is in raw (scancode) mode