LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   get Keyboard Layout on Linux? (http://www.linuxquestions.org/questions/linux-software-2/get-keyboard-layout-on-linux-553933/)

tuanphan 05-14-2007 09:38 PM

get Keyboard Layout on Linux?
 
Hi all,

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!

Thanks,
Tuan Phan

me-macias 05-15-2007 03:07 AM

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 09:05 AM.