SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: anonimac on September 21, 2021, 02:57:54 pm

Title: Autostart problem
Post by: anonimac on September 21, 2021, 02:57:54 pm
I am using openbox for the first time and i have a problem with autostarting applications...Parcelite, riseup-vpn, redshift, none of these work at startup so i have to start them manually...Can you help me with that? How to fix it?
Title: Re: Autostart problem
Post by: pavroo on September 21, 2021, 03:36:04 pm
Small window managers don't read desktop's autostarts, they have to be configured via a window manager own autostart scripts.
Openbox can be configured via:
Code: [Select]
./config/openbox/autostart.sh
Title: Re: Autostart problem
Post by: anonimac on September 22, 2021, 11:28:02 am
I edited the file and now it works perfect...i have one more question, can i delay startup for few seconds or so? and if yes how?

Title: Re: Autostart problem
Post by: pavroo on September 22, 2021, 11:51:07 am
Yes, you can, for example:
Code: [Select]
(sleep 5s && your-app) &5s menas 5 seconds, use your time.