rux616 / karabiner-windows-mode

Karabiner-Elements complex ruleset to make using macOS friendlier by enabling common keyboard functionality used in Linux and Windows.
The Unlicense
331 stars 65 forks source link

Most modifications not working #73

Closed romancin closed 1 year ago

romancin commented 1 year ago

Hi!

I have a problem in a new clean. install trying to enable the modifications in this repo. Basic ones are not working currently, like Ctrl + C or Ctrl + V.

I imported all the shortcuts using the command in the README and Enable all.

I deleted the conditional block from the json file, and they started working:

"conditions": [
                  {
                     "bundle_identifiers": [
                        "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
                        "^com\\.parallels\\.desktop\\.console$",
                        "^org\\.vmware\\.fusion$",
                        "^org\\.gnu\\.emacs$",
                        "^com\\.jetbrains",
                        "^com\\.microsoft\\.VSCode$",
                        "^com\\.sublimetext\\.3$",
                        "^net\\.kovidgoyal\\.kitty$",
                        "^com\\.citrix\\.XenAppViewer$",
                        "^com\\.microsoft\\.rdc\\.macos$",
                        "^io\\.alacritty$",
                        "^co\\.zeit\\.hyper$",
                        "^com\\.googlecode\\.iterm2$",
                        "^com\\.apple\\.Terminal$",
                        "^com\\.github\\.wez\\.wezterm$"
                     ],
                     "file_paths": [
                        [
                           "Chrome Remote Desktop\\.app"
                        ]
                     ],
                     "type": "frontmost_application_unless"
                  }
               ],

I am using Ventura 13.0.1. ¿Is there any problem with this OS version?

Thank you very much!

ouaibe commented 1 year ago

I can confirm I had the exact same issue on Ventura 13.0.1 with the latest Karabiner 14.10.0 the workaround to remove all the condition blocks from the JSON file and reload complex modifications as such fixed it.

rux616 commented 1 year ago

Hmm, I'm not sure why this would have stopped working. The reference manual for Karabiner-Elements shows that frontmost_application_unless is still valid for complex conditions (link).

Unfortunately, I no longer have a Mac and so can't do any troubleshooting on this.

ldtho commented 1 year ago

Confirmed, it only works after I remove the "conditions" blocks

rux616 commented 1 year ago

Confirmed, it only works after I remove the "conditions" blocks

Are you using Ventura as well?

ldtho commented 1 year ago

Yes I am 👍

GnatGoSplat commented 1 year ago

Same problem on Ventura 13.0.1 and Karabiner 14.10.0. Original Macbook Pro M1. Removing the condition blocks fixed it, but borks everything I needed conditions for, so I wouldn't say it's really a fix.

xmrflipflop commented 1 year ago

PR submitted here https://github.com/rux616/karabiner-windows-mode/pull/74

rux616 commented 1 year ago

@romancin @ouaibe @ldtho @GnatGoSplat I believe this should be fixed now thanks to PR #74 submitted by @xmrflipflop. Can you import the new JSON and give it a shot?

GnatGoSplat commented 1 year ago

@rux616 it seems to be working great for me. Thanks!

rux616 commented 1 year ago

Excellent, good to hear. Thanks again for the PR, @xmrflipflop.