asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.45k stars 1.26k forks source link

Wayland ? #695

Open BruceWayne-Linux opened 2 years ago

BruceWayne-Linux commented 2 years ago

mouse function and keyboard functions are not working in Wayland!! Please Add Support To Wayland.

lVoidi commented 2 years ago

As they said here, on Linux, PyAutoGui works using the xlib module, which works only on x11 and doesn't have any support for Wayland.

JakobDev commented 2 years ago

As far as I know, Wayland does not support things like emulating mouse and keyboard presses for security reasons.