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

Add support for BSD #385

Merged
merged 6 commits into from
Sep 19, 2024
Merged

Add support for BSD #385

merged 6 commits into from
Sep 19, 2024

Conversation

fohrloop
Copy link
Owner

@fohrloop fohrloop commented Sep 19, 2024

Closes: #359

Adds also support for other Unix-like systems. Conditions:

  • 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
  • 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).

@fohrloop fohrloop merged commit c258ea5 into main Sep 19, 2024
14 checks passed
@fohrloop fohrloop deleted the issue-359-add-bsd-support branch September 19, 2024 15:02
fohrloop added a commit that referenced this pull request Sep 19, 2024
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

Successfully merging this pull request may close these issues.

Add support for BSD systems
1 participant