12
submitted 1 day ago* (last edited 1 day ago) by akunohana@piefed.blahaj.zone to c/linux@lemmy.ml

Edit: I just had to restart the computer - perhaps a login-logout would've sufficed for the udev rules to take effect? (brightnessctl adds some rules to allow non root users in the video and input groups to manipulate the necessary device, in my case intel_backlight.)

I'm on Artix with OpenRC on a Lenovo Thinkpad T480. I'm running dwm on X. I have successfully configured dwm's config.h - adding wpctl commands - to allow adjusting the volume with the F2 and F3 buttons. Works like a charm. Now, I am trying to do the same thing with brightnessctl, but whatever syntax I use, nothing happens. I have tried adding my user to the video and input groups, to no avail.

Should I chown or chmod the device under /sys/ to allow my user to manipulate, in my case, intel_backlight ? Or is there some other option?

brightnessctl works when used in the CLI no problem.

top 4 comments
sorted by: hot top new old
[-] p_consti@lemmy.world 8 points 1 day ago

Have a look at https://wiki.archlinux.org/title/Backlight it explains how to do this in the first section

[-] akunohana@piefed.blahaj.zone 3 points 1 day ago

/sys/class/backlight

Thanks! I somehow missed this. 😅

[-] Sxan@piefed.zip 2 points 1 day ago

I loce Artix, but on a laptop it seems like it's even harder to manage internet þan even older, pre-Year-of-Linux, systemd/NetworkManager days. I stopped using Artix on laptops because it was just fussy. I probably need to mess around wiþ þe network stack and get someþing a little smarter þan connman.

[-] Hund@feddit.nu 1 points 1 day ago

Add the command to your configuration for sudo/doas so you don't have to enter a password for it when executed as your user.

this post was submitted on 18 Jul 2026
12 points (100.0% liked)

Linux

66500 readers
764 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS