You are not logged in.

#1 2013-02-26 13:32:07

MisterChoc
Member
Registered: 2013-02-17
Posts: 74

Keyboard issue (thinkpad)...

Hey guys, I have a thinkpad T420 and the keyboard is kinda strange. With the be keyboard I miss some keys but it's in azerty... Us keymap is nice except it's in qwerty... So here's y attempt to switch to azerty using us keymap

/etc/X11/xorg.conf/10-evdev.cong

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
	Option "XkbLayout" "us"
	Option "XkbModel" "thinkpad"
	Option "XkbVariant" "azerty"
EndSection

Any idea about this? I'm still in qwerty with this

Offline

#2 2013-02-26 17:46:49

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Keyboard issue (thinkpad)...

I don't think you can use a us kbdlayout if you want azerty. I have this for a azerty (French) keyboard:

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option      "XkbLayout" "fr"
        Option      "XkbModel"  "pc105"
        Option      "XkbVariant" "oss"
        Option      "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

They are also other azerty variants (be for Belgium, for example); see in /usr/share/X11/xkb/symbols. If you are mostly happens with one of the predefined keyboard but want a small change, use xmodmap.

Offline

#3 2013-02-26 18:05:21

s1ln7m4s7r
Member
Registered: 2013-02-22
Posts: 262

Re: Keyboard issue (thinkpad)...

No need to edit evdev.

First you need know what type of keyboard it is, BE, FR, etc. Then you search in /usr/share/kdb/keymaps/i386/azerty/ for your keymap.

then do:

loadkeys name_of_keymap

Test it to see if it works well under the shell, if it does then do

echo KEYMAP=name_of_keymap > /etc/vconsole.conf

Offline

#4 2013-02-26 18:13:23

s1ln7m4s7r
Member
Registered: 2013-02-22
Posts: 262

Re: Keyboard issue (thinkpad)...

It may be needed to change some configurations from your WM or DE

Offline

#5 2013-02-26 20:42:31

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Keyboard issue (thinkpad)...

s1ln7m4s7r wrote:

No need to edit evdev.

First you need know what type of keyboard it is, BE, FR, etc. Then you search in /usr/share/kdb/keymaps/i386/azerty/ for your keymap.

then do:

loadkeys name_of_keymap

Test it to see if it works well under the shell, if it does then do

echo KEYMAP=name_of_keymap > /etc/vconsole.conf

That's only for the console, it won't have any effect under X.

Offline

#6 2013-02-28 14:15:06

MisterChoc
Member
Registered: 2013-02-17
Posts: 74

Re: Keyboard issue (thinkpad)...

Yes and also I don't know what's the kaymap.. Not us, not be, not fr... Seems spacial for the thinkpad. Actualy what I need is a US with azerty

Last edited by MisterChoc (2013-02-28 14:41:57)

Offline

#7 2013-02-28 14:48:55

s1ln7m4s7r
Member
Registered: 2013-02-22
Posts: 262

Re: Keyboard issue (thinkpad)...

my bad about that, actually your right, as i use gnome and set the keyboard on control-center.

but i don`t think that there is an US AZERTY keyboard.

have you seen this?

http://en.m.wikipedia.org/wiki/AZERTY

and for what i`ve read about thinkpad there are some versions using FR keyboards (AZERTY)

Last edited by s1ln7m4s7r (2013-02-28 14:50:28)

Offline

Board footer

Powered by FluxBB