On Tuesday 09 February 2016 11:05:30 Dr. Nikolaus Klepp wrote:
Am Dienstag, 9. Februar 2016 schrieb Gene Heskett:
Greetings everybody;
Everytime I have to reboot, but often, or more recently because of tdm updates, restart tdm, I have had to find a shell and execute "alsactl restore" before I have sound.
Is there a file that runs after my login, far enough after it, that I could add that command to instead of figureing out "hey its awful quiet in here" some time after the restart and reminds me to go and execute it?
If I could figure out where in the restart the sound gets muted, I'd fix it there. This has been a nearly 2 year long problem for me.
Thanks everybody.
Cheers, Gene Heskett
Hi Gene!
Add in your .xinitrc:
( sleep 10; alsactl restore) &
You might change 10 to any number of seconds you like :-)
Nik
Thats probably better than my idea was, which was to add a bash script to ~/.trinity/Autostart, named sound that did the same thing.
But since I already have the xrdb line in there, I terminated it with a && so this would be exec'd after that bit of sed magic you supplied.
Since theres quite a bit of stuff being restored when tdm restarts, which takes a good 30+ seconds to do, I wish I could find where to get it to restart each of the numerous term's I use on its correct workspace screen. They always restore with the correct number of tabs, but they all pile up on the same screen & have to be moved to the screen I am used to using for that particular workflow. I think the only exception to that is probably trinity-kcalc, which always seems to be on the workspace #3 it was running on prior to the restart. So someplace, there is that info. Also, the tde version of kcalc does this, the kde version does not restart.
Yeah, I know, beggars and horses...
Thanks Nik.
Cheers, Gene Heskett