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

  • From: "Alan E. Davis" <lngndvs@xxxxxxxxx>
  • To: i3-discuss@xxxxxxxxxxxxx
  • Date: Sat, 26 Jan 2019 21:44:56 -0800

By a fortuitous run of circumstances, upon installing polybar, volume level
was easy to adjust.  I am using manjaro i3; while I was able sometimes to
adjust volume, it was much more transparent with polybar.  Otherwise, I
might not keep polybar installed.  I just ran the "example" config.



On Sat, Jan 26, 2019 at 8:39 AM Serge van Ginderachter <
serge@xxxxxxxxxxxxxxxxxx> wrote:

I use Ponymix

https://github.com/falconindy/ponymix

On Sat, 26 Jan 2019 at 17:11, Michael Stapelberg <michael@xxxxxxxx> wrote:

What happens when you run the commands in a terminal? It looks like “0”
might not be a valid identifier for your sink. You can use @DEFAULT_SINK@
instead:

exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ 10\%


On Sat, Jan 26, 2019 at 4:19 PM 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



--
Best regards,
Michael



-- 
[Fill in the blanks]

The use of corrupt manipulations and blatant rhetorical ploys ...---
outright lying, flagwaving, personal attacks, setting up phony
alternatives, misdirection, jargon-mongering, evading key issues, feigning
disinterested objectivity, willful misunderstanding of other points of
view---suggests that ... lacks both credibility and evidence.

             ---- Edward Tufte (in context of making presentations)

Other related posts: