Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you add (or change) multimedia key shortcuts in Xubuntu.

Specfically I would like to set the Forward and Back keys to Next and Previous tracks in Exaile using the xkeys plugin.

share|improve this question
up vote 4 down vote accepted

I don't use XFCE myself but I found this thread that suggests that you can use the keyboard settings to set XF86AudioNext to exaile --next and XF86AudioPrev to exaile --prev. If that doesn't work out of the box, you may need to see what keycodes these media keys use with xev and put them in your .Xmodmap as described in the FAQ.

share|improve this answer
xev doesn't appear to see them or if it does I can't see them. Also - if I put them in xmodmap then what would happen with other apps that see the forward and back keys perfectly ok. – 23 93 26 35 19 57 3 89 Jun 20 '12 at 11:29
@Elfy That other applications see them all right indicates to me that the so called keysym names are fine and you shouldn't need to map keycodes to them with xmodmap. I take it configuring the XFCE keyboard settings as described doesn't work either? You can also try evtest (it's in a package of the same name), see also this thread… – Christian Jun 20 '12 at 12:39
The same worked in Banshee for me, thanks! (banshee --next, --previous, --toggle-playback) – culebrón Jan 15 '13 at 14:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.