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

Remove mouse pointer #11

Open
brezlord opened this issue Jan 19, 2025 · 7 comments
Open

Remove mouse pointer #11

brezlord opened this issue Jan 19, 2025 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@brezlord
Copy link

Is there a way to remove the mouse pointer that appears as a circle?

You can remove the system one with the below trick but this does not remove the pointer from the electron app.

sudo mv /usr/share/icons/PiXflat/cursors/left_ptr /usr/share/icons/PiXflat/cursors/left_ptr.bak

Restart Wayfire to see the Change. The Mousecursor is gone.

It simply renames the Cursor-Graphic and it becomes invisible if the System can't find it.

To enable it again:

sudo mv /usr/share/icons/PiXflat/cursors/left_ptr.bak /usr/share/icons/PiXflat/cursors/left_ptr

Restart Wayfire to see it again.

@leukipp leukipp self-assigned this Jan 19, 2025
@leukipp leukipp added the enhancement New feature or request label Jan 19, 2025
@leukipp
Copy link
Owner

leukipp commented Jan 19, 2025

The cursor (gray circle) inside TouchKio is rendered directly by electron when Emulation.setEmitTouchEventsForMouse is used, which is necessary to simulate a touch device properly. I don't know if there is a way to disable/hide it.

However, labwc support to globally hide the cursor on touch devices by default (see labwc/labwc#2273) is coming with release v0.8.2.
I'm waiting for this version to be pushed to the RPi repository and then check how the app will handle it.

@leukipp leukipp pinned this issue Jan 19, 2025
@brezlord
Copy link
Author

Nice, can't wait to see if this new version will allow the pointer to be hidden.

@jsuanet
Copy link

jsuanet commented Jan 20, 2025

I built the v0.8.2 version locally and can confirm the pointer (or actually the 'circle') is gone after the first touch event.

@brezlord
Copy link
Author

Love your work.

@schuhbacca
Copy link

Don't want to push but is there an ETA on this? Just discovered this project and am using for a picture frame. Everything works great except for the mouse pointer thing. Thanks for the project!

@jsuanet
Copy link

jsuanet commented Jan 25, 2025

It's all depending of the "adoption" of the labwc v0.8.2 version in the official RaspOS release, for an ETA you better ask that question in the official Raspberry PI forum https://forums.raspberrypi.com/

When you are in a hurry you can always build this version yourself. See https://github.com/labwc/labwc/wiki#debian

@schuhbacca
Copy link

Got it! Thanks for the info!

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

No branches or pull requests

4 participants