How to make the keyboard media keys to work with VLC globally?
I had a similar problem and the issue was that Gnome would capture the media keys before they reached VLC, to fix this you can go to "System->Preferences->Keyboard Shortcuts"
There you will see a header called sound (Expand it if needed), and remove the key combinations you want in VLC from there (You can disable them by clicking on the item and then pressing backspace).
Only problem with this is that any other applications that do use Gnome's built-in handling won't work anymore with the media keys, unless you add them again (Which in turn breaks VLC again)
VLC comes with configurable hotkey definitions. To access the hotkey menu open Tools -> Preferences -> Hotkeys:
The key for a given action can be determined by clicking on the line in between Clear and Apply. Then a window pops up to ask you for the new key combination. Press Apply to save these.
This procedure works fine with standard keyboard keys. However depending on keyboard hardware layout multimedia keys may not be recognized correctly (bug #419795, Videolan Support, Videolan on Ubuntu 10.10)
I use Ubuntu 14.04(64-bit) and VLC 2.1.5
In VLC, go to Tools > Preferences > Hotkeys. You will find three columns Action, HotKey, Global.
See the image uploaded by the user Takkat.
Click on the Global column[Next to the HotKey column] corresponding to the Action you seek, enter the media key combination and click Save.
Restart VLC.