From ArchWiki

"Keyboard Layout Handler" versus setxkbmap and xmodmap

Just to make a note of something I have been struggling with for quite some time: I was unable to get any setxkbmap command to work. Neither in the autostart, nor manually in a terminal window. Neither could I use xmodmap to do my tweak via xinitrc before I started lxde (that works for me with e.g. a barebones openbox, however), while it was possible to use xmodmap manually once LXDE was up and running.

Turns out that the Keyboard Layout Handler in the panel overrides at least the setxkbmap command with its own set of "-option"s. So if you use that: don't try the autostart way described here, but use the GUI option. Persilja (talk) 18:11, 22 August 2013 (UTC)Reply[reply]