Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3535

Raspberry Pi OS • HOWTO: Find my mouse cursor

$
0
0
Sometimes when I am using my 13.3" 4K Oled display with a Raspberry Pi I loose the mouse cursor. Every other OS I use (macOS, XUbuntu, even Windows) has some way to highlight the mouse cursor, but there is nothing in the Raspberry Pi OS out of the box.

I am now using wl-find-cursor. This can be found on github at

https://github.com/cjacker/wl-find-cursor

This produces an animated square around the mouse cursor. There is an open Pull Request for a change to make the highlight a circle and this can be found at

https://github.com/luxzeitlos/wl-find-cursor

I think the circle looks better so that is what I will use in the instructions.

In the terminal:

Code:

git clone https://github.com/luxzeitlos/wl-find-cursor.gitcd wl-find-cursormakesudo install -m0755 wl-find-cursor /usr/local/bin
I have added a key binding so that I can find the mouse cursor. I have using Windows-F1 to make it the same as the default binding on XUbuntu. There was no rc.xml file in ~/.config/labwc/ on my system so I added the following

Code:

<?xml version="1.0"?><openbox_config xmlns="http://openbox.org/3.4/rc">  <keyboard>    <default />    <keybind key="W-F1">      <action name="Execute">        <command>wl-find-cursor -c 0xAFFF0000 -d 2000 -s 200</command>      </action>    </keybind>  </keyboard></openbox_config>
This show an animated red circle (slightly transparent) for 2 seconds to a size of 400 pixels.

Statistics: Posted by AndyD — Thu Dec 11, 2025 12:16 pm



Viewing all articles
Browse latest Browse all 3535

Trending Articles