Cubietruck with Lubuntu: adjust keyboardcover image

Cubietruck with Lubuntu: adjust keyboard

Tim Bernhard

Cubietruck

After putting on Lubuntu on the Cubietruck you notice that you were never asked for the keyboard layout. Since it is tedious to always find the right keys, it is clear that you want to change the keyboard layout. But how?

The Cubie should be connected to the internet for the next steps. First start the terminal/console.

Look for possible language packs with the following commands:

$ apt-cache search xfonts-intl $ apt-cache search language-pack

If you see a package you want to install, you can use $ sudo apt-get install xfonts-intl-european Install $ sudo apt-get install language-pack-de language-pack-gnome-de, where de has to be replaced by the language you use (e.g. en for English).

After installing the language packs, you can customize the keyboard layout in two different ways.

Adjust the keyboard layout for the current session

If you only want to change the keyboard layout for the current session, use $ setxkbmap -layout ch where ch is the country code. Replace it e.g. B. by de for Germany.

Customize the default keyboard layout

To change the default keyboard layout, use the following commands: $ sudo nano /etc/default/keyboard to edit the /etc/default/keyboard file. Change XKBLAYOUT =" us " to e.g. B. XKBLAYOUT =" ch " where ch is the country code. Now all you have to do is restart your Cubietruck with sudo reboot and you are ready to use the keyboard layout you want.

Webmentions

No webmentions found for this page.