In Ubuntu 20.04, how can I change the keyboard layout in the terminal, and without using superuser permissions?
Edit: I do not have a graphical interface, and therefore no access to e.g. setxkbmap.
In Ubuntu 20.04, how can I change the keyboard layout in the terminal, and without using superuser permissions?
Edit: I do not have a graphical interface, and therefore no access to e.g. setxkbmap.
The available layouts are listed in man xkeyboard-config. Choose one.
setxkbmap -layout "<chosen-layout>"
Don't forget the quotes if the layout contains parenthesis.
Impossible without having root access, unless the sysadmin agrees to let users execute loadkeys, as described in Loadkeys gives permission denied for normal user, in which case you could use
loadkeys < <(ckbcomp -layout '<chosen-layout>')