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

start screensaver instead of put display to sleep #10

Open
martinorob opened this issue Sep 3, 2019 · 0 comments
Open

start screensaver instead of put display to sleep #10

martinorob opened this issue Sep 3, 2019 · 0 comments

Comments

@martinorob
Copy link

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!! 😊

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

1 participant