2013-08-28, 18:49
2 Part Question:
I am trying to get Skype for Linux working with my XBMCbuntu install - XBMC version is from xvba-testing ppa.
Here is what I have :
Terminal open in Background with irexec running with a .lircrc file listening for a specific remote button.
When button is pressed, a script runs that kills XBMC and irexec, relaunches irexec with a different file (.lircrc1) and launches Skype.
.lircrc1 is now listening for the same remote button, but will now run a different script.
When the button is pressed, the script kills irexec and Skype, relaunches irexec with original .lircrc file, and relaunches XBMC.
This works.. but it's not very clean. So, here are the 2 questions.
1- Can I launch a bash script from within the XBMC keymaps... I've looked at the WIKI, but could not find a definitive answer (Sorry if I missed something obvious).
2- I am not a fan of 'Killing' XBMC, I would rather suspend the process. When I try 'killall -STOP xbmc.bin', XBMC suspends properly, Skype will open, but I have no audio (PC is connected to TV through HDMI). Is there a way I can get XBMC to suspend and release the audio?
Thanks in advance for the help, I am open to any suggestions that would help clean this process up.
I am trying to get Skype for Linux working with my XBMCbuntu install - XBMC version is from xvba-testing ppa.
Here is what I have :
Terminal open in Background with irexec running with a .lircrc file listening for a specific remote button.
When button is pressed, a script runs that kills XBMC and irexec, relaunches irexec with a different file (.lircrc1) and launches Skype.
.lircrc1 is now listening for the same remote button, but will now run a different script.
When the button is pressed, the script kills irexec and Skype, relaunches irexec with original .lircrc file, and relaunches XBMC.
This works.. but it's not very clean. So, here are the 2 questions.
1- Can I launch a bash script from within the XBMC keymaps... I've looked at the WIKI, but could not find a definitive answer (Sorry if I missed something obvious).
2- I am not a fan of 'Killing' XBMC, I would rather suspend the process. When I try 'killall -STOP xbmc.bin', XBMC suspends properly, Skype will open, but I have no audio (PC is connected to TV through HDMI). Is there a way I can get XBMC to suspend and release the audio?
Thanks in advance for the help, I am open to any suggestions that would help clean this process up.