07-19-2017, 10:20 AM
(This post was last modified: 07-19-2017, 10:26 AM by brentashley.)
I haven't yet tried the asound.state update, but I use this shell script to turn on or off my internal speakers when I want to use headphones:
Code:
> cat spkr
#!/bin/sh
case $1 in
off)
amixer -q set "External Speaker" mute
;;
on)
amixer -q set "External Speaker" unmute
;;
*)
echo "syntax: spkr on|off"
;;
esac