get Keyboard Layout on Linux?
I am new in Linux, I want to write a program to get current Keyboard Layout on my computer (such as GetKeyboardLayout or GetKeyboardLayoutName on Windows). I saved my time to search on the Internet but no found. Pls share me your experiences!
Take a look in KDE or Gnome sources, they list all xkb names pretty well.
have a nice day, bye
|All times are GMT -5. The time now is 02:04 AM.|