Skip to content

Add support for BSD#385

Merged
fohrloop merged 6 commits intomainfrom
issue-359-add-bsd-support
Sep 19, 2024
Merged

Add support for BSD#385
fohrloop merged 6 commits intomainfrom
issue-359-add-bsd-support

Conversation

@fohrloop
Copy link
Copy Markdown
Member

@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
@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