Hi Jay!
   Yes. That's right.  A brief example to set the XRDP keyboard layout (taking 
Javier's case):
  
   1. you put "rdp_layout_es=0x0000040A" and "rdp_layout_es=es" in 
"default_rdp_layouts" and "default_layouts_map" sections.
   2. from your client, you pass "-k 0x0000040A" from the command line.
   3. xrdp will receive "0x0000040A" for the keyboard layout, and try to find 
the matching X11 keyboard id from "default_rdp_layouts" section.
   4. once it finds "rdp_layout_es" for "0x0000040A", then it will find 
"rdp_layout_es" from "default_layouts_map" section and set "es" as the X11 
keyboard layout.

   Let me know if you have any problems!


Nevo

On Aug 12, 2014, at 4:41 AM, Jay Sorg <jay.s...@gmail.com> wrote:

> 
> I think that's right.
> Nevo, I merged you keyboard config file, is that right?
> 
> Jay
> 
> On Mon, Aug 11, 2014 at 5:33 AM, Javier Corcuera Urraca 
> <fjcor...@barpimo.com> wrote:
> Hi,
> I'm using devel branch on Debian 7, compiled from "x11rdp-o-matic" script, 
> with Linux/MS/Android/iOS/MacOS clients, and using LXDE and Matchbox 
> environments.
> Now, our only issue is configuring Spanish keyboard.
> I'm trying with commands like " setxkbmap -layout 'es,es' -model pc105" and 
> "xrdp-genkeymap /etc/xrdp/km-040a.ini", without success.
> 
> Recent changes had added the configuration file : /etc/xrdp/xrdp_keyboard.ini
> I have added two lines:
> 
> [default_rdp_layouts]
> ...
> rdp_layout_es=0x0000040A
> 
> [default_layouts_map]
> ...
> rdp_layout_es=es
> 
> 
> Now, every client can login with Spanish keyboard.
> Is this the correct way?
> 
> Thanks for your work.
> 
> -- 
> Un saludo,
> Javier Corcuera | Barpimo SA 
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> xrdp-devel mailing list
> xrdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xrdp-devel
> 
> 

------------------------------------------------------------------------------
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to