View Single Post
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#35
Originally Posted by Veraendert View Post
I'm a little unsure if i can but i'll do my best. Right now, i have the problem that the terminal stops working after some time and i have to restart it. I have gotten one alarm now but i don't want to miss the next one. So- having the sound restored is somewhat the icing on the cake.
Did a little digging. You can use alsamixer -sget Master but you may also be able to use alsactl.

Maybe something like editing the dbus command posted earlier to add

alsactl --file ~/.config/asound.state store

Before the alsamixer -sset Master bit and

alsactl --file ~/.config/asound.state restore

In the kill/cleanup part.
 

The Following 3 Users Say Thank You to Android_808 For This Useful Post: