Keyboard mapping from Mac to Centos not working

Forum / NoMachine for Linux / Keyboard mapping from Mac to Centos not working

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #41764
    TomasM
    Participant

    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)

    #41971
    Britgirl
    Keymaster

    Hi,

    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

    #41976
    TomasM
    Participant

    Hi,

    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.

    #42027
    Britgirl
    Keymaster

    So 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

    #42435
    TomasM
    Participant

    Hi 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:
    #42835
    Britgirl
    Keymaster

    Thanks 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.

    #42837
    TomasM
    Participant

    Yes, still using Workstation.

    No difference between virtual desktop and physical display. When running [removed] the keyboard is as expected = good.

     

    #45137
    Britgirl
    Keymaster

    Hi 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?

    #45707
    TomasM
    Participant

    Hi 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.

    #47415
    Britgirl
    Keymaster

    The bug report can be tracked here: https://kb.nomachine.com/TR02V11091

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.