Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Autostart problem

Started by anonimac, September 21, 2021, 02:57:54 PM

Previous topic - Next topic

anonimac

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?

pavroo

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:
./config/openbox/autostart.sh
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

anonimac

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?


pavroo

Yes, you can, for example:
(sleep 5s && your-app) &
5s menas 5 seconds, use your time.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

View the most recent posts on the forum