Support for Wayland
See original GitHub issueA series of errors occurred while trying to import the pyautogui module, but only while using Wayland.
>>> import pyautogui
Traceback (most recent call last):
File "/home/kjohnston/Python/env/lib/python3.5/site-packages/Xlib/xauth.py", line 43, in __init__
raw = open(filename, 'rb').read()
FileNotFoundError: [Errno 2] No such file or directory: '/home/kjohnston/.Xauthority'
Can Wayland be supported? Or is Wayland so vastly different from X11 that a whole new module is needed? If it’s the latter, I’d like to modify the README to include X11 in the dependencies and then close this issue.
Thanks for creating this awesome module! (And pyperclip too!)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Wayland - ArchWiki - Arch Linux
Wayland is a display server protocol. It is aimed to become the successor of the X Window System. You can find a comparison...
Read more >Wayland
Wayland architecture · Wayland FAQ · Documentation · Toolkits with Wayland support. Software: Releases · Wayland Git repositories; Weston README, documentation ...
Read more >Wayland (display server protocol) - Wikipedia
Wayland is a communication protocol that specifies the communication between a display server and its clients, as well as a C library implementation...
Read more >Wayland - Debian Wiki
Wayland · Chromium (supported) · Firefox (supported) · LibreOffice (supported, not by default) · Java Programs (supported since OpenJDK 16?) · Emacs ...
Read more >Wayland Support on Linux - Blender Developers Blog
Wayland Support on Linux · The library libdecor needs to be installed (EDIT: now only for gnome-shell). · To see if native Wayland...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wayland is the default login in Ubuntu 21.04 and Wayland will be the default Wayland login in Kubuntu 21.10. Wayland is also the default for Fedora.
Please see: https://bugs.kde.org/show_bug.cgi?id=439971 https://gitlab.com/dogtail/dogtail https://gitlab.gnome.org/ofourdan/gnome-ponytail-daemon https://github.com/autokey/autokey/issues/87 https://lists.freedesktop.org/archives/wayland-devel/2017-July/034459.html
Can this ticket be reopened? Wayland will only get more important over time.
I just tried to use pyautogui and it didn’t work. Having an open issue about lack of support might reduce future duplicate reports.
I read @KyleWJohnston’s argument against supporting Wayland. I don’t know how pyautogui works but could you use these other tools as a backend in pyautogui? In any case, if there are no plans to support Wayland, I think this should at least be documented since you claim to support “Linux” (maybe that should be changed to X11).