Cannot change keyboard to custom layout

Forum / NoMachine for Linux / Cannot change keyboard to custom layout

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46698
    sygi
    Participant

    I have a custom keyboard layout stored in /usr/NX/share/X11/xkb/symbols/sygi (on the server) and in the /usr/share/X11... on both local and server, which both are Linux machines. When using either of these machines, I can change the keyboard layout via setxkbmap sygi.

    When connecting with NoMachine (8.5.3) (with ssh authentication), I am able to change layout to the standard ones (eg. setxkbmap fr), but when running setxkbmap sygi, I get: Error loading new keyboard.

    Any idea how to debug the issue?

     

    #46719
    Britgirl
    Keymaster

    Are you connecting to the physical display and are you running ‘setxkbmap sygi’ in a terminal running on the server?

    #46720
    sygi
    Participant

    In the meantime, I figured it out, but I couldn’t comment here as the post wasn’t authorized. The issue in my case was that the NX keymap file wasn’t set to be globally readable for some reason. It’s a bit annoying that xkb doesn’t show any logs related to what went wrong when it tried to set the keymap.

    #46729
    Britgirl
    Keymaster

    Ah now I understand. You submitted a topic with the same problem a while back

    Using NoMachine with a custom keyboard layout

    and in that reply Fra81 replied that “NoMachine doesn’t load the keymaps from the system path (/usr/share/X11/xkb), but it ships its own keyboard config files in /usr/NX/share/X11/xkb. “

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

This topic was marked as solved, you can't post.