Looking at the amixer man page, the mapping mentioned earlier can be invoked in amixer with the -M flag. So using amixer -M [...] works in the units that you see in alsamixer. These are "more natural for human ear".
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.
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'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
You mean:$ speaker-test -c 2Maybe the front panel has issues. Does the same thing happen if you plug the speakers in the back of the PC?Do you have any other speakers to test it with? Maybe a friend's or a neighbour's. Also test the speakers on a different computer, to make sure that they're fully functional.
I'm trying to run a alarm.sh using crontab, which play a song as
an alarm at 6.15 am. I'm using amixer so that volume increases by 10% in every loop.
My script is the following.
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".