xrdp: curly braces on Italian keyboards (i.e. AltGr + Shift + key not working)

2

I installed xrdp on a Ubuntu machine (following this), which works fine except for a problem with the keymap.

On Italian keyboard, you can type curly braces ("{" and "}") by typing Alt Gr+Shift+è and Alt Gr+Shift++, respectively (see picture below, taken from this question). The "è" and "+" characters do not need any key combination, you just press the corresponding key.

Italian keyboard layout

While this works fine on XFCE4 with the physically connected keyboard, this doesn't work when connecting through remote desktop using xrdp (I've experienced this problem using both Windows' Remote Desktop and rdesktop).

When connected through the remote session, the Alt Gr key works fine per se: for example, I can type square brackets, which are Alt Gr+è and Alt Gr++. It seems the problem is when combining Alt Gr with Shift.

I've tried editing/regenerating the km-0410.ini file (describing the keymap for xrdp) as according to here, but nothing worked.

All suggestions and ideas are very welcome.

rand

Posted 2015-07-06T14:28:52.220

Reputation: 121

Answers

3

I know this is an old question, but since I'm new to Linux VM i had this problem too, and I solved the problem (I'm Italian too)

In my case my config is: Ubuntu Server 16.04 => with GNOME desktop, and XRDP

i had to change the keyboard as you tried, the problem is that like you I ended up with a wrong (incomplete and screwed) km-0410.ini file

In this article there is a link to download a pack with fixed .ini files http://eurekamoment.eu/?p=144 (so i guess this would solve even other languages problems)

I just replaced the km-0410.ini file in that zip with the one in my /etc/xrdp/ folder and restarted xrdp, and now i can RDP with my Windows client, to the GNOME server with correct keyboard, finally!

hope this could help others in trouble

Fabio Angela

Posted 2015-07-06T14:28:52.220

Reputation: 131

Hi Fabio. Do you have a copy of that file because the domain is no more active. – alexroat – 2018-02-05T09:42:45.480

1

mmm i should see if i find it on my VM, anyway this is the post of the author of the file, that explain what he did: http://component-parts.blogspot.it/2012/08/fixing-uk-keyboard-mapping-for-xrdp.html

– Fabio Angela – 2018-02-05T15:40:24.187