Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] I3 sound notification

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

[SOLVED] I3 sound notification

#1 Post by shogun1234 »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: I3 sound notification

#2 Post by Head_on_a_Stick »

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.
deadbang

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: I3 sound notification

#3 Post by debiman »

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%".

shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

Re: I3 sound notification

#4 Post by shogun1234 »

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!

Post Reply