[FreeNX-kNX] Language change

Stefan Bauer stefan.bauer at plzk.de
Wed Sep 23 06:35:50 UTC 2009


Steven James Drinnan schrieb:
> Please note that each user needs to have their own language not
> gloabally.
> 
> Steven Drinnan

Steve,

keep in mind, that you need the wanted charset on the remote machine
and have the charset specified in the users configuration as well.

I just installed the latest nomachine-Client to provide the
configuration snippet:

(You find the configuration in C:\Documents and
Settings\username\.nx\config\name.nxs)

There are then 2 entries like:

<option key="Current keyboard" value="true" />
<option key="Custom keyboard layout" value="" />

Another way to specify the user language is to come up with
individual scripts for each of them like:

User A wants English so he get a script called
/usr/local/bin/english.sh which sets the variables for him:

#!/bin/sh
setxkbmap -rules xfree86 -model pc104 -layout us -option ""
xterm

So if he runs this script, it should first set the environment and
then start an xterm.

Stefan


PS: On my debian machine, the path to the keyboard layouts where
different, so i had to adjust it by setting:

AGENT_EXTRA_OPTIONS_X="-xkbdir /usr/share/X11/xkb"

in /usr/NX/bin/nxloadconfig

Furthermore, this are the packages i had to install on my debian
machine to get things working:

openssh-server vim patch libc6-dev expect foomatic-db-engine
foomatic libaudiofile0 make gcc openssl libfreetype6-dev libxext6
libxpm4 libxcomposite1 xutils-dev xutils xkb-data xfonts-base xkbsel
xterm xbase-clients xfonts-base

Really important was xkb-data and xfonts-base as well as xkbsel for
the language support.

Cheers



More information about the FreeNX-kNX mailing list