There is a separate parameter (NoMacHotkeys) for disabling the macOS menu accelerators. Referring to https://github.com/TurboVNC/turbovnc/issues/162, this takes care of all of the Command- key combinations except for:
Command-Q
Command-Comma
- If such is desired, I can probably intercept and transmit
these as well whenever NoMacHotkeys is set.
Command-Space
- This can be disabled under System
Settings-->Keyboard-->Keyboard Shortcuts-->Spotlight.
Command-Tab
Command-H
- Not much I can do about these without extending the TurboVNC
Viewer's keyboard grabbing feature to macOS, and thus far my
attempts at that have been unsuccessful. (Refer also to https://github.com/TurboVNC/turbovnc/issues/162.)
DRC
--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/turbovnc-users/d7bc7428-fa5c-4211-a29c-607e6c2b98ddn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/turbovnc-users/L9AQZ1Q0Qao/unsubscribe.
To unsubscribe from this group and all its topics, send an email to turbovnc-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/turbovnc-users/157f76ca-83b8-41da-bd20-e6fc0151038a%40virtualgl.org.
It is possible to remap the accelerator in
System Settings-->Keyboard-->Keyboard Shortcuts-->App
Shortcuts. (Add TurboVNC Viewer as an app, "Hide VncViewer" as
a menu title, then select a key combination other than
Command-H.) In practice, however, this doesn't prevent macOS
from intercepting Command-H. :( macOS keyboard grabbing is the
best solution, but I spent a lot of time trying to figure it out
and failed. The TigerVNC Viewer has such a feature, but porting
their implementation into the TurboVNC Viewer didn't work for
some reason. If someone else wants to look into it, I'm happy
to share my progress so far.
To view this discussion visit https://groups.google.com/d/msgid/turbovnc-users/CAMK4Vu1QMuOqqNMQeAtcU97%3DtOo-sjsQYOEB%2BphSesSo%2BXKPdg%40mail.gmail.com.
You have to click "Other" and select it
manually. Maybe the problem is that it needs to register itself
with the operating system in some way, but I have no idea how to
do that.
To view this discussion visit https://groups.google.com/d/msgid/turbovnc-users/89776ab0-f92f-4c8f-9ef8-e3fe41d6b6adn%40googlegroups.com.