free...@martins.cc wrote, On 08/25/2011 10:11 PM:
>> You are right, which is why I asked for server-side mapping. RDP uses
>> keyboard scancodes, which are independent of a particular keyboard layout.
>> The keyboard layout used is therefore the remote keyboard layout.
>>
>> http://www.freerdp.com/wiki/doku.php?id=keyboard


(FWIW I don't think everything on that page describes everything correctly.)

> I've read through that before, but it doesn't give me any
> clue on how to solve this problem :-)

The basic mode of operation for the RDP protocol is to transfer some 
kind of keyboard scan codes to the server and the server uses its 
keyboard layouts to map to unicode symbols and modifiers. The keyboard 
layout configured on the client side is thus not used. It is however 
possible for the client to give a hint to the server about which 
keyboard layout to use.

I guess your problem is that xfreerdp happens to give a keyboard layout 
hint to the server that do that it doesn't use your custom layout on the 
server side. The other client apparently happens to do something 
different that causes what you want. Explicitly telling xfreerdp which 
keyboard layout to ask the server to use might fix your problem.

(Another mode of operation for RDP is to transfer unicode symbols. That 
obviously uses the client side keyboard layout. That can however only 
(as far as I know) be used to transfer 'real' unicode symbols. Modifier 
keys (such as Alt which on windows activates the menu) do not have a 
unicode value and most be transferred as scan codes. FreeRDP could have 
a 'use client side keyboard layout' mode that worked that way. But since 
you are moving modifier keys around I doubt it will help you.)

/Mads

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to