Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 am trying to make a quicklist for VLC that has playback control, if possible. Using this link as reference, I've made a copy of vlc.desktop and added the following to the bottom in Gedit:

[Play Shortcut Group]
Exec=vlc --play

[Pause Shortcut Group]
Exec=vlc --pause

[Stop Shortcut Group]

Exec=vlc --stop

[Next Shortcut Group]
Exec=vlc --next

[Prev Shortcut Group]
Exec=vlc --prev

So far I'm having no luck getting it to work properly.

share|improve this question
That is not going to work: the 'stop' 'next' and 'prev' have no knowledge of the currently playing video. Since none of the options are supported by vlc all you are doing here is start a new instance of VLC. – Rinzwind May 29 '11 at 10:02

You can do this but seems more of a pita than worth considering there is a vlc appindicator or systray icon. (the systray icon works better than the indicator

Anyway vlc will respond to global hotkeys, then you'd use something like xdotool in your quicklist

The pita part is you'd need to create & set global hotkeys in vlc that don't conflict with anything else, then test that they work in vlc.

So as an example for pause, setting the global for 'pause' to ctrl+alt+p in vlc, see screen (you could do the play/pause toggle instead so only 1 quicklist entry needed

Then the quicklist entry, using xdotool which needs to be installed

[Pause Shortcut Group]
Exec=xdotool key ctrl+alt+p

Depending on what version of vlc you have after setting a global hotkey the next time you open the settings window it may not be displayed but will still be valid. Overall as mentioned a pita

enter image description here

share|improve this answer

The standard VLC executable has no built-in support for those commands. However, you could control your instance of VLC via the remote control interface. Also there are a number of other interfaces available.

share|improve this answer
built in support? what version of vlc are you using? – kazimir87 May 29 '11 at 14:17
Sorry, that was a type "has now support" was ment to be "has NO support". You misread me. – con-f-use May 29 '11 at 15:01
i didn't "misread" you if it was your fault for the typo. but thanks for the response. – kazimir87 May 29 '11 at 22:25
No, that were even two typos "type" -> "typo". Sorry, I'm a governmentally tested dyslexic. – con-f-use May 29 '11 at 22:29

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.