brightnessctl icon indicating copy to clipboard operation
brightnessctl copied to clipboard

Udev rules are not creating

Open fardinkamal62 opened this issue 3 years ago • 2 comments

Udev rules are not creating when installing brightnessctl from dnf in Fedora 35. But when I compile manually or install it from apt(I tried in Kubuntu), it does.

fardinkamal62 avatar Jan 24 '22 20:01 fardinkamal62

That's expected. The fedora package is using logind for unprivileged operations the build/install process looks like:

$ make ENABLE_SYSTEMD=1
$ [sudo] make install INSTALL_UDEV_RULES=0 ENABLE_SYSTEMD=1 PREFIX=/usr

And if you are on the master branch:

$ ./configure --enable-logind --prefix=/usr
$ make
$ [sudo] make install

xdbob avatar Jan 25 '22 16:01 xdbob

That's expected. The fedora package is using logind for unprivileged operations the build/install process looks like:

$ make ENABLE_SYSTEMD=1
$ [sudo] make install INSTALL_UDEV_RULES=0 ENABLE_SYSTEMD=1 PREFIX=/usr

And if you are on the master branch:

$ ./configure --enable-logind --prefix=/usr
$ make
$ [sudo] make install

Yes this works But if I install it via DNF it doesn't create udev rules; that's what I'm saying And I saw this in my machine and also on VM

fardinkamal62 avatar Jan 25 '22 17:01 fardinkamal62