Possible to disable ⌘-W shortcut?

Forums / NoMachine for Mac / Possible to disable ⌘-W shortcut?

This topic contains 5 replies, has 2 voices, and was last updated by Avatar Britgirl 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23962
    Avatar
    ramesh
    Participant

    I like to run a fullscreen browser on the remote side of the machine I’m connecting to (macOS -> macOS), and I keep hitting ⌘-w (i.e. Command-W)  intending to close a tab and then accidentally closing the entire connection instead.

    I tried overriding the “Close window” menu shortcut for the NoMachine app both via NSUserKeyEquivalents as well as in System Preferences but that didn’t seem to do the trick.

    I don’t really care about ever closing the NoMachine connection with a shortcut so would prefer to just disable it entirely. Is this possible?

    #24011
    Avatar
    Britgirl
    Keymaster

    Have you tried changing the shortcuts in the Player preferences?

    https://www.nomachine.com/AR07P00990

    #24018
    Avatar
    ramesh
    Participant

    Thanks, yes I tried checking there, but there is no mapping for Command-W. There is an option for “Terminate the session”, but it was not set to Command-W, and setting it to something else does not affect the behavior of Command-W.

    #24026
    Avatar
    Britgirl
    Keymaster

    Try enabling the “Grab the keyboard” in the Input settings inside the session (via the Menu, Ctrl-Alt-0). When the NoMachine window has the focus, most of the keys are “grabbed” (all the keys/shortcuts that the system allows to grab) and sent to the session instead of the local system.

    #24039
    Avatar
    ramesh
    Participant

    Thanks, yes grabbing the keyboard is a workaround, but it means that I can’t easily Command-Tab away from the NoMachine client window without first ungrabbing.

    In my use case I’m basically running a single application on the remote-side fullscreen (just a browser) and am trying to get as close as I can to an “application remoting” experience, i.e. what VMware would call “Unity view”, and ideally I’d have something like this to configure which key combinations go to the local vs. remote side:

    https://docs.vmware.com/en/VMware-Fusion/11/com.vmware.fusion.using.doc/GUID-A50D0E3C-9549-43B5-AB57-070F805780A3.html

     

    #24335
    Avatar
    Britgirl
    Keymaster

    With NoMachine you can grab the whole keyboard, unfortunately you can’t customize what you grab. It’s an interesting idea. We’ll evaluate whether it can be added to our roadmap. Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.