[winswitch] XKB layout

Antoine Martin antoine at nagafix.co.uk
Wed Apr 7 08:16:50 BST 2021

On 07/04/2021 01:17, Vinícius dos Santos Oliveira wrote:
> Em ter., 6 de abr. de 2021 às 14:06, Antoine Martin
> <antoine at nagafix.co.uk> escreveu:
>> So the first problem is that the client isn't detecting the variant
>> properly. You should be able to override this faulty detection with:
>> --keyboard-variant=colemak
> Doing this alone won't fix the problem.
Yes. There are two problems.

>>> 2021-04-06 16:27:18,994 setxkbmap: trying to load rules file
>>> b'/usr/share/X11/xkb/rules/evdev'...
>>> 2021-04-06 16:27:18,995 Error: cannot find rules file 'evdev'
>> That's a different problem, which may impede xpra's ability to set the
>> correct keymap once the variant is correctly detected or specified.
>> The evdev rules file should exist at the path specified.
> Nor exposing this directory by itself will fix the problem neither.
> However doing both (forcing --keyboard-variant=colemak and invoking
> guix with --expose=/usr/share/X11/xkb/rules) does fix the problem.
So this isn't a standard installation at all, is it?

If you are intentionally hiding system directories then you should be
expecting problems and look there first.

>> Possibly. Can you please create a github issue here:
>> https://github.com/Xpra-org/xpra/issues/new/choose
> Do you still want a bug report given the above fixed it?
The keyboard layout and variant should be detected correctly.
You can run:
To see what comes out.
This may not work properly under wayland, which does not have an API for
querying those settings.


More information about the shifter-users mailing list