Announcement

Collapse
No announcement yet.

XOrg/X11/X Window System vs Wayland differences in mouse/keyboard automation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • XOrg/X11/X Window System vs Wayland differences in mouse/keyboard automation

    I was using X11 on the creation of automated scripts to test UX resources from a Debian distro from a project which I am working on (Using python Xlib), but now this distro was standardized in Wayland and I am looking for tools, as well as libraries, packages, modules that simulate mouse clicks and keyboard keystrokes but it's being hard. I read about pywayland but there aren't tutorials explaining his working, in an additive manner I am trying to understand how XOrg and Wayland manage the emulated keyboard and mouse resources. Is there anywhere where could I read and do you know any tool similar Xlib also in Python, I read about python-uinput but there are some things that don't work for example the pressing of the Super/Windows button and mouse events and in evdev nothing happens when a script is executed.

  • #2
    Not sure if this is helpful, but I use KeePassXC and it can auto-type on X11 and Wayland GNOME sessions. There were oddities with Wayland a while back, but it looks to work consistently nowadays. Maybe something in their code could hint at what you're looking for: https://github.com/keepassxreboot/keepassxc

    Comment

    Working...
    X