Hi devs,for introspection I have added an x2goserver script: x2gosetkeyboard to X2go Git:
x2gosetkeyboard script: http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff x2gosetkeyboard man page: http://code.x2go.org/gitweb?p=x2goserver.git;a=blob_plain;f=.build_man2html/html/man8/x2gosetkeyboard.8.htmlThe script takes a ,,keyboard'' file from $HOME/.x2go/C-$X2GO_SESSION and parses its contents for the identifiers rules, model, layout, variant, options. These options will then be passed on to a setxkbmap call. The keyboard file layout has been adopted from the free NX project. In the free NX project they have patched nxagent to digest this ,,keyboard'' file.
If the ,,keyboard'' file lacks presence, nothing happens.I would be grateful if people could take a look and comment on potential problems, security issues etc.
I would like to use this script as a post-startup command for python-x2go.If you see anything problematic about this piece of code, please let me know and we try to figure out what solution may be best for all.
Thanks+Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: [email protected], http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpnBS3iQ0HFW.pgp
Description: Digitale PGP-Unterschrift
_______________________________________________ X2go-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/x2go-dev
