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

I can use my function key+stop, next, previous, etc to control totem using my Keyboard. Can I map these settings entirely to vlc?

share|improve this question
up vote 6 down vote accepted

Yes, if you want to enable media controls for VLC in Ubuntu 10.10 ...

(I can't speak for other releases, anyone?)

... you will need to unset the media control keyboard global shortcuts in order to use them with VLC.

1) Open Keyboard shortcuts settings. Disable media play/pause/skip/reverse and whatever else you wish to use with VLC. To disable a shortcut, you have to press Backspace while in "changing shortcut"-mode.

enter image description here

2) Open VLC preferences and set shortcuts for the keys you want to use. Tools>preferences>Hotkeys tab. Change "Global" setting: Double-click "global" list item area: hit according media key. hit "apply", "save".

enter image description here

3) Restart VLC.

share|improve this answer
This works in Ubuntu 12.04 too. The only way I found to 'disable' the key in step 1 was to assign the same key to everything, then it would set the previously assigned key to 'Disabled'. Is there another way ? – olafure Oct 16 '12 at 9:14
@olafure To disable a key you have to press <Backspace>, while in the 'changing shortcut'-mode. I've found it in the help for Keyboard settings (press <F1> while in the Settings->Keyboard). – andrybak Sep 16 '14 at 19:16

This question is answered on launchpad:

share|improve this answer
I don't think that has the answer. – harisibrahimkv May 5 '12 at 0:50

I have a problem of setting this by pressing keys. The system does not grab a combination of fn+any key. If this is the case, just edit ~/.config/vlc/vlcrc

add the following lines at the beginning of the file:

global-key-play-pause=Media Play Pause
global-key-next=Media Next Track
global-key-prev=Media Prev Track
share|improve this answer

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.