Skip to content

start screensaver instead of put display to sleepΒ #10

@martinorob

Description

@martinorob

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions