You are not logged in.

#1 2016-03-23 20:18:28

Archeon
Member
Registered: 2016-03-09
Posts: 41

[SOLVED] Can't Get i3 Volume Control on Laptop to Work

I have a rather recent install of i3wm and am trying to modify the config to get my volume up/down on my laptop to work via FN+Arrow Left and FN+Arrow RIght.
I have tried these lines which previously worked for me on Linux Mint:

# Pulse Audio controls

# bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% #increase sound volume
# bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% #decrease sound volume

And these as a replacement:

# bindsym XF86AudioRaiseVolume exec pactl -- set-sink-volume 1 +5% #increase sound volume
# bindsym XF86AudioLowerVolume exec pactl -- set-sink-volume 1 -5% #decrease sound volume

However the volume control would not work.

After some research, I decided to install amixer via yaourt and replaced the bindsyms with the following lines instead:

bindsym $mod+F12 exec amixer set Master 5%+
bindsym $mod+F11 exec amixer set Master 5%-

Yet, it would still not raise or lower the volume.  To test that it could be set manually, I entered in the terminal:

$ amixer set Master %5+

It returned:

amixer: Unable to find simple control 'Master',0

Which suggested that "Master" control did not exist, so I entered the following then replaced "Master" with IEC958 in the bindsyms (source)

$ amixer scontrols
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958',1
Simple mixer control 'IEC958',2

Yet once again, the volume buttons did not do anything.
If anybody would be able to help, it would be appreciated.  I am willing to provide any necessary information.


EDIT:  This was fixed as a consequence of solving an issue in one of my other posts. https://bbs.archlinux.org/viewtopic.php?id=210468

------------------------------------------------------------ SOLVED ------------------------------------------------------------

Last edited by Archeon (2016-03-24 00:27:19)

Offline

Board footer

Powered by FluxBB