SlimHUD icon indicating copy to clipboard operation
SlimHUD copied to clipboard

Suspend OSDUIHelper instead of disabling launch agent?

Open GameParrot opened this issue 3 years ago • 3 comments

It is possible to stop the system volume/brightness overlays by suspending OSDUIHelper. This could allow you to use the app without disabling SIP. To suspend the process in Swift, you could use

let task = Process()
task.executableURL = URL(fileURLWithPath: "/usr/bin/killall")
task.arguments = ["-STOP", "OSDUIHelper"]
try? task.run()

at the beginning of applicationDidFinishLaunching.

GameParrot avatar Aug 04 '22 14:08 GameParrot

Oh, interesting. Does this work on newer versions of macOS, too?

AlexPerathoner avatar Aug 04 '22 14:08 AlexPerathoner

Works on Monterey

GameParrot avatar Aug 04 '22 15:08 GameParrot

Cool, that could actually be a great way to solve it. I'll look into it next month, after exam-phase 😢

AlexPerathoner avatar Aug 09 '22 18:08 AlexPerathoner

Any update?

AjayShanker-geek avatar Dec 17 '22 13:12 AjayShanker-geek

Forgot about it, working on it these days. Will release an update before Thursday

AlexPerathoner avatar Dec 17 '22 21:12 AlexPerathoner

I've created a new branch. Could @AjayShanker-geek or @GameParrot please run it and confirm me if it's working newer versions?

AlexPerathoner avatar Dec 17 '22 22:12 AlexPerathoner

Need sometime as currently my SIP is disabled because of yabai

AjayShanker-geek avatar Dec 19 '22 16:12 AjayShanker-geek