PDA

View Full Version : [all variants] Execute Script on Closing Program



Brooks693
August 18th, 2010, 10:01 AM
Hi

Im a complete noob at this Ubuntu stuff, and needed a bit of help. I am currently trying to set up a media PC running Ubuntu in my living room..

I plan to be using XMBC to play my music and videos using a Xbox 360 joypad. I have managed to get 'qjoypad' working so on the desktop the controller controls the mouse, I have also made a little script so that when XMBC opens, 'qjoypad' changes its key mappings to a different profile.
However when I exit XMBC, I would like it to return to the default profile, is there any way of doing this??

Cheers

oarion7
August 27th, 2010, 05:27 AM
Can you share the script?