Getting something to run automatically at boot up.
For those that are not into script writing I had the situation that I wanted to start transmission on bootup and kept forgetting to start it so I wrote a script to do it at boot so I would not forget .
This may be handy for some to use . You put the script file somewhere you will remember ,make it executable and relative link to it in the /root/start folder.
Here is the script -I have 4 working windows so transmission starts on the fourth. Open a text file and copy this into it. Give it a name you will remember like "StartmyApps.sh". Sometimes the timing seems to falter and it ends up on the wrong page.
Code: Select all
#!/bin/sh
wmctrl -s3
transmission-gtk &
sleep 5
wmctrl -s1
rox /mnt/home/
Scripts &
sleep 2
wmctrl -s0
/usr/lib/opera/opera.bin --no-sandbox &
Adjust it for what you want to automate.