wakepy
wakepy copied to clipboard
Cross-platform keep-awake with python
Sometimes it might be useful to be able to ssh into a server, start a python process and disconnect from the server knowing that the process will continue running. Todo:...
It would make it easier for people using Conda to have wakepy also available in conda-forge.
An idea from [this reddit comment](https://www.reddit.com/r/Python/comments/1d5ya3k/comment/l6qrr8e/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button). Could it be possible to implement a mode where: - Suspend is inhibited - Screenlock is inhibited - Display _may_ turn automatically off, or...
Notes: #### org.gnome.SessionManager - Looks like Mate might be providing the org.gnome.SessionManager dbus service: [mate-session/org.gnome.SessionManager.xml](https://github.com/mate-desktop/mate-session-manager/blob/master/mate-session/org.gnome.SessionManager.xml) - The [news](https://github.com/mate-desktop/mate-session-manager/blob/master/NEWS) for mate-session-manager 1.12.0 say: "Switch to org.gnome.SessionManager" - The mate-session-manager 1.12.0 was...
Add support for Cinnamon DE. Notes: - Check out org.cinnamon.ScreenSaver
Would it be possible to use `systemd-inhibit` command in wakepy? Pros: - Might allow more DEs to be supported. Many distros come with systemd, but not all implement the used...
Different methods on xfce: #### org.Xfce.Session.Manager.Inhibit * Introduced in [xfce-session/#22](https://gitlab.xfce.org/xfce/xfce4-session/-/merge_requests/22) (in particular, the commit [895a580d](https://gitlab.xfce.org/xfce/xfce4-session/-/merge_requests/22/diffs?commit_id=895a580d1612ae308bc6ecde4bc4adb932957d49#91b360d251885595aa8492696a69f194ca328bc7)). Merged into xfce-session in commit [aa586e05](https://gitlab.xfce.org/xfce/xfce4-session/-/commit/aa586e05ebe18cdbd91afba7db2c125597346406) (April 13th, 2023). It is not part of the...
Could it be possible to create a version of wakepy which would not depend on any python libraries for dbus communication? ### Notes - gnome_session_manager.c at [mpv_inhibit_gnome](https://github.com/Guldoman/mpv_inhibit_gnome). See: https://github.com/Guldoman/mpv_inhibit_gnome/blob/v0.1.3/src/gnome_session_manager.c #####...
..at least if there's anything special about wakepy which should be taken into account.