[SOLVED] I3 sound notification

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED] I3 sound notification

Postby shogun1234 » 2018-02-08 20:44

I install Debian through netinstall with options debian desktop environment and system utilities (or something similar) ticked. Then I switch to use i3-wm. Now I have a problem - when binding the multimedia key for sound volume control, how can I enable notification so e.g pressing hot key fn + f5/ f6 increasing/ decreasing the volume sound and displaying sound volume increasing/ decreasing icon through dunst?

I've done binding key previously like setting below (confuring ~/.config/i3/config) but I never successfully trigger notification in displaying sound icon through notification system.
https://faq.i3wm.org/question/3747/enab ... eys.1.html

Much appreciate any suggestions.
Last edited by shogun1234 on 2018-02-19 21:40, edited 1 time in total.
shogun1234
 
Posts: 92
Joined: 2006-07-13 08:04

Re: I3 sound notification

Postby Head_on_a_Stick » 2018-02-08 21:00

I use volumeicon in my dwm desktop, pnmixer is also a possibility.

They will both provide popups when the volume is changed and will also control the keybinds (if desired).

With i3 you will also get a systray icon, which is nice.
User avatar
Head_on_a_Stick
 
Posts: 8009
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: I3 sound notification

Postby debiman » 2018-02-10 07:55

shogun1234 wrote:how can I enable notification so e.g pressing hot key fn + f5/ f6 increasing/ decreasing the volume sound and displaying sound volume increasing/ decreasing icon through dunst?

i don't think dunst can do these graphical bars, just a numerical value.
i once tried scripting this myself, but it quickly became too difficult when considering cases like "holding down the key until volume reaches 100%".
User avatar
debiman
 
Posts: 2923
Joined: 2013-03-12 07:18

Re: I3 sound notification

Postby shogun1234 » 2018-02-19 21:40

After testing several options, I decided to go with polybar (https://github.com/jaagr/polybar). So far it's the solution that get closest to my requirements. Another one I found is volnoti (https://github.com/davidbrazdil/volnoti), but it only displays sound volume level (not adjusting sound volume level).

Thanks for your information and help!
shogun1234
 
Posts: 92
Joined: 2006-07-13 08:04


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable