Getting something to run automatically at boot up.

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
April
Posts: 493
Joined: Tue Dec 29, 2020 9:06 pm
Has thanked: 57 times
Been thanked: 28 times

Getting something to run automatically at boot up.

Post by April »

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.

The Australian State Governments have all enacted laws to steal your assets on your death. All legal paperwork is binned and all assets seized on one disgruntled child's complaint.Move them well before you die or go into a home.

Post Reply

Return to “Users”