0

The only thread I could find on this topic is from 2007 on the VideoLAN forums.

I wanted to know if it's possible to bind one hotkey to two different functions using the VLC interface. For instance, is it possible to bind 'Enter' to both 'Fullscreen' and 'Exit Fullscreen'? If so, how would one go about doing it?

  • According to this the default for "f" is to toggle full screen. Does it not toggle full screen on and off? Their wording is a bit rubbish if not... – Mokubai Dec 7 '17 at 7:28
  • I think this documentation might be outdated. I'm not seeing any toggle fullscreen option in hotkey settings nor is f mapped to any action. – Skylar Kennedy Dec 7 '17 at 8:05
  • 1
    @SkylarKennedy It only works as a hotkey if there is a video playing :) – DavidPostill Dec 7 '17 at 8:45
1

VLC generally prohibits setting the same hotkey for multiple functions.

In the example you gave of using the same key for Fullscreen and Exit fullscreen, the key for Fullscreen already works as the key for Exit fullscreen when the interface is in fullscreen. For other key combinations which obviously go together (like Play/Pause), there are combined key versions in VLC's preferences.

If you try to set the same hotkey for multiple functions in the interface, VLC will warn you (Warning: this key or combination is already assigned to "Other function"), and then if you still go ahead it will remove the hotkey from the function it was used for previously.

Even when editing the preferences file manually to have two functions with the same hotkey, VLC has a priority order for functions, so it will only execute one function. In my experimentation, I assigned Fullscreen and Next to the same hotkey, but the hotkey always executed Next.

If you really want to bind a set of unrelated functions together, you can use AutoHotkey for that (comment for more details).

| improve this answer | |
  • Thanks! I didn't realize that they key for Fullscreen also works for Exit Fullscreen by default. I just unbound the key for Exit Fullscreen and I was able to achieve my desired effect (using Enter to toggle). – Skylar Kennedy Dec 11 '17 at 1:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.