2014-05-31, 14:02
Hello
I am trying to run a .sh shell script in OpenElec Gotham via a keyboard shortcut Ctrl+Alt+A
I just tried adding these two lines in to the XBMC keyboard.xml file and rebooting
<A mod="ctrl,alt">System.Exec(/storage/.xbmc/userdata/vera/lounge-on.sh)</A>
<B mod="ctrl,alt">System.Exec(/storage/.xbmc/userdata/vera/lounge-off.sh)</B>
But nothing happens and the script(s) are not run when I initiate the keyboard shortcuts. XBMC can also sometimes hang when I press the keyboard shortcuts.
I know the modifier <A mod="ctrl,alt"> works if I put in an XBMC function instead like to open the Music window, then when pressing the keyboard shortcut that action is carried out OK.
The scripts run OK in SSH terminal using this command: sh lounge-on.sh
I've searched the forums but no luck getting it working. Any ideas?
Many thanks
I am trying to run a .sh shell script in OpenElec Gotham via a keyboard shortcut Ctrl+Alt+A
I just tried adding these two lines in to the XBMC keyboard.xml file and rebooting
<A mod="ctrl,alt">System.Exec(/storage/.xbmc/userdata/vera/lounge-on.sh)</A>
<B mod="ctrl,alt">System.Exec(/storage/.xbmc/userdata/vera/lounge-off.sh)</B>
But nothing happens and the script(s) are not run when I initiate the keyboard shortcuts. XBMC can also sometimes hang when I press the keyboard shortcuts.
I know the modifier <A mod="ctrl,alt"> works if I put in an XBMC function instead like to open the Music window, then when pressing the keyboard shortcut that action is carried out OK.
The scripts run OK in SSH terminal using this command: sh lounge-on.sh
I've searched the forums but no luck getting it working. Any ideas?
Many thanks