Re: Managing keyboard variants



Yesterday, I wrote this:

> The Udaltsov's programm *gnome-keyboard-properties* allows us to
> configure keyboard layouts and variants at the level of the desktop
> environment, and also switching among them. That I'm now trying is to
> do almost the same but at the level of the application. I need a
> programm that allows me to pre-select an especific keyboard layout and
> variant (among those defined in X Window System) for each language,
> and could activate/switch the keyboard variant when a new language
> come
> to be selected.
>
> For example, in my computer (Debian GNU/Linux) up to 25 keyboard
> variants are installed for (ger) German (according to my keyboard
> model...):
>
> [ger] [German]
>
>   [be] [Belgium]
>   [de] [Germany]
>   [ch] [Switzerland]
>   [altgr-intl] [USA International (AltGr dead keys)]
>   [oss] [Belgium Alternative]
>   [oss_latin9] [Belgium Alternative, latin-9 only]
>   [oss_sundeadkeys] [Belgium Alternative, Sun dead keys]
>   [iso-alternate] [Belgium ISO Alternate]
>   [nodeadkeys] [Belgium Eliminate dead keys]
>   [sundeadkeys] [Belgium Sun dead keys]
>   [wang] [Belgium Wang model 724 azerty]
>   [deadacute] [Germany Dead acute]
>   [deadgraveacute] [Germany Dead grave acute]
>   [nodeadkeys] [Germany Eliminate dead keys]
>   [ro] [Germany Romanian keyboard with German letters]
>   [ro_nodeadkeys] [Germany Romanian keyboard with German letters,
> eliminate dead keys]
>   [dvorak] [Germany Dvorak]
>   [sundeadkeys] [Germany Sun dead keys]
>   [neo] [Germany Neo 2]
>   [mac] [Germany Macintosh]
>   [mac_nodeadkeys] [Germany Macintosh, eliminate dead keys]
>   [qwerty] [Germany qwerty]
>   [de_nodeadkeys] [Switzerland German, eliminate dead keys]
>   [de_sundeadkeys] [Switzerland German, Sun dead keys]
>   [de_mac] [Switzerland German (Macintosh)]
>
> At this point, I wonder if it's a good solution to use the also
> Udaltsov's library LibXklavier, but if so, the question is that I
> don't know at all how integrate safely and correctly this library in a
> GTKmm programm, while most functions work with values like Display *
> display, XklEngine * engine, and so on...
>
> Could you help me ?
>
> A C++ / GTKmm code example which demostrates the LibXklavier usage
> could be enough...

One of most questions I have related of this subject is,

* Are the same the value of xkl_engine_get_instance (Display *
display) [of LibXklavier] than the value pointed of
Gtk::Main::instance() ...?

Anybody knows it ?

S.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]