DEBIAN-likes to detect the keyboard layout

Posted by blietaer on Super User See other posts from Super User or by blietaer
Published on 2010-06-07T13:05:08Z Indexed on 2010/06/07 13:13 UTC
Read the original article Hit count: 269

Filed under:
|
|

I would like to find out the current keyboard layout of a debian-like OS. env-var? /etc/? locales?

Context: __ Playing around with RFID reader in serial, using python to output to console through uinput/

The thing is, doing the conversion from fake-rfid-keyboard-codes to code sent to uinput/, I would better know if I am using a QWERTY or an AZERTY ('a' becoming 'q', etc...)

Back here in Belgium, especially during the event I am working on we are highly susceptible to have both keyboard layouts, I have to support both 'on-the-fly' __

Thanx !

© Super User or respective owner

Related posts about keyboard

Related posts about debian