[i3-discuss] How to control the sound volume in i3?

  • From: "Luí­s Moreira de Sousa" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "luis.de.sousa" for DMARC)
  • To: "i3-discuss@xxxxxxxxxxxxx" <i3-discuss@xxxxxxxxxxxxx>
  • Date: Sat, 26 Jan 2019 15:18:59 +0000

Hello again, more novice questions on i3.

I would like to control the sound volume in i3. Since all the keyboards I use 
have dedicated keys to control sound volume, I added the following lines to the 
config file (as indicated in the FAQ):

# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% 
#increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% 
#decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute 
sound

However, with these bindings loaded the system remain unresponsive to these 
keys. I then tried software based controls. I am able to start the sound volume 
applet from Mutiny, which adds an indicator to the i3 bar where one can access 
a classical volume scroll bar. As with the buttons, scrolling the volume 
control has no effect on the volume of the sound output.

How can I control  then sound volume in i3 then?

Thank you.

--
Luís

Other related posts: