yabai: Problem with Sonoma 14.2.1

I have a working install of yabai & skhd on an M1 MacBook Pro with Sonoma 14.1.2 using yabai v6.0.1 and skhd v0.3.9, both installed using Homebrew. On this install, SIP is still enabled, as reported by csrutil status.

I have tried to reproduce this install on an M3 Pro MacBook Pro with Sonoma 14.2.1. Initially I installed the default version from Homebrew, which resulted in Yabai v6.0.6, and using the same configuration files from the M1 MacBook. None of the Yabai shortcuts defined in skhd seem to work. SIP is still enabled on this MacBook (it is required for the features I use).

Sometimes I get:

yabai -V
yabai: could not acquire lock-file! abort..

Whilst other times, after restarting the service, I get output from this command.

Since v6.0.6 didn’t appear to work, I removed it and then installed v6.0.1 to mirror the installation on the M1 MacBook. [process here was to install the Brew Tap, checkout the v6.0.1 tag, then run brew install]. But this still doesn’t work. I again sometimes see the lock file error above. However, yabai -m query --windows does sometimes give some output. skhd -o shows key codes for the shortcuts defined for Yabai.

There’s no content in Yabai’s err.log

I’ve checked that Yabai is enabled for Accessibility access, and been through the recommended System Settings. I’ve stopped and started and re-started Yabai, rebooted the MacBook. I’ve checked that there’s only one yabai running with ps -ef

Please can someone point out to me what am I doing wrong?

About this issue

  • Original URL
  • State: closed
  • Created 6 months ago
  • Comments: 20 (1 by maintainers)

Most upvoted comments

try doing rm /tmp/yabai*