Re: How to switch hardware keyboard language?

2009-12-27 Thread Ed Bartosh
2009/12/27 Arkadiy Glazov : > 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 /

Re: How to switch hardware keyboard language?

2009-12-27 Thread Arkadiy Glazov
Hi, Look the head of file /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 and see some answers :) 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

How to switch hardware keyboard language?

2009-12-27 Thread Ed Bartosh
Hi, Does anybody know how to get current hw keyboard language and how to switch between them programmatically? Here is what I did so far: 1. I could get list of configured layouts by reading gconf variables /apps/osso/inputmethod/int_kb_layout and /apps/osso/inputmethod/ext_kb_layout 2. setxkbmap