It would be nice to have a feature to auto-hide the cursor if it is inactive for a few seconds. This is achievable in x11 by using programs such as unclutter. However, there is no equivalent functionality available for the wayland session.
Could you please explain the usecase? Why would one want to hide the cursor? Why should this be in the display manager? I'm asking because if it doesn't hide e.g. when playing a video, the video application needs to be fixed. We don't want to start adding workarounds for broken applications.
(In reply to Martin Gräßlin from comment #1) > Could you please explain the usecase? Why would one want to hide the cursor? > Why should this be in the display manager? > > I'm asking because if it doesn't hide e.g. when playing a video, the video > application needs to be fixed. We don't want to start adding workarounds for > broken applications. I just find it a bit irritating that the cursor hangs around while I'm not using it. For example, while reading PDFs, or browsing webpages (I use firefox with a vi-mode addon, so there are reasonably long intervals where I don't use the mouse and thus don't want to see it) the cursor sometimes gets in the way if I'm using only the keyboard (if it comes to rest on top of a link or a button, it counts as the cursor hovering over the object). Re. why it should be in the display manager, my understanding was that the window manager has complete control of the display in the wayland session, so I assumed that such a feature could only be implemented in the compositor.
I think you should give unclutter a try: $ unclutter -idle 1 -root I use it with my set-up.
As stated solutions for people wanting this behaviour on X11 are available.
Unfortunate that this won't be implemented for Wayland. Other Wayland compositors, such as Sway, have implemented it long ago.
+1 for looking for this feature & with wayland. Just the opposite of the Track Mouse effect. Opportunity I guess could be a desktop effect plugin. Even on the lockscreen, the mouse cursor stays on when the login prompts are hidden. I want to turn this off to reduce burn in of static elements on my OLED. Turning the screen off with dpms works except in current gpu/screen setup it glitches my screen out.
Please reconsider. From the ones I know, Sway and Hyprland both have this function so it's not unprecedented. My personal use cases: - games and other apps that make no use of mouse but leave it displayed; moving it to the edge of the screen still leaves a few pixels visible :( - when typing, the cursor often obstructs the text field because that's where I left the cursor after clicking inside the field; Sway makes it possible to hide the cursor when typing as a sub-option of this feature
*** This bug has been marked as a duplicate of bug 465119 ***