Enable systemd-logind API in compilation options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
brightnessctl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I've been made to understand that brightnessctl should not require root privileges to effectively modify the screen's brightness, but ubuntu's version still is not usable without tweaking the environment a bit.
According to the readme, 3 ways are available, but the least demanding for users would be to enable the systemd-logind API in the binary, no longer requiring users to add themselves into the video/input groups, nor having the binary as a setuid binary.
It seems this should be doable through the update of the compilation options of the binary, via the make define `-D ENABLE_SYSTEMD`. That being said, for future proofness, brightnessctl's master branch seems to rely on a new approach based on a configure script which takes a CLI option instead.