Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 4 down vote accepted
+50

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. –  Elfy 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 ask.fedoraproject.org/question/498/… –  Christian Jun 20 '12 at 12:39
1  
The same worked in Banshee for me, thanks! (banshee --next, --previous, --toggle-playback) –  culebrón Jan 15 '13 at 14:17
add comment

Your Answer

 
discard

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.