Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

wayland client with native bindings #2368

Open totaam opened 5 years ago

totaam commented 5 years ago

Following up #2243, we will need some form of native bindings to:

totaam commented 5 years ago

According to libxkbcommon quick guide: If we are a Wayland client, the compositor gives us a string complete with a keymap. Not sure where, no attributes in the GTK.EventKey, or in its GdkWaylandDevice attribute..

More keyboard related tickets: #1049, #856

totaam commented 5 years ago

2019-07-25 15:48:47: mviereck commented


Keyboard: On systems with systemd the output of localectl status might be a good guess. The Wayland compositor might still be configured different, but I assume most systems will have the same keyboard configuration on tty as on the desktop. On my german system I get the same valid output on tty, in X and in Wayland:

$ localectl status
   System Locale: LANG=de_DE.UTF-8
       VC Keymap: n/a
      X11 Layout: de
       X11 Model: pc105
totaam commented 5 years ago

On systems with systemd the output of localectl status might be a good guess.

Thanks, added this as fallback in r23321.

totaam commented 2 years ago

So many things won't work as well under wayland... https://github.com/Xpra-org/xpra/issues/3614#issuecomment-1245149463