[FreeNX-kNX] GNOME per user language setting and NX
Paul van der Vlis
paul at vandervlis.nl
Fri Aug 18 12:16:31 UTC 2006
Paul van der Vlis schreef:
> Hristo Benev schreef:
>
>>Does somebody know how User language could be changed (not system wide)
>>in GNOME?
>>
>>I use FreeNX server freenx-0.5.0-8.c4 + NXClient 2.0.0-93 on CentOS 4.3
>>
>>I found this setting in KDE, but majority of apps I use are from GNOME.
>>
>>When I log locally I can change the language, but it does not work with
>>NX (setting are not kept). Example: I set it locally by default in
>>French (My system wide is English), and when I login via NX I receive
>>English interface.
>>
>>Any suggestions?
>
>
> What I do is the following:
>
> In /etc/nxserver/node.conf I change the COMMAND_START_GNOME variabele
> into a script. I use: /usr/local/bin/gnome-start
>
> In this script I can change anything for the session I like.
>
> --------
> #!/bin/bash
> umask 0002
> export TESTVAR=test21
> /usr/bin/X11/setxkbmap -rules xfree86 -model pc104 -layout us -option ""
> # /usr/lib/control-center/gnome-settings-daemon &
> /usr/bin/gnome-session
> --------
>
> You could also add something like:
> ~/.gnomerc
This is wrong. I've tested it and this works:
. ~/.gnomerc
In ~/.gnomerc you can use "export" to set the environment-variables.
With regards,
Paul.
More information about the FreeNX-kNX
mailing list