i have one .desktop file in autostart folder which contains exec to sh script
[Desktop Entry] Type=Application Exec=/home/user/script.sh Hidden=false X-MATE-Autostart-enabled=true Name[en_US]=TEST Name=TEST Comment=TEST
i found problem that when i install ubuntu first time its working and several time after restart it is ok, but i notice that when there is some power supply problems and after powerloss pc starts and script wont run. and i restart many times,nothing happend, so i tried to change this line
So whats the catch?