Maui Forums
Plank startup - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: Plank startup (/showthread.php?tid=24113)

Pages: 1 2


RE: Plank startup - claude - 17th November 2016

(16th November 2016, 9:20)rocky7x Wrote: 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.

Thanks so much  for your help  but I am newbie in linux and computer . My knowledge in this topic is null and i am kinda lost. i open kate and copy paste the code but i have no clue how to save with the extension .sh and  in which folder 



RE: Plank startup - leszek - 17th November 2016

File -> Save -> save to /home/yourusername/. Enter as filename autostart-plank.sh and hit the save button.


RE: Plank startup - claude - 20th November 2016

(17th November 2016, 10:29)leszek Wrote: File -> Save -> save to /home/yourusername/. Enter as filename autostart-plank.sh and hit the save button.

Thanks but still did not work for me. I found a solution, just adding this command line 
Code:
sh -c "sleep 10; /usr/bin/plank"