Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yabai -m space --focus - Not Switching Spaces #2138

Closed
BrianAre opened this issue Mar 3, 2024 · 3 comments
Closed

Yabai -m space --focus - Not Switching Spaces #2138

BrianAre opened this issue Mar 3, 2024 · 3 comments

Comments

@BrianAre
Copy link

BrianAre commented Mar 3, 2024

first time user. I turned off SIP, gave yabai accessibility/screenrecording permission, but my skhd shortcuts to switch between spaces is not working. Everything else works great.

The yabai -V output is reading the event from my skhd shortcut, but nothing happens on screen. It doesn't switch to the next space. It might be an error on my end, but it could be a bug.

On M2 MBA, Sonoma 14.2.1

(on left yabai -V; on right, skhd script
Screenshot 2024-03-03 at 1 05 06 AM

@BrianAre
Copy link
Author

BrianAre commented Mar 5, 2024

Resolved this by troubleshooting the scripting addition

I had to run this command:
sudo nvram boot-args=-arm64e_preview_abi

@IanQS
Copy link

IanQS commented Mar 9, 2024

@BrianAre did you run that command alone and everything started working? Or were there other things you had to do, too? What context did you run that in, do you remember?

@BrianAre
Copy link
Author

BrianAre commented Mar 9, 2024

@BrianAre did you run that command alone and everything started working? Or were there other things you had to do, too? What context did you run that in, do you remember?

@IanQS I tried multiple things before I ran this command. Once I ran this command everything just worked. Here's what I did before:

  1. Disabled SIP
  2. Made sure it had 'accessibly' and 'screen recording' permission
  3. Installed Dev. Version
  4. Configured Scripting Addition (I did it once before, but had numerous typos - corrected it)
  5. Then it still didn't work until I saw an old post (macOS Monterey and Apple Silicon #1054) that said to run: sudo nvram boot-args=-arm64e_preview_abi
  6. After that, it worked!

I'm not sure step 3 helped; i'm sure it can work with the current release and not the Dev Version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants