autostart a script in openbox (SOLVED)

In the latest openbox, I have a script to autostart on boot, I put the executable script in the $HOME/.config/autostart but does not work, also tried to make a subfolder autostart-scripts with the script and does not work.

What is the proper way?

thanks,

This should help

See the mention of ~/.config/openbox/autostart and test it out.

Openbox cannot run scripts at boot - but it is possible at login.

Add a line to the autostart script - roughly like below - save the file - it will run at login.

nano ~/.config/openbox/autostart

....
~/.local/bin/myscript &
....

thanks!

Forum kindly sponsored by