[SOLVED] Openbox: getting the autostart to do its job

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

[SOLVED] Openbox: getting the autostart to do its job

Post#1 by francois » 01 Apr 2012, 14:24

For one reason or another ~/.config/openbox/autostart script will not be read when openbox is booted up as a desktop environment in porteus, see:
http://porteus.org/forum/viewtopic.php?f=48&t=1155
http://porteus.org/forum/viewtopic.php?f=53&t=1071

As I have tried the solutions proposed in archlinux wiki to get the autostart to work:
https://wiki.archlinux.org/index.php/Op ... d-alone_WM

I wonder if anyone of you could have an interesting solution. :)
Last edited by francois on 01 Apr 2012, 15:54, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.

crashman
Contributor
Contributor
Posts: 118
Joined: 28 Dec 2010, 17:03
Location: Poland

Re: openbox: getting the autostart to do its job

Post#2 by crashman » 01 Apr 2012, 15:34

From ArchWiki
autostart
This file is read by openbox-session at startup. It contains the programs that are run at startup. It is typically used to set environment variables, launch panels/docks, set background image or execute other startup scripts.
The config file previously called autostart.sh is now just called
autostart. You should rename yours to remove the
.sh from
the end of the name.
i using autostart.sh for openbox 3.5 and work perfectly
check version of openbox

example autostart.sh

Code: Select all

feh -bg-scale porteus.jpg &
tint2 &
all line must be end '&' quote

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: openbox: getting the autostart to do its job

Post#3 by francois » 01 Apr 2012, 15:52

Crashman that is: the .sh missing at the end of the autostart.

Sorry that I did not understood before.

Thanks a lot. :D
Prendre son temps, profiter de celui qui passe.

Post Reply