[X2Go-Dev] x2gosetkeyboard -- automatic detection of the client-side keyboard setup
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Tue May 29 11:11:53 CEST 2012
Hi all,
over the weekend I have worked a lot on the keyboard setup within X2Go
sessions.
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
To test this (third) new feature, you only have to install the
x2goserver packages from either of the nightly repositories. NX
already has this feature since 2:3.5.0.12 (actually earlier, but the
named version is currently in our main repositories).
With x2goclient you have to set the keyboard type/model to auto and
leave the layout field empty.
With PyHoca-GUI (from the nightly builds) you have to set the keyboard
type/model to auto and leave the fields layout and variant empty.
Both applications will have proper GUI elements to configure this more
handily in the near future.
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148
GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120529/05ad0a4e/attachment.pgp>
More information about the x2go-dev
mailing list