Hiding the mouse cursor in Kodi

I use Kodi with a touchscreen and wanted to hide the mouse cursor, but NOT disable mouse input. This can be done by using a 1x1 transparent PNG file as the mouse cursor. Find out what skin you're using and where your skin directory is. For me this is estouchy and its directory is /usr/share/kodi/addons/skin.estouchy. You need to download the PNG first:

wget https://upload.wikimedia.org/wikipedia/commons/c/ca/1x1.png

Then move it to the skins media directory (or where ever the skin gets its cursors from):

sudo mv 1x1.png /usr/share/kodi/addons/skin.estouchy/media/pointer_1x1.png

Then edit the Pointer.xml file:

sudo nano /usr/share/kodi/addons/skin.estouchy/xml/Pointer.xml

And replace all "width" and "height" values with 1 and all "texture" values with the name of the 1x1 texture:

<width>1</width>
<height>1</height>
<texture>pointer_1x1.png</texture> 

Now your cursor should be invisible.

Comments

Unknown said…
Hello should this instruction work on Android 6 platform?
Bim said…
I don't see why not...
Děda Lebeda said…
Because i tried on my Mini M8S II and on RemixOS and mouse coursor seems to be somehow "hardware" based in android. I didn find any possibility to change this behaviour. When mouse detected, than mouse is displayed. Only whenn no mouse movements detected for few seconf - mouse disapear..
Bim said…
Possible. From the top of my head:
- Make sure you changed the correct configuration file for the right skin. Check if the images on disk match the cursor displayed.
- Properly restart the app (Kill it in the task manager).