[terminal] Changing Keyboard Layout?
Hello
I can successfully boot up BitDefender in French on a laptop from a USB key, but when I launch Terminal, the layout is for the US keyboard, and "loadkeys fr" just outputs an error (""Unknown keysim 'trademark'").
Does someone know how to change the keyboard layout in the command-line?
Thank you.
Comments
-
Hello,
In order to change the keyboard layout from "us" to "fr" please enter in terminal:
$ sudo setxkbmap fr
Thank you0 -
In order to change the keyboard layout from "us" to "fr" please enter in terminal: $ sudo setxkbmap fr
Thanks but no go : "Cannot open display "default display"".0 -
Thanks but no go : "Cannot open display "default display"".
Several hours of googling... only to find out that setxkbmap cannot be run as root. Running setxkbmap as non-root does change the keyboard layout as expected. I guess it wasn't possible to write an error message that actually pointed the user in the right direction
"loadkeys", on the other hand, must be run as root., or you'll get the even more useless error message "Couldn't get a file descriptor referring to the console". This is fun.0