https://bugzilla.xfce.org/show_bug.cgi?id=14722
Bug ID: 14722
Summary: Better shutdown fallback code for the BSDs
Classification: Xfce Core
Product: Xfce4-session
Version: Unspecified
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: Xfce 4.12
Hey,
I've implemented "native" shutdown fallback code on the BSDs (tested on
FreeBSD, OpenBSD, DragonflyBSD). Current fallback code relies on Polkit, but
when it is not available, the fallback code does not work and user can't
shutdown/reboot/suspend/hibernate.
On the BSD however, users of group operator can shutdown/reboot the systems, on
FreeBSD/NetBSD/DragonFly users with write access to /dev/acpi can
hibernate/suspend the system (typicall operators users), on OpenBSD users with
/var/run/apmdev can suspend/hibernate. So I have added code to handle all of
this.
Here is the code:
https://git.xfce.org/users/ali/xfce4-session/
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs