mirror of
https://github.com/debloper/xiosk.git
synced 2026-04-26 21:35:51 +03:00
[GH-ISSUE #23] Auto Mouse Hiding Enhancement #24
Labels
No labels
bug
bug
documentation
enhancement
enhancement
feature request
good first issue
good first issue
help wanted
invalid
priority: high
priority: low
priority: medium
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/xiosk#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andiohn on GitHub (Jul 22, 2024).
Original GitHub issue: https://github.com/debloper/xiosk/issues/23
Seems like this would be a good option here:
https://raspberrypi.stackexchange.com/questions/145382/remove-hide-mouse-cursor-when-idle-on-rasbperry-pi-os-bookworm/145390#145390
2
I've had success with installing the hideaway plugin for Interception Tools using the script below.
Adapted from https://forums.raspberrypi.com/viewtopic.php?t=358285#p2176499
@debloper commented on GitHub (Jul 23, 2024):
Thank you... let's make it part of 3.0 release!
@debloper commented on GitHub (Jul 29, 2024):
On a second thought, going to postpone this feature to round back at later.
None of the existing solutions are up to the mark in terms of quality of implementation. They have all sorts of issues - from dependencies to distributions & everything in-between. They do not follow the "do one thing, and one thing well" methodology & hence suffer from the feature overloading problem. Half of them are also tied to specific display server or compositor, even though this can be done by directly talking to the Kernel.
The one that comes closest is
ydotool, but aptitude installs an older broken version v0.1.8, and the new versions (v1.0.x) don't have ARM release. So, we'll have to build/distribute it ourselves, and potentially risk becoming a (supply chain exploit vector), which is on the rise recently. So I am not walking into that.If I really have to build C code anyway, I'd rather write a better/leaner implementation.
All that's needed is to send
input_eventto kernel to proper device/stream... something like:But we'll come back to it at a later point. Meanwhile, 👍 the issue to flag it as important, to help me prioritize this.
@andiohn commented on GitHub (Oct 3, 2024):
I wonder if all it had to do was to send the mouse into the bottom right or something after 10 minutes of boot up. Do that once. Easy, effective :)
@andiohn commented on GitHub (Oct 3, 2024):
Holy crap, I might have found a solution:
https://gabrielstaples.com/ydotool-tutorial/#gsc.tab=0
ydotool
@andiohn commented on GitHub (Oct 3, 2024):
"ydotool mousemove -x 0 -y 0" should put it to the top left. Might be good enough...
@andiohn commented on GitHub (Oct 3, 2024):
https://askubuntu.com/questions/956640/equivalent-to-xdotool-for-wayland
wtype and evemu might be better even. No need to reinvent the wheel, just move the mouse. :)
@debloper commented on GitHub (Oct 7, 2024):
As mentioned before, the problem here is:
Which means, I don't wanna take responsibility for building and distributing binary of a third party solution... but, you (and anyone else needing this feature) can totally use it for themselves.
If you can please write down the method you've followed to make it work for yourself, then I can mark that as the solution and close this issue for now.
@andiohn commented on GitHub (Oct 10, 2024):
Ya, good point. I used the solution from the first one. I just found that "Wayfire extra plugins" has a hide cursor plugin, perhaps that would be a good starting point.
@tismofied commented on GitHub (Nov 28, 2024):
I did it this way.
1-
sudo apt update && sudo apt full-upgrade -y2-
sudo apt install ydotool3-
nano cursor_hide.sh4-
sudo chmod +x cursor_hide.sh5-
sudo reboot@debloper commented on GitHub (Jul 21, 2025):
Let's contribute to
ydotoolupstream to add ARM builds to the build strategy matrix, which we can then download and use from the releases. If not, I'll fork and maintain it for this base purpose (not ideal, but best of bad options).Once we have that blocker cleared, this would be a dashboard global configuration flag; so users can enable/disable it (hide pointers by default upon installation); because not all users may want this feature.