Oct 2, 2014

Fixing Media keys in Ubuntu 14.04

I installed Ubuntu 14.04 about 6 months back and in the process of getting it setup I was having lots of trouble with the media keys not working. I would go in to the keyboard settings. click on the pause/play binding and map it to the appropriate media key on my keyboard and then try out my new key binding. Unfortunately this didn't work. I would press the key and get no response.

After lots of Googling I found one post that mentioned using the dconf-editor and edit the key bindings manually. I decided it couldn't hurt so I opened the dconf-editor and found the media keys under org.gnome.settings-daemon.plugins.media-keys. Looking at the key bindings everything looked like it should work just fine, However, in comparing the keybindings that did work such as the volume buttons with the ones that didn't work like the play/pause button I noticed the value pattern for those keys were different. The diference was that the ones that worked started with XF86. I decided to try adding the XF86 prefix to the custom buttons that I had mapped. After I added that and logged out and back in the media buttons that I had mapped myself started working.

No comments: