Forum / NoMachine for Mac / Ctrl and Fn keys not working in 5.1.54
- This topic has 5 replies, 2 voices, and was last updated 8 years, 1 month ago by graywolf.
-
AuthorPosts
-
October 20, 2016 at 12:32 #12745matteParticipant
Hi all.
I use NoMachine to connect from my desktop computer (iMac running Linux) –client– to the small screen of my MacBook Pro –server–.
I recently updated NoMachine to the latest version (free 5.1.54) on my MacBook Pro running MacOS Sierra (to solve the blank screen issue: https://www.nomachine.com/forums/topic/nomachine-on-macos-sierra). However, now the Ctrl and Fn keys are no more working as expected.
Here the behavior:
– Ctrl+(Left/Right/Up/Down) Arrows does not activate Mission Control functions (switch to left/right Spaces, windows list).
– Ctrl keyworks well in terminal (e.g., Ctrl-C sends interrupt, Ctrl-R starts history search, etc.).
– Fn keys do not activate the corresponding functions mapped in MacOS (Mission Control, Volume Control).I carried out the following tests:
– Ctrl and Fn keys are correctly received by the keyboard viewer.
– Ctrl keys are detected by xev.
– I tried to connect with different clients/OSs (5.x and 4.x on Linux Debian sid and Windows 7), getting the same behavior.Everything worked fine before the update, so I don’t think this is a configuration issue (“Grab the input keyboard” is checked on the client). It seems NoMachine is no more sending the Ctrl/Fn keys to the main window manager.
Is anyone else experiencing the same problem? Does anyone know if this is a known issue that will be solved in next versions?
Cheers,
MatteoOctober 28, 2016 at 10:01 #12782graywolfParticipantHello,
can you tell me which NoMachine version worked for you, before the update?
Ctrl+(Left/Right/Up/Down) Arrows does not activate Mission Control functions (switch to left/right Spaces, windows list).
I tried this with 5.1.54, no problem. I suspect those combo do nothing if Spaces are not enabled or have only one Space.
Ctrl keyworks well in terminal (e.g., Ctrl-C sends interrupt, Ctrl-R starts history search, etc.).
So you have no problem with Ctrl key.
Fn keys do not activate the corresponding functions mapped in MacOS (Mission Control, Volume Control).
Mission Control, Volume Up/Down, Brightness actually don”t work. But Mission Control pops up if I use F9 (that means I have to press two keys: fn + F9). But I see previous version of NoMachine had the same behavior. Did they work in old version you used before the update?
- This reply was modified 8 years, 1 month ago by graywolf.
Attachments:
November 4, 2016 at 09:12 #12820matteParticipantHello,
can you tell me which NoMachine version worked for you, before the update?
NoMachine 5.1.24. I cannot rollback because that version doesn’t work on MacOS Sierra.
So you have no problem with Ctrl key.
Ctrl key works well, but it looks like its combination with arrows are not intercepted by the OS. Indeed, when the focus is on a terminal, I see some weird characters (like “;5C”) when I press one of the combinations Ctrl + Left/Up/Down/Right arrow.
Mission Control, Volume Up/Down, Brightness actually don”t work. But Mission Control pops up if I use F9 (that means I have to press two keys: fn + F9). But I see previous version of NoMachine had the same behavior. Did they work in old version you used before the update?
They all worked in old versions… After some more trials, I discovered that F-keys in my local keyboard (Linux OS) behave like fn+F-key in the remote keyboard (macOS). Unfortunately, I have a standard PC keyboard on my local machine (which runs Linux) and cannot try if the local combination fn+F-key activate Mission Control and similar features (main functions for first row keys in the Mac keyboard). In my environment, F9-F10 are intercepted by Linux for Volume control.
Matteo
November 4, 2016 at 11:32 #12826graywolfParticipantI discovered that F-keys in my local keyboard (Linux OS) behave like fn+F-key in the remote keyboard (macOS).
So forget what I wrote about fn+F9. Just press F9 and you should get Mission Control. But you wrote F9 is caught by your Linux desktop. It looks like “Grab the keyboard” is not enough. Try to run client in full screen mode (this completely grabs the keyboard). If nothing changes, remap the keyboard shortcuts of your Linux desktop.
Try also this: edit configuration file /Applications/NoMachine.app/Contents/Frameworks/etc/node.cfg to have:
DisplayServerExtraOptions "-oldeventapi 0"
and check if behavior changes.
November 8, 2016 at 16:09 #12841matteParticipantHi,
So forget what I wrote about fn+F9. Just press F9 and you should get Mission Control. But you wrote F9 is caught by your Linux desktop. It looks like “Grab the keyboard” is not enough. Try to run client in full screen mode (this completely grabs the keyboard). If nothing changes, remap the keyboard shortcuts of your Linux desktop.
I always use the client in fullscreen mode. After some more digging, I can confirm my F-keys are sent from client (Linux) to server (MacOS) as mere F-keys: F11 and F12, which are mapped to “show desktop” and “show dashboard” work well. What I feel is missing, is a method to map keys to the actions implemented by default in the Mac keyboard (the big icons in the F-keys), for example an emulation of the Fn key.
Try also this: edit configuration file /Applications/NoMachine.app/Contents/Frameworks/etc/node.cfg to have:
DisplayServerExtraOptions "-oldeventapi 0"
That works!!! Now the combinations Ctrl+Up/Down/Left/Right work as expected and I can switch my virtual desktops.
Thank you very much.
November 10, 2016 at 11:46 #12865graywolfParticipantI always use the client in fullscreen mode. After some more digging, I can confirm my F-keys are sent from client (Linux) to server (MacOS) as mere F-keys: F11 and F12, which are mapped to “show desktop” and “show dashboard” work well. What I feel is missing, is a method to map keys to the actions implemented by default in the Mac keyboard (the big icons in the F-keys), for example an emulation of the Fn key.
OK. Definitely this is something to be implemented, it didn’t get broken because of the software update.
-
AuthorPosts
This topic was marked as solved, you can't post.