Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Remove mouse pointer completely from visible screen #267

Open
Sravdar opened this issue Feb 20, 2025 · 4 comments
Open

Comments

@Sravdar
Copy link

Sravdar commented Feb 20, 2025

I do use wayfire for kiosk application. While hide-cursor script works well to hide the cursor itself it doesn't change the fact pointer is still there. This causes problems like pointer hovering over the widgets and causing unwanted interactions.

It would be great if there was a way to remove cursor completely from screen.

@soreau
Copy link
Member

soreau commented Feb 20, 2025

I guess you could try changing this to 0 and setting the hide_timeout to 0.

@ammen99
Copy link
Member

ammen99 commented Feb 20, 2025

@Sravdar Wayfire's core can do that for tablets automatically, but the APIs are not public for plugins to use (yet). However I think what you want to do is move the cursor to the edge of the screen (should be very easy with ipc) + what soreau suggested, this way I don't think you'll have issues in practice.

@soreau
Copy link
Member

soreau commented Feb 20, 2025

Another thing that comes to mind is using ipc to disable the input device completely, though your mileage may vary, depending on your situation.

@Sravdar
Copy link
Author

Sravdar commented Feb 21, 2025

@ammen99 @soreau thanks for quick replies.
Disabling inputs did not worked however i was able to move the mouse with pywayfire stipc.

Leaving this issue open as i think hide-cursor should be able to do this. You can close it if it is not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants