question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Wayland

See original GitHub issue

A 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:open
  • Created 7 years ago
  • Reactions:2
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
mystiquewolfcommented, Jul 20, 2021
7reactions
tbmcommented, Dec 17, 2020

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found