07-22-2017, 01:10 AM
(07-19-2017, 10:20 AM)brentashley Wrote: 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:
Nice work Brent
If you're interested in sound switching, I have this script which is basically the same as yours, and this one which I need to get back to, which when left running in the background, should disable/enable the speakers in response to the headphones insertion/removal. Stage two is to change it to a systemd service so it is a bit neater.