Keymap Editor app - add button to execute script

So I have been searching for a way to add a button on my beo4 remote to execute a shell script.

Is it possible to do this in the “Keymap Editor app”? Or do I have to manually add the button?

In this case, where should I then add it? Since I have used the Keymap Editor to add plenty of my buttons to the remote, these may be stored somewhere? I guess it might be there I have to add the manually button to execute the script.

Could anyone tell me where the file is placed, where the Keymap Editor stores the files?

I have found /usr/share/kodi/system/keymaps/remote.xml - but I don’t think this is where it is stored because I can’t recognize any of my specific buttons in this file?

User initiated configurations are in
/home/osmc/.kodi/userdata/

Should I add the command to the “gen.xml” in /home/osmc/.kodi/userdata/keymaps?

I’ve found the “Actions.py” in the Keymap Editor app folder. Should I here create something lige “RunScript(path/Script.sh)” , “Run Script”,

? :slight_smile: