[FreeNX-kNX] Keyboard problems
Herbert Graeber
lists at graeber-clan.de
Thu Dec 22 22:22:53 UTC 2005
Am Donnerstag, 22. Dezember 2005 22:40 schrieb Marco:
> Herbert Graeber wrote:
> > Now I have found out, what happens. The Nomachine client sends a kbtype
> > of pc102/de to the FreeNX-Server. That's wrong! The keybord is a
> > pc105/de. I hacked the nxnode script to force the kbtype to pc105/de, and
> > everything works find.
>
> Great that somebody investigated the problem.
>
> Please tell us which line you patched exactly.
It's simple: replace the value of the varible kbtype by the correct value
before it's first use. Here is the patch:
--- nxnode.org 2005-12-22 23:18:49.000000000 +0100
+++ nxnode 2005-12-22 11:51:30.000000000 +0100
@@ -224,6 +224,9 @@
export XAUTHORITY="$USER_FAKE_HOME/.nx/C-$sess_id/authority"
export HOME="$USER_FAKE_HOME"
+ # hack: fix for german keyboard layout
+ [ "$kbtype" = "pc102/de" ] && kbtype="pc105/de"
+
# backwards compatibility
K=""
[ -n "$keyboard" ] && K="-keyboard $keyboard"
Cheers,
Herbert
More information about the FreeNX-kNX
mailing list