Open martinorob opened 4 years ago
Hi, may you help me to recompile your great work to start screensaver (and lock the Mac) instead of put display to sleep? (I have a fantastic screensaver https://github.com/JohnCoates/Aerial)
I've tried to comment line from 47 to 51 and add
system("sudo -u myuser /System/Library/CoreServices/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine");
but it start a screensaver as root (I think because is the default screensaver and than I can't login anymore).
Thank you!! 😊
Hi, may you help me to recompile your great work to start screensaver (and lock the Mac) instead of put display to sleep? (I have a fantastic screensaver https://github.com/JohnCoates/Aerial)
I've tried to comment line from 47 to 51 and add
system("sudo -u myuser /System/Library/CoreServices/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine");
but it start a screensaver as root (I think because is the default screensaver and than I can't login anymore).
Thank you!! 😊