Dear XRDP developers I have a problem that might resemble the problem below. After having added rdp_layout_dk in [default_rdp_layouts] and [default_layouts_map] a query from setxkbmap says:
rules: evdev model: pc104 layout: dk The problem is that I need it to be a pc105 model (which might be the same problem for Javier). I tried setting model=pc105 in [default] in xrdp_keyboard.ini but that did not change anything. Should the format of model be something else? Best, Lars On 12/08/2014, at 09.04, Javier Corcuera Urraca <fjcor...@barpimo.com<mailto:fjcor...@barpimo.com>> wrote: Hi, All desktop clients configured with "es" keyboard layout are working OK. On mobile clients, symbols are OK, but with special letters (ñÑ, vocal letters with accents, and extended symbols) are problems. Mobile clients have different combinations of settings: app vendor, keyboard vendor, hardware keyboard... it is so difficult to get unified settings. Now we are using Microsoft Remote Desktop on android and iOS, with symbols and ñÑ, but without accents. In the xrdp.log file I can see: [WARN ] local keymap file for 0x040a found and dosen't match built in keymap, using local keymap file This message always appear, even with the file /etc/xrdp/km-040a.ini generated with "xrdp-genkeymap". Now, with the /etc/xrdp/xrdp_keyboard.ini "es" settings, the default layout is always: setxkbmap -query rules: evdev model: pc104 layout: es Can I do anything else? Thanks. -- Un saludo, Javier Corcuera | Barpimo SA El mar, 12-08-2014 a las 09:30 +1000, Nevo escribió: 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<mailto: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<mailto: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. ------------------------------------------------------------------------------ _______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net<mailto: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