0

I have bookworm on a raspberry pi, with openbox, and labwc and wayland x11 configured in raspi-config.

I tried using unclutter -idle 0 -root &, and wlr-cursor hide but the mouse is still visible.

Not sure if its a relevant point, but the display is a touch screen on the display port.

I just noticed, when I login via ssh, unclutter applies the rule to my remote machine. lol wut?

I tested the setup on another machine, not using the touch screen, and it works fine. something about the setup using the display port ribbon connector port seems to be effecting the operation of things like unclutter.

How do i delete or hide the mouse cursors?

1 Answers1

0

It sounds like you are running unclutter in your login session instead of when X11 starts. Thus when you log in via SSH your local X display is forwarded too, unclutter starts, and it applies to your local machine as well.

I found it works best by creating a dedicated kiosk user, and setting that user to automatically log in and start X11. Then I can put unclutter and other commands into the .xinitrc file. When I SSH into the device I use a different user, so I don't have to worry about interfering with the kiosk or having unclutter apply to my local machine.

If none of this works, you can look at the Xcursor extension which allows you to set custom mouse cursors. You could just set the default mouse cursor to be transparent.

Alternatively, if your kiosk is only displaying your own web pages, you could use CSS to set the mouse cursor to be invisible as well, although that might make debugging a bit harder. I have options attached to my kiosk pages (e.g. example.html#option1) which I pick up in Javascript and run code. This allows me to slightly change the dashboards I'm displaying so a couple of things are different on my development machine to make things easier.

Malvineous
  • 2,109
  • 15
  • 25