vlc --help lists, among other content, command line options like the following:
Hot keys --global-key-toggle-fullscreen <string> Fullscreen --key-toggle-fullscreen <string> Fullscreen --global-key-leave-fullscreen <string> Leave fullscreen --key-leave-fullscreen <string> Leave fullscreen --global-key-play-pause <string> Play/Pause --key-play-pause <string> Play/Pause
When I try to use them though, they don't work at all. I don't understand why do they have to take a
<string> parameter as well.
So my scenario looks like this:
- I run VLC either with a UI or in headless mode
- I execute e.g.
vlc --key-next foo(for triggering "next"),
foobeing a dummy parameter
- VLC doesn't complain (unlike when you don't pass a string), but command has no effect
What's a working example of command-line-triggered VLC hot keys?