On Wed, Apr 11, 2012 at 02:50:40PM -0700, Perry Hargrave wrote: > I would bet KDE does not wait until it is logging out or shutting down > to store these settings. If you are waiting to trap signals you always > run the risk of missing them. It is also already more complex than it > should be, you're modifying things in two places. > So, can I imitate the 'KDE shutting down' behavior?
> If you have some level of control over how you're updating volume > could you update .asoundrc whenever you change something. Then you > never worry about races or different shutdown methods, it even > correctly would store if you suffer a crash or something. > > You could debounce your volume controls to prevent excessive write > activity even. > Hmm...I still prefer to deal the volume thing with .xinitrc. For me, it's not KISS to save volume level when adjusting it. Anyway, you give me a possible way to solve it. If there is no simpler solution available, then I'll use your solution. -Bill -- To unsubscribe, send mail to [email protected].
