[oi-dev] x11 keyboard layouts
Alan Coopersmith
alan.coopersmith at oracle.com
Wed Apr 26 16:08:44 UTC 2017
On 04/26/17 06:10 AM, Alexander Pyhalov wrote:
> Hello.
>
> I'm a bit confused.
> I'm trying to get keyboard layout from xscreensaver-lock and see unexpected
> results.
>
> I have a function which returns current layout (see below), which works fine
> when compiled standalone. But when I compile it as part of xscreensaver-lock , I
> suddenly find out that it sees two XKB groups
> 'English (US)' instead of 'English (US)' and 'Russian'.
> So I see that we use group number 0 or 1, but their names are masked.
>
> Do you have any suggestions where xscreensaver-lock can manage to do it? :)
Sorry - I never learned how multiple keyboard layout groups work in XKB.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the oi-dev
mailing list