Maui
Board Index divider Search Member List Help
Hello There, Guest! Login Register
Login
Username:
Password: Lost Password?
 
Maui Forums › Maui Support › Software & Applications › Plank startup

Pages ({1}): 1 2 Next »
Plank startup
claude Offline
New Islander
**
Joined: Nov 2015
Posts: 27
#1
15th November 2016, 18:45
How to delay Plank at startup ?
Find
Reply
rocky7x Offline
Island Inhabitant
*****
Joined: Jul 2016
Posts: 344
#2
15th November 2016, 19:42
Change the startup string to something like this:

Code:
bash -c "sleep 10m && plank"

Check man sleep for other time units...
Find
Reply
leszek Offline
Moderator
Joined: Jul 2013
Posts: 3,633
#3
15th November 2016, 20:40
uff 10 minutes delay ? xD

Yeah the sleep is correct but I would set it so something more reasonable Smile
Find
Reply
rocky7x Offline
Island Inhabitant
*****
Joined: Jul 2016
Posts: 344
#4
15th November 2016, 20:53
(15th November 2016, 20:40)leszek Wrote: uff 10 minutes delay ? xD

Yeah the sleep is correct but I would set it so something more reasonable Smile

Big Grin Big Grin yeah I've just copied that from another site in a hurry, indeed 10 minutes is ridiculous  Big Grin  something like 30s would be more appropriate...
Find
Reply
claude Offline
New Islander
**
Joined: Nov 2015
Posts: 27
#5
15th November 2016, 22:31
(15th November 2016, 20:53)rocky7x Wrote:
(15th November 2016, 20:40)leszek Wrote: uff 10 minutes delay ? xD

Yeah the sleep is correct but I would set it so something more reasonable Smile

Big Grin Big Grin yeah I've just copied that from another site in a hurry, indeed 10 minutes is ridiculous  Big Grin  something like 30s would be more appropriate...

i add the plank in the startup setting and add the string from the terninal with 30s. I reeboot maui,but plank showed up right away. Wonder if i did something wrong?
Find
Reply
leszek Offline
Moderator
Joined: Jul 2013
Posts: 3,633
#6
15th November 2016, 23:28
Yeah I think autostart will ignore it if you don't use add it as a script.
Did you add it as a script to autostart ?
Find
Reply
claude Offline
New Islander
**
Joined: Nov 2015
Posts: 27
#7
15th November 2016, 23:31
(15th November 2016, 23:28)leszek Wrote: Yeah I think autostart will ignore it if you don't use add it as a script.
Did you add it as a script to autostart ?
Like this one ?
bash -c "sleep 30s && plank"
Find
Reply
leszek Offline
Moderator
Joined: Jul 2013
Posts: 3,633
#8
15th November 2016, 23:53
Yeah I think you need to put this line in a script that starts with
Code:
#!/bin/bash
And this file needs to be executable.
Find
Reply
claude Offline
New Islander
**
Joined: Nov 2015
Posts: 27
#9
16th November 2016, 6:29
(15th November 2016, 23:53)leszek Wrote: Yeah I think you need to put this line in a script that starts with

Code:
#!/bin/bash
And this file needs to be executable.

I give up, tried many different ways,(no sure what i am doing) with no luck.
Find
Reply
rocky7x Offline
Island Inhabitant
*****
Joined: Jul 2016
Posts: 344
#10
16th November 2016, 9:20
When you just change the startup file in settings, it will get overwritten and set to default again.. therefore just create a text file (for example in Kate) put in it this:

Code:
#!/bin/bash
bash -c "sleep 30 && plank"

Save it with extension .sh

Via command line do this:
Code:
chmod 755 file.sh

Add it into startup settings with Add script.
I have dropbox set like this and it works.
Find
Reply
« Next Oldest | Next Newest »
Pages ({1}): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

  • Contact Us
  • Maui Forums
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 16th May 2025, 10:52 Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode