Coder Social home page Coder Social logo

Comments (12)

funkey avatar funkey commented on August 17, 2024 23

Can confirm that the fix is working (M1 Pro), following the steps by @PrayagS above. In addition, I found it necessary to remove all previous yabai versions from the "Accessibility" and "Screen & System Audio Recording" lists under "Privacy & Security". Seems macOS got confused by the previous entries and entered an infinite loop asking for permissions for the new executable. The "breaking changes" since the last release didn't break anything on my end (running a not-too-fancy configuration here, YMMV).

I just also want to use this opportunity to thank you @koekeishiya for the great work on yabai and the prompt fix. As a multi-decade Linux user, it is yabai that made my Mac usable for me. Thanks a ton for that. Just signed up for your patreon :)

from yabai.

koekeishiya avatar koekeishiya commented on August 17, 2024 10

Fixed on master.

Note that there are tons of breaking changes on master compared to the last released version, and there will likely be more breaking changes before a new release is made.

Consult the changelog before you consider building the master branch from source.

from yabai.

PrayagS avatar PrayagS commented on August 17, 2024 6

I built from master just now, but I still see the error that payload isn't supported on this macOS version. Did I do something wrong? Running on Apple Silicon. Updated using the wiki guide (Wiki: Installing yabai (from HEAD) (updating to latest head) ())

@rxbn Try the following steps,

yabai --uninstall-service
sudo yabai --uninstall-sa
# uninstall and reinstall yabai or build it
sudo yabai --load-sa
yabai --install-service
yabai --start-service
# might have to restart again after giving it permissions

Uninstalling and re-loading the payload would be required I guess because of the change in the OS version.

from yabai.

koekeishiya avatar koekeishiya commented on August 17, 2024 5

Fixed in v7.0.0.

from yabai.

PrayagS avatar PrayagS commented on August 17, 2024 2

I'm still running into the "Loader quit unexpectedly" issue, even when I followed the instructions from @PrayagS. This happens on brew and installing from the curl.

Here's what I ran

yabai --uninstall-service
sudo yabai --uninstall-sa
brew uninstall yabai
brew install koekeishiya/formulae/yabai

@IanQS These changes are not yet released. You'll have to build against HEAD,

brew install koekeishiya/formulae/yabai --HEAD

from yabai.

gegoune avatar gegoune commented on August 17, 2024 2

@danni-storm The latter.

from yabai.

IanQS avatar IanQS commented on August 17, 2024 1

I'm still running into the "Loader quit unexpectedly" issue, even when I followed the instructions from @PrayagS. This happens on brew and installing from the curl.

Here's what I ran

yabai --uninstall-service
sudo yabai --uninstall-sa
brew uninstall yabai
brew install koekeishiya/formulae/yabai

Then, just in case my current configs (located in ~/.config/yabai/yabairc and ~/.config/skhd/skhdrc have issues, I copy the configs that are output during the brew install process to my home directory

cp /opt/homebrew/opt/yabai/share/yabai/examples/yabairc ~/.yabairc
cp /opt/homebrew/opt/yabai/share/yabai/examples/skhdrc ~/.skhdrc
# verify that the contents of the sudoers file is still correct, and it is.
sudo yabai --load-sa

and it outputs that the loader quite unexpectedly via a GUI popup :/ What's interesting is that when I ignore the error, I can do certain things like

yabai -m window --focus {NSEW}
yabai -m window --space 1

but I can't do yabai -m space --focus 1, as that outputs cannot focus space due to an error with the scripting-addition.


When I installed via the curl, when I get to the sudo yabai --load-sa, I also tried running yabai and it ran into yabai: scripting-addition failed to inject payload into Dock.app!

Might anyone know what is going on? I don't think it's my yabairc, as the issue appears even on the recommended yabai, and it seems consistent across the various install modes

from yabai.

danni-storm avatar danni-storm commented on August 17, 2024 1

Apologies for adding another post to this thread but I am curious if we install against HEAD, will Brew install the stable release once it's out or will we have to reinstall to get the stable release?

from yabai.

PrayagS avatar PrayagS commented on August 17, 2024

Tried multiple times by installing from HEAD but every time I get the error that payload isn't supported on this macOS version.

from yabai.

PrayagS avatar PrayagS commented on August 17, 2024

Thanks for the quick fix! That did the trick.

Not seeing any issues as of now. Will do the job until the next release comes out 🤞🏼

from yabai.

rxbn avatar rxbn commented on August 17, 2024

I built from master just now, but I still see the error that payload isn't supported on this macOS version. Did I do something wrong? Running on Apple Silicon. Updated using the wiki guide (https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD)#updating-to-latest-head)

from yabai.

jwhit445 avatar jwhit445 commented on August 17, 2024

Can confirm it works on Sonoma 14.4 (23E214)! No scripting errors and space changes are working again.

from yabai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.