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
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
|
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
Saturday, 04 April 2020, 11:58 GMT
Reason for closing: Fixed
Additional comments about closing: 0.5.1-2