If you don't have pulseaudio (I don't), you need to use amixer:
bindsym XF86AudioRaiseVolume exec amixer sset Master,0 1+
bindsym XF86AudioRaiseVolume exec amixer sset Master,0 1-
bindsym XF86AudioRaiseVolume exec amixer sset Master,0 toggle
Try testing your command from a shell to see if it works.
On Sat, Jan 26, 2019 at 8:19 AM Luís Moreira de Sousa <
dmarc-noreply@xxxxxxxxxxxxx> wrote:
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