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 don't understand why my custom hotkeys aren’t working. The commands work fine on the terminal and my choice of hotkeys do work for other commands ( I tried gedit).

This is what I did, only the first one works:

enter image description here

enter image description here

the full command is

echo -n  "pause" | nc -U /home/me/.local/share/vlc/vlc.sock


share|improve this question

Instead of assigning those long commands, I wrote a script that takes options and do the things I want. I then assigned keyboard shortcuts for the script with different options. works like a charm.

btw, I am doing this because the vlc global hotkeys don't work at all -- how did this get past testing??? As a workaround, I configured vlc to take remote commands from a socket of my choice.

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.