Page 1 of 1

Disabling Hotkeys

Posted: 16 Feb 2015 16:35
by chuck2nd
We are using VLC for critical live stream video surveillance and had a user hit the pause button accidentally resulting in buffering to a tmp directory. Is there a way to disable pause permanently? I know hotkeys can be 'unset', but users could theoretically set them up again. Is there a way to disable hotkeys permanently without having to modify source?
thanks,
Chuck

Posted: 16 Feb 2015 18:17
by Rémi Denis-Courmont
This works for me, but YMMV depending on your platform:

Code: Select all

vlc -I dummy --no-keyboard-events --no-mouse-events

Re: Disabling Hotkeys

Posted: 19 Feb 2015 15:25
by chuck2nd
Thank you. That worked perfect.

Re: Disabling Hotkeys

Posted: 19 Feb 2015 15:52
by Jean-Baptiste Kempf
Be careful about Windows video outputs.

Re: Disabling Hotkeys

Posted: 14 Mar 2015 23:04
by The3
Is there a way to selectively disable's only certain keyboard events? I have a batch script that automatically loops a playlist fullscreen, and I don't want users to be able to pause or skip, but they need to be able to get out of VLC by pressing escape.

Re: Disabling Hotkeys

Posted: 16 Mar 2015 11:29
by Rémi Denis-Courmont
Unset the key bindings?

Re: Disabling Hotkeys

Posted: 17 Mar 2015 06:47
by The3
Right, other than that, I mean. I'm looking for something that can be done from the command line, and doesn't require interacting with the GUI to accomplish.

Re: Disabling Hotkeys

Posted: 17 Mar 2015 09:48
by Rémi Denis-Courmont
Unset the key bindings using the CLI parameters or a custom configuration file.