View Single Post
Posts: 204 | Thanked: 754 times | Joined on Jan 2012 @ Finland
#192
Originally Posted by Älä hakkaa View Post
The current KBD-mapping then applies to both the slider-keyboard and the bluetooth keyboard at the same time.
Two options come to my mind.. you should be able to change it on the fly with setxkbmap. You can easily get the correct values for it by connecting the kb to something where it gets detected correctly, and doing setxkbmap -v -query. Remember to use -device so you get the values from right keyboard, if you have multiple connected. As an example, which might even work for you would be setxkbmap -model evdev -rules evdev -layout de -geometry pc -device $whatever.

Now, a proper way would probably be just simply setting the keyboard options for X itself. As an example, generate file 95-my_ext_kb.conf into /etc/X11/xorg.conf.d/, put something like this in it:

Code:
Section "InputClass"
        Identifier      "Ext keyboard"
        MatchProduct    "check with evtest or xinput"
        Option          "XkbModel" "evdev"
        Option          "XkbLayout" "us"
        Driver          "evdev"
EndSection
Can't promise either of these suggestions would fix the layout issue, especially taken literally, but you got the idea.
 

The Following 2 Users Say Thank You to Skry For This Useful Post: