How to switch hardware keyboard language?

Ed Bartosh bartosh at gmail.com
Sun Dec 27 22:57:35 EET 2009


2009/12/27 Arkadiy Glazov <uglobster at gmail.com>:
> Hi,
>
> Look the head of file /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 and see some answers :)
I can't see any answers there, only new questions :(

> Also I wrote package xkblayouts-rx51-ru that set russian phonetic hardware layout. You can look Perl script /usr/bin/xkbcustom after install. I use setxkbmap for determinate and switch keyboard layout

As I understood from your code(I'm not good at Perl though) you're
just reloading xkb map using setxkbmap utility.
What I'm looking for is how to get the current language and how to
switch between them. I've looked into setxkbmap sources and tried to
use it. It didn't work for me, as I explained in my first email.

Answering two simple questions would help a lot:
1. How to determine which language is active at the moment?
2. How to switch between them?
This is pretty much all I want to know :)

-- 
BR,
Ed


More information about the maemo-developers mailing list