SliTaz SliTaz Forum

You are not logged in.

#1 2012-08-29 14:57:47

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

slitaz rolling: how to set up keymap

Hi,

I am testing latest rolling (2012-Aug-26 18:19:40 build) on my laptop. Boot live CD.

I have a "qwerz" CH-latin1 keyboard. When setting key mapping using Slitaz tool (in french): Application-préférence-mappage clavier, it generates the correct output in file /etc/keymap.conf:

[c]tux@slitaz:~$ cat /etc/keymap.conf
fr_CH-latin1
tux@slitaz:~$[/c]
But this is not sufficient. If you log out and log in, the keymap is still the default one "us".

I had to edit the /etc/X11/xorg.conf.d/40-Keyboard.conf to get the correct key mapping:

[c]tux@slitaz:~$ cat /etc/X11/xorg.conf.d/40-Keyboard.conf
Section "InputClass"
        Identifier "Keyboard Defaults"
        MatchIsKeyboard "yes"
        Option "XkbLayout" "ch"
        Option "XkbOptions" "latin1"
Endsection
tux@slitaz:~$[/c]
This time, after loging out and loging in, the key mapping is correct.

Cheers.

Offline

#2 2012-08-29 21:38:48

BugRaiser
Member
Registered: 2012-06-19
Posts: 39

Re: slitaz rolling: how to set up keymap

Thanks, totoetsasoeur. smile

I, too, was looking for ways to persist my keyboard layout, but I didn't manage to do it, until now. I tried adding a command to local.sh script, but that didn't work.

But updating 40-Keyboard.conf did it, so thank you again for sharing this.

Offline

#3 2012-08-30 05:49:32

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: slitaz rolling: how to set up keymap

You're welcome. Let's hope one dev guy will correct this.

I will share this on the mailing list, just to make sure it is not forgotten.

Happy slitaz. :-)

Offline

#4 2012-08-30 21:00:39

0liver
Member
Registered: 2012-08-30
Posts: 1

Re: slitaz rolling: how to set up keymap

Merci beaucoup, totoetsasoeur, for the solution you posted! If it wasn't for your help I probably would have dumped SliTaz - but now I have a working Polish keyboard! Just exchanged "ch" for "pl" in the 40-Keyboard.conf and it worked!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]