0

I am running Ubuntu on a Chromebook, and the media key's don't work because Ubuntu treats the keyboard as a regular, generic keyboard with 105 keys.

In MATE Desktop, there is a way to change the keyboard layout (i.e. keyboard model), and so is there in KDE.

enter image description here (MATE keyboard layout settings) enter image description here (KDE's keyboard layout settings)

How to do this in GNOME?

GNOME settings offer me the option to change the layout to that of another language, but not the keyboard model.

Archisman Panigrahi
  • 25,210
  • 17
  • 90
  • 185
  • I found [this](https://askubuntu.com/a/1248023/124466), but the options in GNOME tweaks are limited. It allows me to (say) map the ctrl key to another key, but not the full keyboard layout (Chromebooks have a very specific keyboard layout). – Archisman Panigrahi May 05 '23 at 23:17

1 Answers1

1

To change the keyboard model you can run this command:

sudo dpkg-reconfigure keyboard-configuration

Changes you make via that command will be written to the /etc/default/keyboard file. Note, though, that GNOME Settings also may write to that file, and if that happens, the keyboard model setting will be overwritten (since GNOME does not know about it), and you will need to run the above command again.

Gunnar Hjalmarsson
  • 32,938
  • 3
  • 63
  • 94