xpra icon
Bug tracker and wiki

Opened 4 months ago

Last modified 4 months ago

#2368 assigned enhancement

wayland client with native bindings

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: client Version: 2.5.x
Keywords: Cc:

Description

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

  • query the keyboard layout
  • access the clipboard

etc..

Change History (3)

comment:1 Changed 4 months ago by Antoine Martin

Status: newassigned

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

comment:2 Changed 4 months ago by mviereck

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

comment:3 Changed 4 months ago by Antoine Martin

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

Thanks, added this as fallback in r23321.

Note: See TracTickets for help on using tickets.