Mike Jumper created GUACAMOLE-2313:
--------------------------------------
Summary: Disambiguate Mac-specific keys from non-Mac keys
Key: GUACAMOLE-2313
URL: https://issues.apache.org/jira/browse/GUACAMOLE-2313
Project: Guacamole
Issue Type: Improvement
Reporter: Mike Jumper
Mac keyboards use {{Command}} and {{Option}} keys that have traditionally been
mapped to {{Meta}} and {{Alt}} / {{AltGr}} respectively, _but_:
* {{Meta}} is reported to us by the browser when {{Super}} (aka. the "Windows"
or "OS" key) is pressed, but the semantics of {{Command}} are different from
those of {{Super}}.
* {{Option}} is reported as {{Alt}}, which we then translate over to {{AltGr}},
but neither {{Alt}} nor {{AltGr}} are really correct here - the key has
distinct behavior that's lost in picking either approximation.
We can resolve this by choosing different keysyms dedicated to these keys. For
example:
|| PC/Linux Key || Mac Key || Mapped X11 keysym ||
| {{Ctrl}} | {{Control}} | {{Ctrl}} |
| {{Shift}} | {{Shift}} | {{Shift}} |
| {{Alt}} | N/A | {{Alt}} |
| {{AltGr}} | N/A | {{ISO Level 3 Shift}} |
| {{Super}} ("Windows" / "OS") | N/A | {{Super}} |
| N/A | {{Command}} | {{Meta}} |
| N/A | {{Option}} | {{Hyper}} |
The above would repurpose {{Hyper}} as the representation for {{Option}},
narrow {{Meta}} to represent only {{Command}}, and use {{Super}} for itself.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)