Forum / NoMachine for Mac / Identical keycode 49 sent to NX server for different keys on my keyboard
- This topic has 4 replies, 2 voices, and was last updated 10 hours, 43 minutes ago by
zedi691.
-
AuthorPosts
-
March 24, 2025 at 09:44 #52402
zedi691
ParticipantHi,
I’m using NoMachine on Mac with a Germany keyboard layout
Key code app reports these keycodes when using ^:10 / 0xa, char: ^
50 / 0x32. , char <. or char | when pressed together with cmd keyon the server I’m check which keycodes arrive:
^:
KeyRelease event, serial 44, synthetic NO, window 0x2a00001,
root 0xf2, subw 0x0, time 3339982390, (-234,-294), root:(1675,661),
state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES,
XLookupString gives 1 bytes: (5e) “^”
XFilterEvent returns: False
KeyPress event, serial 44, synthetic NO, window 0x2a00001,
root 0xf2, subw 0x0, time 3340034238, (60,-16), root:(1969,939),
state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES,
XLookupString gives 1 bytes: (5e) “^”
XmbLookupString gives 0 bytes:
XFilterEvent returns: True
so, in both cased I’m getting keycode 49.
That is my environment:
pvxg0068:/usr/share/X11/xkb/keycodes> setxkbmap -query -v 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev…
Trying to load rules file /usr/share/X11/xkb/rules/evdev…
Success.
Applied rules from evdev:
rules: evdev
model: evdev
layout: de
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwertz)
types: complete
compat: complete
symbols: pc+de+inet(evdev)+terminate(ctrl_alt_bksp)
geometry: pc(pc104)
rules: evdev
model: evdev
layout: de
Can anybody show me, what has to be chage to get <,> and | (bar) working ?
March 24, 2025 at 15:29 #52410Britgirl
KeymasterHi, I’m assuming you have the latest NoMachine packages on both sides, player and server. An issue on Mac and related to external keyboards was fixed a few releases ago.
You can read more about it here:
Some keys are not correctly mapped on a Macbook external keyboard
https://kb.nomachine.com/TR02V11091If you are experiencing the issue on an external keyboard, the workaround is to change the following key in the player.cfg:
<option key="Ignore the keyboard physical layout" value="true" />
. Exit the player first, make the change, save and then reopen the player and start your connection.March 25, 2025 at 07:50 #52415zedi691
ParticipantHi
i’ve done this:/Applications/NoMachine.app/Contents/Frameworks
user@KHKYQWYP29 Frameworks % cat ./scripts/etc/localhost/player.cfg
######################################################################
# #
# Copyright (c) 2010, 2025 NoMachine, http://www.nomachine.com. #
# #
# All rights reserved. #
# #
######################################################################
#
# Specify the path of base directory where the NX software has been
# installed.
#
PlayerRoot = “/Applications/NoMachine.app/Contents/Frameworks”
Restarted nx client on my mac
But no effect at all.
Both keys ^° and <>| are sending sending keycode 49 (reported by xev)
on my mac locally, the keycodes are (catches with key codes app):
10/0xa for ^ and 50/0x32 for < here everything works as expected.March 25, 2025 at 11:30 #52419Britgirl
KeymasterIt’s not clear whether you made the change to the player.cfg that was requested. On the Mac you are connecting from, look for the cfg file in .nx/config in your home directory. It’s not in the path of the application.
Also confirm if you are using an external keyboard.
March 25, 2025 at 14:29 #52424zedi691
ParticipantThat finally solved the issue with my external keyboard
keya ^° and <>| are correctly assigned.Thx for your help
-
AuthorPosts
You must be logged in to reply to this topic. Please login here.