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

Volume keys stop working after sleep #27

Open
AndrewHaglund opened this issue Jan 14, 2023 · 8 comments
Open

Volume keys stop working after sleep #27

AndrewHaglund opened this issue Jan 14, 2023 · 8 comments

Comments

@AndrewHaglund
Copy link

AndrewHaglund commented Jan 14, 2023

After I put my Mac to sleep with hot corners (Monterrey macOS 12) the volume keys on my keyboard no longer adjust the volume.

If I quit and reopen, volume keys work as expected

This issue is not present in Ventura (macOS 13)

(Also, just wanted to say that I love this app! I just got a second display with built-in speakers and now I can play music from both displays and it sounds so good.)

@AndrewHaglund
Copy link
Author

I don't know how to actually fix this issue so I created a Shortcut that quits and reopens the app with keyboard shortcut globe+F10 (fn+mute). Might be useful for others so I've attached it. Restart MultiSound.shortcut.zip

I tried using Shortery to run this shortcut on sleep/wake but had issues getting that to work on Monterrey.

@AndrewHaglund
Copy link
Author

Issue still present on the macOS Sonoma beta.

@AndrewHaglund
Copy link
Author

AndrewHaglund commented Sep 4, 2023

This article via Michael Tsai might be useful for resolving this issue, unless the app is already using these techniques.

@davejay536
Copy link

For what it's worth, I'm having this issue also on an M2 system running Ventura.

@bariatricpal
Copy link

I'm running Sonoma 14.1 and it's crashing non stop now :-(

@rayryeng
Copy link

rayryeng commented Dec 1, 2023

@AndrewHaglund Thanks for the shortcut. However, we can't use the file because the settings are set up so that you can only use that shortcut by Private Sharing, meaning that I can't use it unless you're in my contacts. Is there a way around this, or can you perhaps write up a small guide on how to make this shortcut? Thanks!

@AndrewHaglund
Copy link
Author

hey @rayryeng sorry about that, attached a screenshot of the shortcut with the steps. I can‘t remember why I added the "Receive Any input from Quick Actions" step but here's the basic steps:

  1. Quit App MultiSoundChanger
  2. Wait 1 second
  3. Open MultiSoundChanger
image

@AndrewHaglund
Copy link
Author

AndrewHaglund commented Dec 28, 2023

The Shortcuts solution I mentioned above is not ideal (you have to notice it crashed then use a keyboard shortcut). I figured there had to be a way to automate this. I stumbled on a post by John Gruber where he uses LaunchControl to keep an app running at all times. While LaunchControl looks cool I found a StackExchange post showing how to do this manually.

I haven‘t pressure-tested this but you should be able to download, unzip, then place MultiSoundChanger.keepalive.plist.zip in ~/Library/LaunchAgents then enable the "MultiSoundChanger" item in System Settings → General → Login Items.

(The post mentioned running launchctl load ~/Library/LaunchAgents/MultiSoundChanger.keepalive.plist in Terminal but I‘m not sure it‘s necessary.)

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

4 participants