Vonng / Capslock

Make Capslock Great Again!
Apache License 2.0
1.43k stars 287 forks source link

Consider blocking some remote software? #59

Open Hou-Xiaoxuan opened 1 year ago

Hou-Xiaoxuan commented 1 year ago

When using remote desktop to access Windows, pressing the Caps Lock key opens the browser with the link 'https://www.microsoft365.com/?from=OfficeKey'. This seems to be due to the implementation mechanism, as testing has shown that pressing Win+Alt+Ctrl+Shift simultaneously also triggers it. Should we consider blocking some remote software in the rules? like this: (my rule for change input method)

"description": "Use right_shift to switch input sources",
            "manipulators": [
                {
                    "conditions": [
                        {
                            "bundle_identifiers": [
                                "^com\\.teamviewer\\.TeamViewer$",
                                "^com\\.vmware\\.horizon$",
                                "^com\\.vmware\\.fusion$",
                                "^com\\.vmware\\.view$",
                                "^com\\.parallels\\.desktop$",
                                "^com\\.parallels\\.vm$",
                                "^com\\.parallels\\.desktop\\.console$",
                                "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
                                "^com\\.citrix\\.XenAppViewer$",
                                "^com\\.vmware\\.proxyApp\\.",
                                "^com\\.parallels\\.winapp\\.",
                                "^com\\.oray\\.sunlogin\\.macclient$",
                                "^com\\.microsoft\\.rdc\\.osx\\.beta"
                            ],
                            "type": "frontmost_application_unless"
                        }
                    ],
Hou-Xiaoxuan commented 1 year ago

original text, translated by gpt4 在远程桌面到windows时,按下caps lock键会使用浏览器打开链接"https://www.microsoft365.com/?from=OfficeKey"。应该是由于实现原理导致的,测试同时按下键盘的win+alt+ctrl+shift也会触发。是否考虑在规则中屏蔽一些远程软件?参考这个

Vonng commented 1 year ago

It looks like a great feature, If there's no other drawback I'm happy to add it to the default rules.