I have this keyboard: http://trust.com/products/product.aspx?artnr=17603 and i cant configure it with Raspbian. I run rasp-config and went to configure_keyboard, selected a generic 105-key keyboard and set the language to Portuguese (my language) and it is all messy! Help is appreciated


1 Answer 1


Check your /etc/default/keyboard for your layout.

cat /etc/default/keyboard | grep LAYOUT

If it's anything other than your language code, let's change it. We'll have to do that as root, so:

sudo nano /etc/default/keyboard

and change the value to what you need it to be. I use dvorak, so if I were on Debian mine would look like:


Yours will just be your language code, though. Just to make sure, also, it'd probably be good measure to check your locale. Can you also check the result of:

env | grep LANG
  • This is half an answer. Good info, but how do I make it a regular US Keyboard, whether 104-key or the tiny one? They are both wired.
    – SDsolar
    Aug 3, 2017 at 20:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.