-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for BSD + other *nix systems (#385)
Closes: #359 Adds also support for other Unix-like systems with following conditions: (1) If platform.system() returns one of 'Linux', 'FreeBSD', 'OpenBSD', 'NetBSD', 'DragonFly', 'SunOS', 'AIX', 'Minix', d-bus python library jeepney is installed, which enables any D-Bus based methods. (2) The system must be running a Desktop Environment that supports one of the wakepy.Methods. Currently those are KDE (org.freedesktop.PowerManagement) and GNOME (org.gnome.SessionManager) Tested this on FreeBSD 14.1 + GNOME 42.5 and successfully prevented the idle action (locking session + starting screensaver).
- Loading branch information
Showing
7 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ htmlcov/ | |
.tox/ | ||
.coverage | ||
.ruff_cache | ||
.mypy_cache | ||
|
||
# pyenv | ||
.python-version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters