DamienCassou / desktop-environment

Helps you control your GNU/Linux computer from Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

birghtness managment not working

MiroYld opened this issue · comments

commented

Hello, I have an issue on my exwm configuration, I can't change my current brighlight.
When I try to decrease or increase the brightness of my PC.
I get the message new brightness value: 68% but this value never changes.
I just add the package with guix and in my config file I do
(desktop-environment-mode)
My configuration is also available at: https://github.com/MiroYld/emacs-conf if you want to try to reproduce the bug

Thank you for your issue. Can you please try in a terminal to execute:

$ brightnessctl set 10%+

And tell me if it works or not? You can execute it more than once to further increase brightness.

commented

Hello @DamienCassou
I confirm to you that indeed from a terminal the commands work correctly only with sudo prefix

➜  ~ sudo brightnessctl set 20%-
Updated device 'intel_backlight':
Device 'intel_backlight' of class 'backlight':
        Current brightness: 111 (28%)
        Max brightness: 400

➜  ~ sudo brightnessctl set 20%+
Updated device 'intel_backlight':
Device 'intel_backlight' of class 'backlight':
        Current brightness: 191 (48%)
        Max brightness: 400

Then I recommend you to investigate why your current user doesn't have the permission to change the brightness.

I don't think this package can do anything so I'm closing this. Feel free to reopen if you need.