1
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"),foo
being 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?
Do you wanna bind them? Why you need this? If you want to bind them use global hotkeys https://wiki.videolan.org/How_to_set_global_hotkeys/
– TechLife – 2015-01-21T22:21:52.143You can control a large amount of vlc via dbus: see more here https://stackoverflow.com/questions/14256193/linux-control-a-running-vlc-process-through-command-line#14256241
– Michael Meanswell – 2018-03-23T20:22:31.633