You are not logged in.

#1 2024-01-03 21:44:17

ihopeliliadomsme
Member
Registered: 2024-01-02
Posts: 6

[SOLVED] Brightness functions keys not wokring

Hello, i am fairly new to this forum but not new to arch as i am approaching my second year of using it, i recently got a new laptop but binding the brightness FN keys ( F5 & F6 ) isnt working & i cant figure out why, these are the keybinds:-


bindsym XF86MonBrightnessUp exec brightnessctl -d intel_backlight -s +10%
bindsym XF86MonBrightnessDown exec  brightnessctl -d intel_backlight -s -10

The command brightnessctl -d intel_backlight -s +/- 10% work alone and when i bind the same key but to execute something different for example kitty it also works.

These are my system specs:-
Kernel: 6.6.8-arch1-1
CPU: 13th Gen Intel(R) Core(TM) i5-13420H
RAM: 7.5Gi
GPU:  Intel Corporation Raptor Lake-P [UHD Graphics]
Resolution: 1920x1080

(I am sorry for any grammar or spelling mistakes as English isn't my first language) & i am using i3

Thank you.

Last edited by ihopeliliadomsme (2024-01-04 22:26:41)

Offline

#2 2024-01-04 12:13:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] Brightness functions keys not wokring

$ brightnessctl --help
[...]
  -s, --save			save previous state in a temporary file.

I use this:

bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
bindsym XF86MonBrightnessUp exec brightnessctl set 10%+

So try the "set" option instead (or plain "s" without the "-" in front of it).

You must be mistaken when you claim the command works when run in a terminal. Or you're trying to trick us big_smile

EDIT: your English is great!

Last edited by Head_on_a_Stick (2024-01-04 12:14:34)

Offline

#3 2024-01-04 22:25:01

ihopeliliadomsme
Member
Registered: 2024-01-02
Posts: 6

Re: [SOLVED] Brightness functions keys not wokring

Thanks, your commands work for me. only this works exec brightnessctl -d intel_backlight -s +10% the other doesnt ( exec  brightnessctl -d intel_backlight -s -10& ).

Anyways, thanks again.

Offline

Board footer

Powered by FluxBB