DEBIAN-likes to detect the keyboard layout
- by blietaer
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 !