[FreeNX-kNX] Client reports keyboard dk instead of keyboard da to Windows...

Alastair Johnson alastair at solutiontrax.com
Tue Feb 28 09:27:51 UTC 2006


This patch is so simple you may as well do it by hand. Find freenx  file 
nxnode (mine's in /usr/bin) and open it for editing. Go to line 224. The code 
will look very much like that in the patch, but missing the lines beginning 
with a +. Insert the missing lines (but without the '+') and save the file.

The patch is generated by the diff command which finds the differences between 
2 (groups of) files. This generates output like the patch below. The patch 
command can apply that output to existing files. This saves passing round a 
whole source file or tree when only a few lines have changed. Both commands 
have comprehensive man pages, and google is your friend if you want to find 
out more. Graphical tools like kdiff3 can be handy too.

On Monday 27 February 2006 20:17, Verner Kjærsgaard wrote:
> Mandag den 27. februar 2006 07:33 skrev Mads Jepsen:
> > This problem has existed for all 1.5.0 Clients I have used. I started
> > using NX in september last year.
> >
> > > > - from a feedback from NoMachine support, I know that the
> > > > nx-win-client (version 138) sends keybd=dk to the MS2003 server
> > > > instead of keybd=da as it should.
> >
> > I
> > Herbert Graeber made a fix for a problem with the german keyboard Maybe
> > you can use it:
> >
> > 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
>
> Hi Herbert and list,
>
> - thank you for your help!
>
> Unfortunately, I don't know how to use the info provided. Although I'm a
> skilled programmer for many years (assembler, C), I have no knowledge of
> how to apply patches and so on, as I've not worked in this area.
>
> As I understand it I need the source for the server part (nxnode)? And then
> I should be able to apply the patch to the source file in question - by
> giving some commands? Then recompile and link...
>
> Can someone guide me to a short how-to or some?
>
>
>
>
> ------------------------------
> Med venlig hilsen/Best regards
> Verner Kjærsgaard
> _______________________________________________
> FreeNX-kNX mailing list
> FreeNX-kNX at kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx




More information about the FreeNX-kNX mailing list