You are not logged in.
Using this script https://wiki.archlinux.org/title/Dunst# … _indicator. I have to press the volume key again and again for changing volume. How can i keep it pressed continuously and still change volume?
Using pulseaudio with alsa.
Last edited by mhb2 (2023-07-18 11:11:18)
Offline
That has nothing to do w/ dunst or alsa or even pulsenoaudio but whether the key gets autorepeated and maybe how your shortcut dameon handles that.
You probaly want to rate control that with a temporary lockfile that prevents double execution of any script you use here.
Offline
Using pulseaudio with alsa.
You're going to have to provide more information than that. What display server are you running? Is your autorepeat turned off? If you're using X11, you can check with
$ xset q
How are your keybindings defined? What desktop environment are you using? Are you using a window manager? Are you using xbindkeys? In i3wm, for instance, if you use the --release flag, the command bound to the key sequence won't be executed until the keys are released.
Bonus:
If you managed to resolve your issue and now you want dunst to modify the volume values in place instead of constantly popping up new notifications ribbons, you can take a look at this.
Last edited by anthony93 (2023-07-22 12:55:38)
Offline
Using riverwm (https://github.com/riverwm/river) wayland compositor. Using exactly the same config as in the arch wiki - https://wiki.archlinux.org/title/Dunst# … _indicator. Using this in config file:
riverctl map $mode None XF86AudioRaiseVolume spawn 'changeVolume 1%+ unmute'
riverctl map $mode None XF86AudioLowerVolume spawn 'changeVolume 1%- unmute'
riverctl map $mode None XF86AudioMute spawn 'changeVolume mute'
Offline
So i guess this is a window manager specific problem?
Offline
"riverctl map -repeat …"?
Offline
seth, thanks!! That was too easy!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline