For anyone running Cursor on an Arch + Hyprland setup:
If you’re seeing a pop-up like this, you’re probably running into the same issue I did:
The fix is simple — Cursor wasn’t built with Wayland in mind.
To get it working, just edit your /bin/cursor
script and add these two lines above the launch command:
unset WAYLAND_DISPLAY
export XDG_SESSION_TYPE=x11
All this does is stop Cursor from trying to use Wayland, and instead makes it think it’s running in an X11 session.
You can probably get the same result using XWayland, too, but I didn’t bother testing — feel free to try it out and let me know.
Admin Note: Reformatted for readability as this is super useful!