Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-14-2007, 10:38 PM   #1
LQ Newbie
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
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!

Tuan Phan
Old 05-15-2007, 04:07 AM   #2
Registered: Feb 2006
Posts: 40

Rep: Reputation: 15
Take a look in KDE or Gnome sources, they list all xkb names pretty well.

have a nice day, bye


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parsix Linux - Not able to set default keyboard layout Score Linux - Software 3 01-18-2007 02:13 AM
Switching keyboard layout - Mandriva2006 - K.D.E. Windows Layout! itz2000 Mandriva 3 08-13-2006 07:43 PM
IBM/Lenovo Thinkpad problem: SuSE Linux 10.1 - wrong keyboard layout arne123 Linux - Laptop and Netbook 7 07-07-2006 05:08 PM
KDE Keyboard Shortcuts with different Keyboard Layout hellblade Linux - Software 5 04-18-2006 01:40 AM
Keyboard layout Nylex Slackware 2 08-08-2003 11:25 AM

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration