apirrone / Memento

Memento is a Python app that records everything you do on your computer and lets you go back in time, search, and chat with a LLM (Large Language Model) to find back information about what you did.
MIT License
484 stars 39 forks source link

[Backend] detect that the computer is sleeping and hang record #20

Open apirrone opened 11 months ago

apirrone commented 10 months ago

On gnome, this seems to work:

dbus-send --session --print-reply=literal --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.GetActive