简体   繁体   English

Mac 键盘如何在 Apache Guacamole 中发出 Alt 键输入

[英]How Mac keyboard can issue Alt key input in Apache Guacamole

I am using XFCE terminal in Debian linux on Apache Guacamole from MacOS X.我在来自 MacOS X 的 Apache Guacamole 上的 Debian linux 中使用 XFCE 终端。

I'm trying to navigate between tabs in the XFCE's terminal using ALT key shortcuts (eg ALT+1 and ALT+2) like shown in the screen below:我正在尝试使用 ALT 键快捷方式(例如 ALT+1 和 ALT+2)在 XFCE 终端中的选项卡之间导航,如下面的屏幕所示:

xfce 使用 Alt-1,Alt-2 键盘快捷键

I've tried every key combination I can think of, plus researched at places like this.我已经尝试了我能想到的所有组合键,并在这样的地方进行了研究。 But I haven't yet figured out the secret.但我还没有弄清楚其中的秘密。

How can I issue these ALT- key combinations from my Mac keyboard in Guacamole?如何从我的 Mac 键盘在 Guacamole 中发出这些 ALT 键组合?

Usually the modifier key ALT on a PC means "alternate" which would translate to Mac's keyboard symbology as Option (on some Macs drawn with a branching-switch icon):通常 PC 上的修饰键 ALT 表示“替代”,这将转换为 Mac 的键盘符号系统为Option (在某些使用分支开关图标绘制的 Mac 上): osxdaily:Mac 的美式键盘显示 alt 键

Solution (when Guacamole uses realVNC)解决方案(当 Guacamole 使用 realVNC 时)

According to realVNC (one of the possible connection protocols by Guacamole) your needed "from Mac to PC" key mapping would be:根据 realVNC(Guacamole 可能的连接协议之一),您需要的“从 Mac 到 PC”的键映射是:

  • Pressing "CmdL" ( left Command key on your local Mac) will result in "AltL" (left Alt key on the remote PC/Linux)按“CmdL”(本地 Mac 上的Command)将导致“AltL”(远程 PC/Linux 上的左Alt键)

Insightful thoughts有见地的想法

When using Guacamole, which probably uses VNC or XRDP protocol to connect your local client (Mac) to the remote server (Linux), the keyboard mapping has to pass 2 layers, from your local hardware/OS (Mac) to browser, over Guacamole/XRDP to the remote-system (Debian with XFCE).当使用 Guacamole 时,它可能使用 VNC 或XRDP协议将您的本地客户端 (Mac) 连接到远程服务器 (Linux),键盘映射必须通过 2 层,从您的本地硬件/操作系统 (Mac) 到浏览器,通过 Guacamole /XRDP 到远程系统(带有 XFCE 的 Debian)。 All these layers can interpret the key-events triggered.所有这些层都可以解释触发的关键事件。

Research研究

Like a user of this XRDP-related forum post from MacRumors (from 2015) explains:就像MacRumors (从 2015 年起)这篇XRDP 相关论坛帖子的用户解释说:

As below link states, Alt key of PC keyboard should be mapped as Option key on OS X. This is what we see on ARD.如下链接所述,PC 键盘的Alt 键映射为OS X 上的Option 键。这就是我们在 ARD 上看到的。 On XRDP Alt key behaves like Windows key and is mapped to Command key.在 XRDP 上,Alt 键的行为类似于 Windows 键并映射到 Command 键。

See also:也可以看看:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM