FS#65628 - [brightnessctl] enable systemd-logind support (and remove udev/suid tricks)

Attached to Project: Community Packages
Opened by Damjan Georgievski (damjan) - Tuesday, 25 February 2020, 22:46 GMT
Last edited by Christian Rebischke (Shibumi) - Saturday, 04 April 2020, 11:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Since version 0.5.x brightnessctl doesn't need udev rules, or special privileges. It can use a systemd-logind over dbus to change the brightness.
It just needs to be compiled (and installed) with the ENABLE_SYSTEMD=1 flag.

for reference check these commits among others:
https://github.com/Hummer12007/brightnessctl/commit/99c21787cbbbde7ca1eb57abc8e7e3b3101eeb6d
https://github.com/Hummer12007/brightnessctl/commit/2fe7b1f99abedcc866989208ff95cf73314e321a

attached is a patch

ps. brightnessctl.install is no longer needed, since no udev rules are installed
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Saturday, 04 April 2020, 11:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.5.1-2

Loading...