On 2/13/25 10:04 AM, kandula tejaswi wrote:
Hello Guacamole community,
I've recently created a PR to add support for the Canadian Multilingual
Standard (CMS) keyboard layout in Guacamole:
https://github.com/apache/guacamole-server/pull/558
I had a question regarding Right-CTRL support and wanted to ask here as
well. On the CMS keyboard, the Right-CTRL key functions differently from
the Left-CTRL key—it is used in combination with other keys to produce
special characters. This behavior differs from other layouts currently
supported by Guacamole.
I noticed that the +ctrl modifier doesn't seem to be supported. Adding this
support would likely require modifying generate.pl to handle the +ctrl
modifier, along with updates to keymap files. Would this be the recommended
approach, or is there an alternative way to implement this?
If anyone has insights or experience with this, I’d appreciate your
guidance. Thanks!
Is there a specific name for that key on the CMS keyboard that isn't
"Ctrl"? For example, the right "Alt" key on some keyboards is not "Alt"
but rather "AltGr", and we treat that key differently depending on how
the local keyboard layout identifies it (to attempt to preserve local
keyboard behavior within the remote environment).
Within Guacamole, we represent keys based on their identity rather than
their location on the keyboard, so the proper way for this support to be
added would be to:
1) Identify the key.
2) Add support for that modifier to the RDP keymap system.
3) Represent the way that modifier affects the characters typed using
the keymap in your PR.
I don't recommend considering the key to be "Ctrl" if it merely happens
to be located in the same position as the "Ctrl" key on other keyboards.
The important thing is preserving the identity of the key.
- Mike