You are not logged in.
Hello everyone.
I am a newcomer to ArchLinux, and I have been having a blast. That said, I have a nagging problem. The strangest thing truly.
Context: I am trying to set up brightness control on my desktop PC monitor, (Arch + Hyprland) using the keybinds in hyperland.conf. To check for the correct key, I use wev.
But here is the problem:
- I use wev; I press F1 and F2 and they register respectively as
XF86MonBrightnessDown, code:232and
XF86MonBrightnessup, code:233. I notice that no other F key registers, unless I press Fn beforehand. Then if I bind F1 and F2 (with their relative code) in hyprland.conf, they don't work AND they stop registering in wev. - But then, in a strange plot twist, F5 and F6 start to register, with
XF86KbdBrightnessDown, code:237and
Xf86KbdBrightnessUp, code:238 respectively (I notice the difference between "Mon" and "Kbd"). So, I bind F5 and F6, write hyprland.conf and....
- None of the four F Keys mentioned now register in wev.
I am stumped. I looked around in the wiki and googled all afternoon, but I cannot find a solution. I even used two guides, relying on bash scripts, to no avail
(here they are: https://albert.nz/hyprland-brightness and https://flarexes.com/hyprland-getting-s … n-and-more).
You should know that, for some reason, on Windows (I am dual booting), the F keys work normally, while on Arch, they only work in tandem with Fn and produce no effect when pressed alone. Other important info:
- I have the brightnessctl package installed
- The problem was there even before trying to bind them in hyprland.conf
EDIT: after some more googling, I discovered that the keys are ALL registered if I press them after
sudo libinput debug-events. The only thing is that they are registered as media keys unless I press Fn before (I kinda hate it tbh, but oh well). Still, the problem persists.
What am I missing? The keyboard is an EPOMAKER FekkerXGalaxy80. Is it just not compatible? I have no other keyboard available at the moment, what should I do?
Thanks to anyone that cares to give advice.
Last edited by z00k4 (2025-06-02 13:29:33)
Offline
You should know that, for some reason, on Windows (I am dual booting), the F keys work normally, while on Arch, they only work in tandem with Fn and produce no effect when pressed alone.
1. you'll have to bind those action keys to some action w/ your hyprland config (eg. brightnessctl commands, simply installing that package won't do anything)
2. Seems your keyboard (that is not spelled this way) uses apple_hid, https://www.reddit.com/r/Epomaker/comme … _in_linux/
Offline
I did bind the actions in hyprland.conf, sorry for not being clear. Thank you for the suggestions, I will try now and report back.
It works! Thank you a lot. I will mark the thread as closed, but what is this hid_apple option about?
Last edited by z00k4 (2025-06-02 13:29:12)
Offline
modinfo hid_apple | grep -i fnmodeOffline