yabai: Space commands not working with MacOS Sonoma 14.0
Hello,
just wanted to ask if anybody noticed space commands stopped working after updating to MacOS Sonoma 14.0. Commands such as
yabai -m space --focus 3 or yabai -m space --create
yield no error but have no effect either. I can see they’re somewhat working because when I attempt to switch to the currently active space, yabai informs me that: cannot focus an already focused space..
What I’ve tried so far is uninstalling and installing yabai, following all of the required configuration steps. But perhaps there is something else I should do after upgrading to Sonoma?
Keep in mind other commands I am using (e.g. yabai -m window --grid 1:2:0:0:1:1) work as expected.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 12
- Comments: 17
This was initially broken for me on Sonoma 14.0, I was able to resolve this by:
sudo nvram boot-args=-arm64e_preview_abiv5.0.9via homebrewbrew upgrade koekeishiya/formulae/yabaiI don’t know the exact step that resulted in the fix here, I assume it may be permissions related.
Confirming I am now able to:
yabai -m space --createyabai -m space --focus nextI created a script to do this, you need to do this each time you update yabai because the hash of the program has changed.
Make sure to put your username in the script
Upgrade and try to config “scripting-addition” again: https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition I got “cannot focus space due to an error with the scripting-addition” info. Now it worked.
I can also confirm:
Same here. no effect at all.
yabai -m window --space next --focusworks though.It moves the current window to the next space and focuses on the next space. weird.