page_list

Jan 26, 2018

load wrong key layout

When I replug in Ergodox to PC, it shows always "de" layout.

setxkbmap -query

% setxkbmap -query
rules:      evdev
model:      pc105

work-around is call setxkbmap -layout use. That's a bit annoying.

The right solution is giving the right one via udev. https://askubuntu.com/questions/337411/how-to-permanently-assign-a-different-keyboard-layout-to-a-usb-keyboard

ACTION=="add", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6028", ENV{XKBMODEL}="pc104", ENV{XKBLAYOUT}="us", ENV{XKBOPTIONS}="compose:ralt"