[winswitch] XKB layout

Antoine Martin antoine at nagafix.co.uk
Tue Apr 6 18:06:48 BST 2021


> 2021-04-06 16:27:18,991 set_keymap(False) layout=us, variant=,
The variant is missing here.

> 2021-04-06 16:27:18,994 setxkbmap: using {'rules': 'evdev', 'model':
> 'pc105', 'layout': 'us', 'variant': 'NULL', 'options':
> 'caps:capslock'}
And here.

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

> 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.

> It seems to be ignoring XKB_DEFAULT_VARIANT=colemak. It's only getting
> the XKB_DEFAULT_LAYOUT=us.
> 
> colemak is a variant from the /usr/share/X11/xkb/symbols/us layout
> (totally different tho). Did I hit a bug then?
Possibly. Can you please create a github issue here:
https://github.com/Xpra-org/xpra/issues/new/choose
with more details as per:
https://github.com/Xpra-org/xpra/wiki/Reporting-Bugs
So that I can try to reproduce the problem on my test systems.

Cheers,
Antoine



More information about the shifter-users mailing list