Forums / NoMachine for Mac / Problematic keys when connecting from Mac to KDE on CentOS
Tagged: mac keyboard
- This topic has 7 replies, 3 voices, and was last updated 3 weeks, 6 days ago by
Britgirl.
-
AuthorPosts
-
January 27, 2022 at 19:49 #37215
TomasM
ParticipantHi,
When connecting to CentOS server (KDE) from my Mac using VNC I have a close to perfect match between my Mac keyboard and what VNC gives me. However, when I connect to the server via NoMachine (also KDE) I am struggling to get it correct.
I would be happy if I could regain <> from left of the z key and $ from shift+4. Right now they are mapped to §, ° and ¤ respectively.
I have searched the forum, I have tried different setxkbmap options, I have tried using the KDE GUI, but all that happens is that I get more confused.
My setxkbmap -print looks like this (not sure if relevant since VNC works as is):
xkb_keymap {
xkb_keycodes { include “evdev+aliases(qwerty)” };
xkb_types { include “complete” };
xkb_compat { include “complete” };
xkb_symbols { include “pc+se(mac)+inet(evdev)+level3(lwin_switch)” };
xkb_geometry { include “pc(pc104)” };
};Any clues would be highly appreciated.
Thanks,
Tomas.(using Workstation 7.7.4, virtual display, CentOS 7, KDE+Gnome+fvwm)
January 31, 2022 at 18:20 #37256Britgirl
KeymasterCan you show me the output of xmodmap -pke? What does xev utility show when the problematic keys are pressed?
February 1, 2022 at 09:08 #37262TomasM
ParticipantHi Britgirl,
Many thanks for your answer. Yesterday I found that it is related to the external keyboard (Logitech MX Keys for Mac). When I use the MBP keyboard, all is fine. Still a problem and grateful for any assistance. A reminder, partly to myself, both keyboards work when writing on the mac display (like this text), it is just in the NoMachine Linux environment.
When I use the internal keyboard and press (and get) <
KeyPress event, serial 40, synthetic NO, window 0x5200001,
root 0x114, subw 0x0, time 4016131838, (109,89), root:(109,112),
state 0x0, keycode 94 (keysym 0x3c, less), same_screen YES,
XLookupString gives 1 bytes: (3c) “<”
XmbLookupString gives 1 bytes: (3c) “<”
XFilterEvent returns: FalseWhen I use the external keyboard and press the < key (and get §):
KeyPress event, serial 40, synthetic NO, window 0x5200001,
root 0x114, subw 0x0, time 4016229917, (55,105), root:(682,887),
state 0x0, keycode 49 (keysym 0xa7, section), same_screen YES,
XLookupString gives 1 bytes: (a7) “§”
XmbLookupString gives 1 bytes: (a7) “§”
XFilterEvent returns: FalseIf I do the same sequence using a VNC session, I get the following, first with the built-in keyboard:
KeyPress event, serial 40, synthetic NO, window 0x1600001,
root 0x395, subw 0x0, time 4016999651, (74,50), root:(563,463),
state 0x0, keycode 94 (keysym 0x3c, less), same_screen YES,
XLookupString gives 1 bytes: (3c) “<”
XmbLookupString gives 1 bytes: (3c) “<”
XFilterEvent returns: FalseAnd with the external keyboard (VNC, pressing <)
KeyPress event, serial 40, synthetic NO, window 0x1600001,
root 0x395, subw 0x0, time 4017265012, (61,108), root:(550,521),
state 0x0, keycode 94 (keysym 0x3c, less), same_screen YES,
XLookupString gives 1 bytes: (3c) “<”
XmbLookupString gives 1 bytes: (3c) “<”
XFilterEvent returns: FalseI attached the output of the xmodmap command.
Any clues?
Thanks again,
Tomas.Attachments:
March 7, 2022 at 18:07 #37821Britgirl
KeymasterJust a quick update on this. We decided to order a Logitech MX Keys for Mac to investigate, which we are in the process of doing now.
March 24, 2022 at 15:02 #37998Tor
ContributorHi Tomas. Do you use Karabiner or another keyboard customizer on macOS?
March 27, 2022 at 13:42 #38026TomasM
ParticipantApril 13, 2022 at 13:17 #38320Britgirl
KeymasterTomasM, please check your inbox for emails from us 🙂
April 27, 2022 at 17:57 #38445Britgirl
KeymasterTomasM, just to let you know we are analysing the content you sent us.
-
AuthorPosts
You must be logged in to reply to this topic.