Enable systemd-logind API in compilation options

Bug #2076317 reported by David Pineau
6
This bug affects 1 person
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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.