Default appcommand and mouse.xml?

Hei all,
Any place where I can get the appcommand.xml and mouse.xml that come with OSMC?
I have toyed around with them and can’t find the backup copy. Would like to avoid reinstalling OSMC.

To replace them with original copies, just reinstall the mediacenter package:

sudo apt-get update && sudo apt-get install rbp2-mediacenter-osmc --reinstall

The above is for a Pi 2, if you have a Pi 1 use rbp1-mediacenter-osmc.

This will not overwrite your Kodi home directory.

BTW you shouldn’t edit versions of the Kodi config files in /usr/share/kodi/system/ - they are considered to be system files and will be replaced by Kodi updates.

Copy the file you want to edit into the appropriate location in /home/osmc/.kodi/userdata/ where it will take priority over the system version of the file and not be overwritten by an update.

1 Like

That’s what I was missing, thanks.
Trying to make an eBay air mouse remote respond correctly, pain the the proverbial…
Moved away from The Little Black Box, no support for it anymore and not all of its buttons are picked up by the Pi2