Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (14 sloc) 0.342 kb
# call amixer for all cards in ALSA
# (I am calling this from XFCE keyboard shortcuts to set volume globally)
# Usage examples:
# ./ sset PCM 10%+
# ./ sset PCM 10%-
export LANG=C
for i in {0..99}; do
cmd="amixer -c$i $@"
echo === $cmd ===
$cmd 2>&1 | grep 'Invalid card number' && break
echo DONE
Jump to Line
Something went wrong with that request. Please try again.