I hesitate to post this as it’s likely something stupid I keep overlooking…
Issue: Sometimes the keybind’ings to control sound, brightness, capslock, numlock, and the associated OSD popup messages all work great.
Other times the keys don’t respond at all - neither visually nor functionally.
Additional observations: When they’re working just fine and THEN I logoff - when I immediately log back in again they are no longer responding.
If I reboot, sometimes they come back and sometimes they don’t … but it often takes multiple reboots to resolve. Same if I fully shut down and power back up. ![]()
I can never predict when they’re going to function and when they won’t. If they’re working, they keep working consistently throughout that session. If they aren’t, I have yet to find a way to resurrect them.
This has been observed on 3 different installations of sway/waybar/swayosd all of which are using the same set of config files I’ve copied over. ('11 MacBookPro, '19 iMac, Dell Optiplex 7010).
In all cases (whether the keys are working or not) I’ve confirmed: systemctl status swayosd-libinput-backend.service shows the service is active and running on all three systems.
Checking journalctl -b for bootup errors related to SwayOSD always shows successful loading – even in those cases where the keys are unresponsive.
If I open pavucontrol (either through terminal or clicking on waybar sound section), I can manually drag volume and un/mute sound this way. It functions as expected. And the pulseaudio section of the waybar responds visually to those changes, too.
But when the issue is occurring, there’s just no response from the volume/mute keys (or brightness control keys). I’ve also tried both with and without the “fn” function key (to avoid inadvertently sending F1, F2, …F12 instead of the media functions).
Question: Any ideas come to mind that would produce the same intermittent problem - on three different installations?