如何在MAC电脑中实现自动切换windows快捷键

安装一个开源软件 "Karabiner-Elements",然后点击"Complex Modifications"自定义切换按键,"Add your own rule"添加自定义规则,输入以下内容:

javascript 复制代码
{
    "description": "全局 Ctrl ↔ Command 互换,仅在 Windows 远程桌面 Beta 中恢复默认",
    "manipulators": [
        {
            "conditions": [
                {
                    "bundle_identifiers": [
                        "^com\\.microsoft\\.rdc\\.osx\\.beta$"
                    ],
                    "type": "frontmost_application_unless"
                }
            ],
            "from": { "key_code": "left_control" },
            "to": [{ "key_code": "left_command" }],
            "type": "basic"
        },
        {
            "conditions": [
                {
                    "bundle_identifiers": [
                        "^com\\.microsoft\\.rdc\\.osx\\.beta$"
                    ],
                    "type": "frontmost_application_unless"
                }
            ],
            "from": { "key_code": "left_command" },
            "to": [{ "key_code": "left_control" }],
            "type": "basic"
        }
    ]
}

保存后,就可以实现当连接windows的远程桌面时,自动切换contrl和command键了。

附上下载地址:https://karabiner-elements.pqrs.org/

相关推荐
如若1236 小时前
Windows SSH + Headscale/Tailscale 组网及免密登录完整配置教程
运维·windows·ubuntu·ssh·内网穿透
ITHAOGE158 小时前
下载 | Win11 25H2 官方正式版ISO映像!(10月更新、消费者版/专业版、商业版/企业版、26200.9711)
windows·科技·微软·电脑
John_Hui8 小时前
Windows 10 安装版本:mysql-8.1.0-winx64.zip
数据库·windows·mysql
kingx38 小时前
Windows Server安全配置深度复盘:关键 Payload 与解题思路
windows·靶场·web·加固
技术人生0019 小时前
DirectX修复工具下载安装教程-Windows系统游戏dll修复工具下载安装修复教程
windows·游戏
hantmac9 小时前
不记得文件名时,Mac 上的搜索还能怎么做?
人工智能·macos
这是谁的博客?10 小时前
AI 加速器 RTL 数字系统设计深度解析:从 MAC 阵列 Verilog 实现到时序收敛与时钟功耗的芯片落地全链路
人工智能·macos·ai·verilog·数字ic设计·ai芯片·rtl
slacker-kian10 小时前
M 系列 Mac 清除顽固的 CorpLink
macos·corplink·m系列
2601_9623649710 小时前
企业 PC 安全升级,Windows Hello 商用生物识别模组介绍
windows·安全
2501_9160074713 小时前
Windows OpenSSL 生成 iOS 证书,制作 p12 与描述文件,KXBuild 签名实操
windows·vscode·ios·objective-c·个人开发·swift·敏捷流程