Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Artt on 23 August 2023, 13:20:42

Title: Light does not work without sudo
Post by: Artt on 23 August 2023, 13:20:42
Hello everyone,
I do not know why when I run the light command as
Code: [Select]
light -S 50
it does not work.

Here is my user id:
Code: [Select]
user@host ~ $ id user
uid=1000(user) gid=1000(user) groups=1000(user),998(wheel),996(audio),987(storage),985(video)

When I do it with sudo privleges it works. Do you know what might be the cause?
Title: Re: Light does not work without sudo
Post by: suren on 23 August 2023, 21:42:08
first I should say, This is a orphan project, use something else.

Is you user in video group?
Title: Re: Light does not work without sudo
Post by: Artt on 25 August 2023, 11:59:26
Yes user is my account and it is in the video group.

Can you recommend another program for controlling screen backlight from command line?
Title: Re: Light does not work without sudo
Post by: suren on 25 August 2023, 18:05:02
look at wiki (https://wiki.archlinux.org/title/Backlight#Backlight_utilities)
I recommend "xorg-xbacklight". if it does not work then "acpilight"
if you want a lot of useless functionality "clight" 
Title: Re: Light does not work without sudo
Post by: tintin on 26 August 2023, 05:57:18
Hello,

I just use acpilight to adjust the brightness.

I created four icons in a panel that automatically retracts:
https://forum.artixlinux.org/index.php/topic,3027.msg19679.html#msg19679