Forum / NoMachine for Linux / Keyboard mapping from Mac to Centos not working
Tagged: keyboard mac
- This topic has 9 replies, 2 voices, and was last updated 8 months, 4 weeks ago by Britgirl.
-
AuthorPosts
-
December 1, 2022 at 10:52 #41764TomasMParticipant
Hi,
When running [removed] I get correct and expected keyboard mapping, but as soon as I use NoMachine e.g. the keys /|\ gets inaccessable, it seems as if the Mac “options” key are lost.
Running Macbook Pro and connect to CentOS 7. NoMachine 8.2.3 (or [removed]).
Many thanks for your assistance.
Mvh/tomas.
Ps. According to previous recommendations I upgraded to NoMachine 8.2.3 and that actually resolved the wrongly mapped <>, which previously were mapped to § and °. (https://forums.nomachine.com/topic/problematic-keys-when-connecting-from-mac-to-kde-on-centos)December 13, 2022 at 10:18 #41971BritgirlKeymasterHi,
if you use the right side Alt/Option (instead of the one on the left) do the key works correctly? The right Alt acts as AltGr, which is the modifier needed in the combination to access those three symbols in the Swedish map (info obtained from your earlier topic).
If using the right Alt/Option is not comfortable, this command swaps left and right Alt keys:
setxkbmap -option lv3:lalt_switch -option lv3:ralt_alt
December 13, 2022 at 16:33 #41976TomasMParticipantHi,
Unfortunately the right side does not work either. While the left side Option key + 7 gives nothing (hoped for “|”) the left side Option +7 yeilds “{“.
Thanks,
Tomas.December 16, 2022 at 18:11 #42027BritgirlKeymasterSo we will more info because we have been unable to reproduce this behaviour. Send us:
output of setxkbmap -print
output of ‘xev’ when you press those keys
file layout.txt generated with that command
xmodmap -pke > layout.txt
January 12, 2023 at 15:19 #42435TomasMParticipantHi again,
Sorry for the delay with this. Still, appreciate your assistance.
Here are the outputs:
c04 % setxkbmap -print
xkb_keymap {
xkb_keycodes { include “evdev+aliases(qwerty)” };
xkb_types { include “complete” };
xkb_compat { include “complete” };
xkb_symbols { include “pc+se+inet(evdev)” };
xkb_geometry { include “pc(pc104)” };
};
< (pressed < ) (in VNC and Screen Sharing this gives key code 94)
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156377738, (83,33), root:(741,54),
state 0x0, key code 49 (keysym 0xa7, section), same_screen YES,
XLookupString gives 1 bytes: (a7) “§”
XmbLookupString gives 1 bytes: (a7) “§”
XFilterEvent returns: False
> (pressed shift + < )
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156415086, (57,98), root:(715,119),
state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156415383, (57,98), root:(715,119),
state 0x1, keycode 49 (keysym 0xbd, onehalf), same_screen YES,
XLookupString gives 1 bytes: (bd) “½”
XmbLookupString gives 1 bytes: (bd) “½”
XFilterEvent returns: False
/ (shift+7 -> correct)
KeyPress event, serial 40, synthetic NO, window 0x4800001,:q
root 0x114, subw 0x4800002, time 4156530361, (54,45), root:(712,66),
state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x4800002, time 4156530654, (54,45), root:(712,66),
state 0x1, keycode 16 (keysym 0x2f, slash), same_screen YES,
XLookupString gives 1 bytes: (2f) “/”
XmbLookupString gives 1 bytes: (2f) “/”
XFilterEvent returns: False
| (opt+7 -> blank, but seems to multiply the next event with /)
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156593900, (73,132), root:(731,186),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156596885, (73,132), root:(731,186),
state 0x8, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) “7”
XmbLookupString gives 1 bytes: (37) “7”
XFilterEvent returns: False
\ (shift+opt+7 -> blank)
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156693133, (22,96), root:(680,150),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156693286, (22,96), root:(680,150),
state 0x8, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 40, synthetic NO, window 0x4800001,
root 0x114, subw 0x0, time 4156693560, (22,96), root:(680,150),
state 0x9, keycode 16 (keysym 0x2f, slash), same_screen YES,
XLookupString gives 1 bytes: (2f) “/”
XmbLookupString gives 1 bytes: (2f) “/”
XFilterEvent returns: False
Attachments:
February 3, 2023 at 18:17 #42835BritgirlKeymasterThanks for the additional info. In your earlier topic you mentioned you were using Workstation, so I assume you still are.
Could you tell us if you see any difference in how keyboard is mapped when connecting to 1) virtual NoMachine desktop 2) physical display and 3) tell us if you are connecting to a vnc session already running.
February 4, 2023 at 10:22 #42837TomasMParticipantYes, still using Workstation.
No difference between virtual desktop and physical display. When running [removed] the keyboard is as expected = good.
August 14, 2023 at 14:51 #45137BritgirlKeymasterHi Tomas,
Update to the latest 8.8 and tell us if there is any improvement because some fixes have been applied to keyboard in general. Is the result the same as before?
October 17, 2023 at 14:51 #45707TomasMParticipantHi Britgirl,
Unfortunately, I get the same results.
Short summary:
In the NoMachine main window, when selecting the session, keys | and \ works as expected. In the Centos session, these keys do not work any longer. From a PC, accessing the same session, this is not a problem.Thanks.
March 14, 2024 at 13:08 #47415BritgirlKeymasterThe bug report can be tracked here: https://kb.nomachine.com/TR02V11091
-
AuthorPosts
This topic was marked as solved, you can't post.