[winswitch] XKB layout

Antoine Martin antoine at nagafix.co.uk
Wed Apr 7 13:18:43 BST 2021


On 07/04/2021 17:09, Vinícius dos Santos Oliveira wrote:
> Em qua., 7 de abr. de 2021 às 04:16, Antoine Martin
> <antoine at nagafix.co.uk> escreveu:
>>> 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?
> 
> guix installs stuff into /gnu/store.
> 
>> If you are intentionally hiding system directories then you should be
>> expecting problems and look there first.
> 
> X11 files are there in the guest, but under a different directory
> (/gnu/store). guix doesn't use /usr. If xpra uses some env var to
> check where X11 files should be, I can open an issue in guix and
> they'll make sure this env is set when xpra is run.
No, there is nothing you could possibly do in xpra.
This file location is set at build-time in the X11 server.
(IIRC, it belongs in libxkbfile)
Your OS and / or guix should configure X11 correctly.

> What I did by passing --expose was to share files from my ArchLinux
> box. I'll be using this hack since it worked.
> 
> Anyway, I did expect problems, but I didn't know how to debug.
> Therefore I came here.
> 
>> The keyboard layout and variant should be detected correctly.
>> You can run:
>> xpra/platform/keyboard.py
>> To see what comes out.
> 
> Okay, I filled an issue in the tracker:
> https://github.com/Xpra-org/xpra/issues/3075
Thanks!

Antoine

> 
>> This may not work properly under wayland, which does not have an API for
>> querying those settings.
> 
> I'm using X11.
> 
> Wayland, never again.
> 
> 



More information about the shifter-users mailing list