The '?/' key on a Portuguese (Brazil) ABNT2 keyboard does not function in Linux sessions

The '?/' key on a Portuguese (Brazil) ABNT2 keyboard does not function in Linux sessions

book

Article ID: CTX691640

calendar_today

Updated On:

Description

When launching a Citrix session from an endpoint using Windows and a ABNT2 - Portuguese (Brazil) keyboard layout, the Windows keyboard key '?/' does not function inside a Linux VDA published desktop or application session.

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

This key is not mapped because there is no Linux equivalent in ABNT2; to work around this, the user can use the following key combinations to input ? and / characters, using 'ALT + CTRL' to trigger 'Alt Gr' input in Linux:

CTRL + ALT + W:  ?

CTRL +  ALT + Q:  /

Note that the preferred method would be to remap the keys correctly on the VDA in nearly all Linux distros via xmodmap (see Additional Resources below) so that the key does function with the appropriate characters. This prevents applications that have shortcuts bound to CTRL + ALT + alphenumerical keys from accidentally triggering, instead of entering the expected character.


Problem Cause

This is expected behavior due to the difference between the keyboard layouts from Windows and Linux; the Linux keyboard layout for ABNT2 - Portuguese (Brazil) does not have a '?/' key, instead using on the Windows keyboard CTRL + ALT+ W and CTRL + ALT + Q to input the question mark and forward slash (ALT + CTRL in Windows being the equivalent of "Alt Gr").

Linux ABNT2 layout:

Image_2024-09-10_16-57-05.png

Windows ANBT2 Layout:

Image_2024-09-10_16-57-33.png

Additional Information

Ubuntu documentation on xmodmap: https://manpages.ubuntu.com/manpages/trusty/man1/xmodmap.1.html