You are not logged in.
This isn't a problem at all, it's more to see if it has a solution. So I have an Asus TUF laptop, and I want the function keys to work. I was searching for an app like MyAsus or similiar, but I have only found asusctl to the rgb keyboard and other things, but the fn keys not. I downloaded screenkey to see if the keys work, and it work, but only shows like commands, similar to this: Vol+ Vol- Bright+ Bright-. I don't know how to get the keys to make their job. I use bspwm and sxhkd. Another thing I notice is when I press the volume up function key on a terminal, the output is 439u, also if iit's press volume down, is 438u. I don't know how to get them to work. I hope someone knows about this topic. Thank you very much !!
Last edited by lucenabo (2023-11-28 12:57:15)
Offline
I've got a "TUF" laptop and the brightness & volume keys work fine but I have to bind them manually for sway:
# ~/.config/sway/config
# Volume keys
exec amixer set Speaker 100% unmute # fix pulseaudio problem
set $raise amixer set Master 5%+ unmute
set $lower amixer set Master 5%- unmute
set $mute volume toggle
bindsym XF86AudioRaiseVolume exec $raise
bindsym XF86AudioLowerVolume exec $lower
bindcode 121 exec $mute
# Backlight keys
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
bindsym XF86MonBrightnessUp exec brightnessctl set 10%+
# Power button
bindsym XF86PowerOff exec doas poweroffYou could do something similar with sxhkd.
Last edited by Head_on_a_Stick (2023-11-27 19:12:51)
Jin, Jîyan, Azadî
Offline
I've got a "TUF" laptop and the brightness & volume keys work fine but I have to bind them manually for sway:
# ~/.config/sway/config # Volume keys exec amixer set Speaker 100% unmute # fix pulseaudio problem set $raise amixer set Master 5%+ unmute set $lower amixer set Master 5%- unmute set $mute volume toggle bindsym XF86AudioRaiseVolume exec $raise bindsym XF86AudioLowerVolume exec $lower bindcode 121 exec $mute # Backlight keys bindsym XF86MonBrightnessDown exec brightnessctl set 10%- bindsym XF86MonBrightnessUp exec brightnessctl set 10%+ # Power button bindsym XF86PowerOff exec doas poweroffYou could do something similar with sxhkd.
Yess, that is, now works, thankss
Offline