Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change keyboard layout boot2docker tinycore

How can I change the keyboard layout of my boot2docker distribution (based on tinycore)?

/usr/share/kmap only contains the us.kmap

I found some solutions how to get kmaps.tcz but only with an X server and not just with the command line.

like image 294
Adrian Krebs Avatar asked Jul 09 '15 20:07

Adrian Krebs


3 Answers

You can change it from command line:

su docker
tce-load -wi kmaps
sudo loadkmap < /usr/share/kmap/azerty/fr-latin9.kmap

Note: you need to do it from "docker" user since root is not able to perform tce-load

like image 159
Tim Avatar answered Oct 13 '22 22:10

Tim


for german sudo loadkmap < /usr/share/qwertz/de-latin1.kmap worked for me

sudo loadkmap < /usr/share/kmap/qwertz/de-latin1.kmap

worked for me

like image 37
BasTi Avatar answered Oct 13 '22 22:10

BasTi


French keyboard:

su docker tce-load -wi kmaps sudo loadkmap < /usr/share/kmap/azerty/fr-latin9.kmap

Spanish keyboard:

su docker tce-load -wi kmaps sudo loadkmap < /usr/share/kmap/qwerty/es.kmap

German keyboard:

su docker tce-load -wi kmaps sudo loadkmap < /usr/share/kmap/qwertz/de-latin1.kmap

like image 3
FranzHuber23 Avatar answered Oct 13 '22 22:10

FranzHuber23