Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: Autostart problem  (Read 447 times)

Offline anonimac

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Autostart problem
« 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?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2274
  • Karma: 6
    • SparkyLinux
Re: Autostart problem
« Reply #1 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
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Offline anonimac

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Autostart problem
« Reply #2 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?


Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2274
  • Karma: 6
    • SparkyLinux
Re: Autostart problem
« Reply #3 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.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat