You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wayland is still under development, and there are still applications and behaviours that don’t work as expected, you may find that some applications have not been updated to work properly in Wayland and currently the only way these applications will run is using Xorg instead of Wayland. source
I had to change Fedora 38 from Wayland to Xorg to be able to run Pywhatkit.
Expecting a Wayland compatibility update does not look like the way to go. It's better to have Pywhatkit running natively on Wayland.
Steps to change Fedora Wayland to Xorg:
Changing the default GNOME session via configuration file
As an alternative, this change can be made by editing a configuration file /etc/gdm/custom.conf.
Open /etc/gdm/custom.conf and uncomment the line:
WaylandEnable=false
Add the following line to the [daemon] section:
DefaultSession=gnome-xorg.desktop
Save the custom.conf file.
Logout or reboot to enter the new session.
Description
Can not send whatsapp text message in Fedora 38 with Wayland
To Reproduce
import pywhatkit
pywhatkit.sendwhatmsg(phone_no="520000000001", message="Hi", wait_time=15, time_min=33)
Same config in Windows 10 works fine. It seems to be a problem with Wayland.
Version Information
error DisplayConnectionError.txt
The text was updated successfully, but these errors were encountered: