You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xrdp-proprietary/xrdp
Ben Cohen bb9756f6c5 Fix UK/GB keyboard layout
The UK/GB keyboard doesn't work properly connecting to xrdp with xorgxrdp.
It does work when connecting to xrdp with x11vnc, however.

This is because the layout is not declared in xrdp_keyboard.ini.  It needs
to be called "gb" not "uk".  (There are other layouts that have
km-nnnn.ini files that aren't declared in xrdp_keyboard.ini, so they might
have the same bug, but I haven't tested that.  This is analagous to the
commits for the "ch" and "pl" layouts.)

Test case:

1. Use a PC with the UK/GB keyboard layout.

2. Create /etc/xrdp/startwm.sh as follows:

     #!/bin/sh
     export LANG=en_GB.UTF-8
     export MDM_LANG=en_GB.UTF-8
     export XTERM_LOCALE=en_GB.UTF-8
     xterm
     exit 0

3. Connect using rdesktop to localhost (from a session where the same
   environment variables are defined).

4. Test layout-specific keys such as:
      \ (backslash)
      | (bar)
      # (numbersign)
      ~ (asciitilde)
      £ (sterling: Shift-3)
      € (EuroSign: AltGr-4)

These keys should produce the appropriate symbol but they don't.  With
the change in this commit the keys produce the correct symbol.
8 years ago
..
Makefile.am Make socket directory configurable, don't hardcode /tmp/.xrdp 8 years ago
ad24b.bmp improve login graphics 16 years ago
ad256.bmp Drop exec permission of non executable files 9 years ago
cursor0.cur use standard cur files for cursors 21 years ago
cursor1.cur use standard cur files for cursors 21 years ago
czech.txt czech.txt 18 years ago
funcs.c Eliminate APP_CC and DEFAULT_CC 8 years ago
lang.c Eliminate APP_CC and DEFAULT_CC 8 years ago
rdp-scan-codes.txt More spelling fixes found by codespell and aspell 9 years ago
sans-10.fv1 Drop exec permission of non executable files 9 years ago
xrdp.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp.h Rename file_loc.h to xrdp_sockets.h, install it 8 years ago
xrdp.ini Allocate space for tls_ciphers dynamically 8 years ago
xrdp24b.bmp improve login graphics 16 years ago
xrdp256.bmp Drop exec permission of non executable files 9 years ago
xrdp_bitmap.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_cache.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_encoder.c Constify MCS connectionType 8 years ago
xrdp_encoder.h Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_font.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_keyboard.ini Fix UK/GB keyboard layout 8 years ago
xrdp_listen.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_login_wnd.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_logo.bmp made login screen fully customizable 11 years ago
xrdp_mm.c Rename file_loc.h to xrdp_sockets.h, install it 8 years ago
xrdp_painter.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_process.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_region.c Eliminate APP_CC and DEFAULT_CC 8 years ago
xrdp_types.h add session_info 8 years ago
xrdp_wm.c Pick up the first section if given section(domain) doesn't match anything 8 years ago
xrdpwin.c Eliminate APP_CC and DEFAULT_CC 8 years ago