• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Looking for Wayland experts

Scheduled Pinned Locked Moved General
2 Posts 2 Posters 396 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      flohack
      last edited by 11 Mar 2022, 12:34

      My company is looking for Wayland expertise:

      Are there any Linux experts out there that have tried/experience with simulated input and manipulating windows (move/resize/focus/close/get title/get class etc.) on Wayland sessions? (With X11 this seems to be trivial.)
      What I found so far is that mouse/keyboard input is possible by writing to /dev/uinput (how ydotool does it) or in Gnome (Mutter) by a shell extension. There is also a Wayland protocol zwp_virtual_keyboard_v1 for compositors that impelemnt it (what wtype uses), and KDE (KWin) has this org_kde_kwin_fake_input protocol, but those are still unstable I guess.

      @alan_g do you have any idea who could help here? Eventually it will be paid but I cannot say this for sure now.

      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

      A 1 Reply Last reply 11 Mar 2022, 12:53 Reply Quote 0
      • A Offline
        alan_g @flohack
        last edited by alan_g 3 Nov 2022, 12:53 11 Mar 2022, 12:53

        To some extent it depends on the actual goal. Is this intended as a test harness for an app in a controlled environment? Or as a means of automation on a desktop?

        Faking udev ought to work across different compositors. The virtual keyboard extensions might work for some compositors but different compositors support different protocol extensions. (E.g. Mir supports virtual_keyboard_unstable_v1 but not org_kde_kwin_fake_input.)

        If this is just for an application test harness, then it should be possible to test against a specific, even a bespoke, compositor.

        This could be complicated for most people I know as they have employers, and work (especially paid) outside that raises contract concerns.

        Maybe ask on the wayland-devel mailing list?

        1 Reply Last reply Reply Quote 0
        2 out of 2
        • First post
          2/2
          Last post