After upgrading to Mint 18 Mate 64-bit I was left with 2 trivial but annoying issues: unwanted screen blanking, and headphones not working until I unmuted them. I have solved both of these with simple scripts (with help from people on this forum) but I'm having problems implementing them as a startup script.
This is the whole thing, such as it is:
Code: Select all
# unmute the headphones at startup
amixer set "Headphone" unmute
# stop the unwanted screen blanking
xset s off
The xset commands work perfectly, which indicates that the script is running as a "startup application". The problem is with the amixer command, which doesn't work at startup - but does work if I run the script again any time after my login is complete.
I can't work out why the command won't work at startup time, but will work afterwards. Is it a matter of timing (amixer not ready to use the command) or permissions? Anyone got any ideas?