You are not logged in.

#1 2025-03-04 00:39:53

Omarz2012
Member
From: Oshawa, Canada
Registered: 2024-10-19
Posts: 139
Website

[SOLVED]brightness button fails to properly map on hyprland

i just got started with hyprland and (almost) everything has been going smoothlyother than my brightness control, on kde plasma it works just fine but on hyprland it doesn't due anything and journalctl spits out

acer_wmi: Unknown function number - 4 - 0

does anyone know how to fix this
Solution: forgot to install brigthnessctl

Last edited by Omarz2012 (2025-08-06 17:49:54)

Offline

#2 2025-03-04 01:00:54

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED]brightness button fails to properly map on hyprland

I suspect there's no issue to fix but rather you have to manually set those keybindings in your hyprland conf.

Offline

#3 2025-03-04 01:13:58

Omarz2012
Member
From: Oshawa, Canada
Registered: 2024-10-19
Posts: 139
Website

Re: [SOLVED]brightness button fails to properly map on hyprland

mackin_cheese wrote:

I suspect there's no issue to fix but rather you have to manually set those keybindings in your hyprland conf.

but these are driver errors. why are they related to the DE

Offline

#4 2025-03-04 01:18:22

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED]brightness button fails to properly map on hyprland

Hyprland is not a DE, it is a WM. DE's are mostly feature complete and set up already for you. WM's on the other hand, you have to configure the features you want. Using function keys to control brightness is one of those things you have to set up on your own in Hyprland. The Hyprland wiki has all the info you need about binding. Try binding first and then see if it's a driver issue or a missing config.

Offline

#5 2025-03-04 01:33:04

Omarz2012
Member
From: Oshawa, Canada
Registered: 2024-10-19
Posts: 139
Website

Re: [SOLVED]brightness button fails to properly map on hyprland

mackin_cheese wrote:

Hyprland is not a DE, it is a WM. DE's are mostly feature complete and set up already for you. WM's on the other hand, you have to configure the features you want. Using function keys to control brightness is one of those things you have to set up on your own in Hyprland. The Hyprland wiki has all the info you need about binding. Try binding first and then see if it's a driver issue or a missing config.

it is already binded as

bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-

its just that acer_wmi is not binding the function keys to

XF86MonBrightnessUp & XF86MonBrightnessDown

Offline

#6 2025-03-04 01:36:22

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED]brightness button fails to properly map on hyprland

what does wev say when you press the function key for your brightness?

Offline

#7 2025-03-04 01:51:12

Omarz2012
Member
From: Oshawa, Canada
Registered: 2024-10-19
Posts: 139
Website

Re: [SOLVED]brightness button fails to properly map on hyprland

mackin_cheese wrote:

what does wev say when you press the function key for your brightness?

wev does not show anything when a function is pressed and my brighness control is Fn-key + left & right arrow, i use a Acer Nitro 5 if your wondering what type of media key layout i use

Last edited by Omarz2012 (2025-03-04 21:39:27)

Offline

#8 2025-03-04 21:39:05

Omarz2012
Member
From: Oshawa, Canada
Registered: 2024-10-19
Posts: 139
Website

Re: [SOLVED]brightness button fails to properly map on hyprland

helo

Offline

#9 2025-03-05 00:50:04

dichead
Member
Registered: 2003-05-29
Posts: 12

Re: [SOLVED]brightness button fails to properly map on hyprland

This is not right.

Omarz2012 wrote:
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind = MODS, key, dispatcher, params

That does brightnessctl work when run in a terminal?

Read the backlight page on the wiki if it doesn't.

Last edited by dichead (2025-03-05 00:51:14)

Offline

#10 2025-03-06 15:09:11

Omarz2012
Member
From: Oshawa, Canada
Registered: 2024-10-19
Posts: 139
Website

Re: [SOLVED]brightness button fails to properly map on hyprland

dichead wrote:

This is not right.

Omarz2012 wrote:
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind = MODS, key, dispatcher, params

That does brightnessctl work when run in a terminal?

Read the backlight page on the wiki if it doesn't.

Im pretty sure this issue is because I forgot to install brightnessctl, or is it already preinstalled with plasma/hyprland

Offline

#11 2025-03-07 02:48:39

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED]brightness button fails to properly map on hyprland

Omarz2012 wrote:
dichead wrote:

This is not right.

Omarz2012 wrote:
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind = MODS, key, dispatcher, params

That does brightnessctl work when run in a terminal?

Read the backlight page on the wiki if it doesn't.

Im pretty sure this issue is because I forgot to install brightnessctl, or is it already preinstalled with plasma/hyprland


so you didn't read documentation before posting here?

Offline

#12 2025-03-07 03:07:24

deluxemixednuts
Member
Registered: 2025-03-07
Posts: 1

Re: [SOLVED]brightness button fails to properly map on hyprland

For what it's worth, I am having the same problem with the same laptop (Acer Nitro 5). I believe it has something to do with your NVIDIA drivers. Will post a solution once a figure it out since this is a fresh install.

Offline

Board footer

Powered by FluxBB