[X2Go-User] keyboard remapping not working

Q godblessfq at gmail.com
Thu Feb 19 18:24:03 CET 2015


Hi everyone,
I have remapped the capslock key to control keys on all my computers, also I
am using xcape so a short press of the capslock key will send an escape
character. 
In x2go all the remapping and xcape stuff are not working. I have tried to 
kbd-type to auto and not set it at all in the pyhoca-cli. Is it possible to
send the key generated in the client side unmodified to the server? Below is
what I got by googling, but I am still unclear how to make my setup work.
Thank you!


The server now offers three modes for configuring the session's keyboard
settings:


  1. no change via client
     -> configure your keyboard setup through desktop tools, e.g.
        gnome-keyboard-properties

  2. set model and layout through x2goclient

-> use -type parameter of nxagent/x2goagent to set the keyboard model/type

     -> x2goclient + pyhoca-gui run setxkbmap -layout <layout> after
        session startup
     -> pyhoca-gui additionally runs setxkbmap -variant <variant> after
        session startup (new session profile: ,,variant'').
        ---> RECOMMENDED for x2goclient

  3. NEW: autodetect the client-side keyboard layout through NX
     -> set the keyboard model/type to ,,auto'' (instead of pc104/us etc.)
     -> nxagent will create a file ~/.x2go/<session>/keyboard with all
        client-side keyboard settings
     -> x2goruncommand and x2goresume-session will call a new script:
        called x2gosetkeyboard
     -> x2gosetkeyboard will reset the keyboard settings and set all settings
        as found in the keyboard file






More information about the x2go-user mailing list