I have Linux inside a Virtual Box on a Mac. Whenever I press the "Play/Pause" media key, even if I'm inside the Linux VM, the Mac iTunes app opens. This makes it impossible to use media keys inside my VM.
I've googled, but all I can find is old Virtual Box tickets (filed years ago but never fixed) complaining about this bug. It appears there's no "official" way to get Virtual Box to pass the key presses through.
So, my question is, is there an "unofficial" way? For instance, I use the BetterTouchTool on the Mac to let me convert a "lower bottom touchpad press" from my Mac mouse in to a "middle-click" that I can use in Linux. Is there any keyboard app(s) I can install on Mac and/or in Linux to let me press some combination of keys (optionally with a mouse gesture of some sort) to make my VM act like I'd pressed a media key?