How to disable mouse double-click (which toggles fullscreen)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
caecilius-j
New Cone
New Cone
Posts: 3
Joined: 19 Jun 2022 16:07

How to disable mouse double-click (which toggles fullscreen)

Postby caecilius-j » 20 Jun 2022 03:47

Hi,

By default hotkey "f" makes VLC to toggle fullscreen. Unfortunately (for me), a mouse double-click also makes that.
I would like to disable the mouse double-click only. At least when VLC is running in full screen.

Is there a way to make VLC ignore the mouse double-click?

In fact, I cannot fully disable mouse events (i.e., cannot use --no-mouse-events) because I still need the mouse to work.
The plan is to keep VLC running a stream 24/24 in full screen, allowing the touch screen to turn off (power saving) after a certain amount of time. Whenever an user wants to turn on the screen again, he/she only have to touch the screen.
To be clear, I just want to prevent the user to be able to cancel VLC full screen mode by doing a double click.

So, is there a way to make VLC ignore the mouse double-click? This requested behavior is only required in fullscreen but there's no harm if it also works when in non-fullscreen mode.
If not possible to disable it in VLC, any suggestions how to solve this issue?

Thank you!

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

Re: How to disable mouse double-click (which toggles fullscreen)

Postby Rémi Denis-Courmont » 20 Jun 2022 07:40

VLC is open-source, so you can always modify it.

Otherwise no.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

caecilius-j
New Cone
New Cone
Posts: 3
Joined: 19 Jun 2022 16:07

Re: How to disable mouse double-click (which toggles fullscreen)

Postby caecilius-j » 20 Jun 2022 07:57

Thank you for your response!
Unfortunately modifying VLC source code is not an option for me...
As a plan B, I was thinking of some kind of an app that would capture mouse clicks... know any?
Anyway, the solution should be supported on both Windows and Linux (at least).

caecilius-j
New Cone
New Cone
Posts: 3
Joined: 19 Jun 2022 16:07

Re: How to disable mouse double-click (which toggles fullscreen)

Postby caecilius-j » 22 Jun 2022 16:15

Found autohotkey (https://www.autohotkey.com/), a script-based app that captures keyboard and\or mouse clicks (haven't tried it yet though).
Unfortunately, it only runs on Windows.
Does anyone know a similar cross-platform tool? Or, at least, for Linux ?

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

Re: How to disable mouse double-click (which toggles fullscreen)

Postby Rémi Denis-Courmont » 22 Jun 2022 18:34

Capturing input events is intrinsically not portable, so don't get your hopes too high.
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 59 guests