[FreeNX-kNX] Keyboard Mappings Continued

Aidan Marks aidan at cisco.com
Sun Apr 18 22:24:52 UTC 2010


I have ${client:+client=$client,} present on my gentoo server but key
maps are still broken.

in fact, key maps (arrow keys etc) have been broken for me for a long
time.  I'm currently on evdev/xorg-server 1.8.0 on both client and server.

it did work a couple of years ago, probably pre evdev.

Il 17/04/2010 00:08, chris at ccburton.com ha scritto:
> Nearly right Gregory !!
> 
> 
> What you really have to do is run :-
> 
> NX (libraries) version 3.3 or later, and
> 
> a patched FreeNX /usr/libexec/nx/nxnode (on fedora) 
> 
> with this :-
> 
> cat << EOF > "$USER_FAKE_HOME/.nx/C-$sess_id/options"
> nx/nx,${keyboard:+keyboard=$keyboard,}${kbtype:+kbtype=$kbtype,}${kbload:+kbload=$kbload,}${keymap:+keymap=$keymap,}${geometry:+geometry=$geometry,}${client:+client=$client,}${resize:+resize=$resize,}${CACHE}${IMAGES}${PACK}link=$link,nodelay=$nodelay,type=$realtype${clipboard:+,clipboard=$clipboard}${composite:+composite=$composite},cleanup=0,product=LFE/None/LFEN/None,shmem=1,${backingstore:+backingstore=$backingstore,}shpix=1,${ACCEPT}cookie=$proxy_cookie,id=$sess_id,samba=$samba,media=$media${sync:+,sync=$sync}${cups:+,cups=$cups}${keybd:+,keybd=$keybd}${aux:+,aux=$aux}${
> http:+,http=$http
> }${rdpcolors:+,rdpcolors=$rdpcolors}${rdpcache:+,rdpcache=$rdpcache}${fullscreen:+,fullscreen=1}${menu:+,menu=$menu}:$display
> EOF
> 
> ( from freenx-server-0.7.3-15.fc12 ) in it, around about line 1342.
> 
> The bit you need for the mappings is the ${client:+client=$client,}
> 
> Which rpms did you install??
> 
> The Fedora12 rpms should work . . . . 
> 
>  . . . . I can't see any Fedora13 ones
> 
> 
> 
> Gregory Carter <gcarter at aesgi.com> wrote on 16/04/2010 14:47:27:
> 
>> I have a solution to my keyboard mapping problems, which I would like to 
> 
>> share with the list.
>>
>> First my setup:
>>
>> Server: Fedora 13 beta x64
>> Client: Fedora 13 beta x64
>>
>> No Machine Client 3.4.07 on the Fedora 13 Beta client.
>>
>> Problem:
>>
>> Logging in I have no arrow keys, and the numeric keypad is mapped 
>> wrong.   This was a game stopper as I wanted to use it with Remote 
>> AutoCAD sessions.
>>
>> I honestly couldn't find anything with respect to NX mapping keys, but 
>> after looking at the code I found it was more of a X Windows problem, 
>> than a NX problem.
>>
>> You need to login to the nx session that is giving you keyboard 
>> problems, and install xkeycaps:
>>
>> First of all you should get the graphical front end to xmodmap.  In 
>> Fedora 13 it was a:
>>
>> yum install xkeycaps
>>
>> Once you have xkeycaps running in your nx session, you right click on a 
>> key, and then select the correct key on the right to remap it.  I had to 
> 
>> do this for my entire keypad, and arrow keys.
>>
>> After you do that, it saves out a dot file to your local directory.
>>
>> You have to execute "xmodmap <dot-file-wrtten-out-by-xkeycaps>"
>>
>> Just pass the dot file to xmodmap, and presto, all of my issues are 
> gone.
>>
>> To make it permenant you will have to set that command in your bashrc or 
> 
>> bash_profile when you login to your NX session or you can execute 
>> manually by hand when you need to.
>>
>> Very nice little program, and so ends a very frustrating evening of not 
>> having my keyboard mapped right in Fedora 13 under NX.
>>
>> -gc
>>
>>
>> ________________________________________________________________
>>      Were you helped on this list with your FreeNX problem?
>>     Then please write up the solution in the FreeNX Wiki/FAQ:
>>
>>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>>
>>          Don't forget to check the NX Knowledge Base:
>>                  http://www.nomachine.com/kb/ 
>>
>> ________________________________________________________________
>>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>>       https://mail.kde.org/mailman/listinfo/freenx-knx
>> ________________________________________________________________
> 
> 
> 
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
> 
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>   
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        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