Disabling Hotkeys

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
chuck2nd
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Sep 2012 14:36

Disabling Hotkeys

Postby chuck2nd » 16 Feb 2015 16:35

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
Chuck Harnden
Qinetiq North America
Kennedy Space Center

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 16 Feb 2015 18:17

This works for me, but YMMV depending on your platform:

Code: Select all

vlc -I dummy --no-keyboard-events --no-mouse-events
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

chuck2nd
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Sep 2012 14:36

Re: Disabling Hotkeys

Postby chuck2nd » 19 Feb 2015 15:25

Thank you. That worked perfect.
Chuck Harnden
Qinetiq North America
Kennedy Space Center

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Disabling Hotkeys

Postby Jean-Baptiste Kempf » 19 Feb 2015 15:52

Be careful about Windows video outputs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

The3
Blank Cone
Blank Cone
Posts: 11
Joined: 07 Aug 2014 03:33

Re: Disabling Hotkeys

Postby The3 » 14 Mar 2015 23:04

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Disabling Hotkeys

Postby Rémi Denis-Courmont » 16 Mar 2015 11:29

Unset the key bindings?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

The3
Blank Cone
Blank Cone
Posts: 11
Joined: 07 Aug 2014 03:33

Re: Disabling Hotkeys

Postby The3 » 17 Mar 2015 06:47

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Disabling Hotkeys

Postby Rémi Denis-Courmont » 17 Mar 2015 09:48

Unset the key bindings using the CLI parameters or a custom configuration file.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 31 guests