You are not logged in.
Hey everyone, I'm running arch on a HP laptop, which has a "fn" key which back on windows allowed me to raise or decrease the volume, brightness, etc. By for example pressing fn + f6 or fn + f7, I was surprised that the keys still worked on the major desktop enviroments like KDE, MATE, Xfce, etc. But now I'm experimenting with minimalist WMs like bspwm which lacks these functions right out of the box, I was wondering if there is a stand-alone solution or a way to take the fn hotkeys from the other DEs to make them usable with bspwm other than manually setting the hotkeys on sxhkdrc.
Thank you for the assistance!
Last edited by Jike (2021-11-15 23:31:18)
Offline
here some info about volume and brightness
https://wiki.archlinux.org/title/Xbindk … io_control
Offline
... usable with bspwm other than manually setting the hotkeys on sxhkdrc.
Well, no. sxhk is what bspwm uses for binding keys. This is no different that the big DEs you had used except the came "pre-configured" and generally made it harder for you to change that configuration.
You could use something else in place of sxhk, but you do need to configure something to listen to those keys. As noted above xbindkeys is fairly general, and if you plan on tinkering with a variety of WMs that might be a reasonable way to go. But most "minimalist" WMs have their own built in mechanism for binding keys - it's always seemed better to use the WM's own tools rather than running an additional background process just for listening for bound keys.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I see, I guess I'll go try set something up with sxhk then.
Offline