As mentioned in the title, amixer appears to mute all audio channels but doesn't unmute them when run again. As a result, the media key I'd like to serve as mute/unmute only works to mute, and I need to go into alsamixer manually to unmute them.If I understood correctly, amixer sset Master toggle would only affect the master channel, when that obviously isn't what is happening.
I want to set via my Media Keys, so I first have to find out the terminal-command.
Outputs are:
amixer set Master 10%- amixer: Unable to find simple control 'Master',0
amixer scontrols Simple mixer control 'IEC958',0
amixer set 'IEC958' 50%- amixer: Invalid command!
How can i fix that?
For the keys, have you tried adding them into your WMs key configuration?Set them to execute xbacklight with the '-inc <percent>' and '-dec <percent>' options respectively.Same for the volume keys, but get them to call 'amixer' like so: amixer -q -c 0 sset Master 5dB+ // increase master volume by 5 decibels
amixer -q -c 0 sset Master 5dB- // decrea
what is the command to increase/decrease volume on hdmi
amixer set master 5+ and amixer set master 5-
have no effect on it
using xfce 4.10
Sometimes I'll be listening to a song at 100% volume, and it is not as loud as I would like it to be. I can run pavucontrol and pull the slider to make the output above 100%, but I prefer the command line and am looking for a way to do this from there.
See wiki:"amixer set Master toggle"Rather than (mute)
brebs
https://bbs.archlinux.org/profile.php?id=10353
2012-06-03T06:08:43Z
I'm trying to set up a hardware mute button for my notebook running chrunchbang linux,
I've got the key event handling working and pointing to a script like this :
curvol=$(amixer get Master | grep 'off')
if ["$curvol" != ""]
then
amixer set Master unmute
else
amixer set Master mute
fi
what happens is on pressing the button assigned, it will unmute if muted; but it won't mute if it isn't alrea
Hello everybody!
I have Lubuntu 11.10 and I want to control volume on media keys. But I don't know how forced to work alsamixer with media keys.
I have already install:
Code:
sudo apt-get install alsa-utils alsa-base alsa-tools
And with obkey help on "XF86AudioRaiseVolume" key have a command "amixer -c 0 -q set Master 3%+ unmute".
If I do it in the console (Ctrl+Alt+F2, tty?) I have the command work as expected. However when I do so in the (XFCE) terminal window (Ctrl+Alt+T), I get those high values.UPDATEFixed by doing 2%+ instead of 2+
jiewmeng
https://bbs.archlinux.org/profile.php?id=56964
2012-09-08T13:35:36Z