Hi Georg,
I've been also searching same as you since I wrote a simple applet for the
lxde panel
to handle keyboard layouts (www.giuspen.com/customs).
In the end I generated my own glib key-value files for layouts and
variants, models and toggle options
using python scripts taking information from the command "man -P cat
xkeyboard-config".
And I ended up using system calls to setxkbmap.
I also would be interested in direct calls to xkb lib but didn't find.
Cheers,
Giuseppe.



On Sun, Sep 2, 2012 at 4:52 AM, Georg Grabler <[email protected]> wrote:

> Hello List :).
>
> I've been trying and trying again in the xkb direction to implement
> anything proper. I always ended up parsing the XML files myself,
> setting layouts by external console commands since xkb seems not to
> provide any .. at least working dbus interface without external tools
> (and i know your stance about that part - I'm fine with that).
>
> I tried to find a documentation (something like doxygen) for xkb
> public interfaces. I had no luck, there was something like libxkbui,
> but the documentation link does not work on freedesktop. Looking
> closer, I think it wouldn't match my needs to read and set all
> available keyboard layout and model anyway, but still.
>
> Is there any public interface and documentation about it? Maybe I'm just
> blind.
>
> Kind regards,
> Georg
> _______________________________________________
> [email protected]: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: [email protected]
>
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to