Closed joaomamede closed 3 years ago
I suggest a search on the term can't connect to display no protocol specified.
I would first test running the script from a terminal application launched from the DE---that way, you will have all X related environ variables set correctly. Have you updated you system since 2019 and started using Wayland? If so, you will only be able to interact with applications launched under Xwayland.
I will close this issue, as it is not directly related to this library, but feel free to continue commenting.
I was running an old script (late 2019) and now I have this error when importing pynput.
Any advice?