PDA

View Full Version : [ubuntu] Fullscreen keyboard focus issue



tret
January 21st, 2010, 10:03 PM
I'm using XBMC 9.11 Camelot on a Karmic 32bit build and have set up a keyboard shortcut to allow me run a script to kill and relaunch XBMC whenever it crashes by simply pressing a particular key on my keyboard.

When in gnome this works fine, pressing the key causes my script to run and XBMC is launched. However when XBMC is running and in fullscreen mode, keyboard focus is on XBMC and my custom key shortcut is not being triggered. My assumption is that XBMC is hijacking the keystroke and it isn't reaching gnome where my script is set to run when triggered.

Does anyone know of a way to force a single key to be focused ONLY to the X environment? Or any workaround to accomplish this?

Rob