Re: I Have Two Instances Of 'autostart.sh Running...

E R <[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Message-ID <CAB1i-Sz=18X_YvB1YiZJNkb6sMBdL_NtgTo44eGkD4b0SRuDeQ@mail.gmail.com>
Yes I added the brackets back.


For the problem.culprit I'm saying it appears to be openbox because if
I make the autostart command as sleep like this; ( sleep 1 && tint2 )
& then I see an instance of autostart.sh running in htop, but if just
made tint start like this; tint2 & nothing appears. You understand
now?

I know that sh starts the script, that is not what I was talking
about. Tint2 is an application, autostart.sh is a script, so I don't
really get why it should appear in htop as a running process is what I
meant...

I've always used it as autostart.sh, but I'll rename it and try...

I don't use a display manager, just startx and I'm running Slack...

Also my understanding is only something you want to sleep you put
brackets around it, not just anything that ends in ampersand &...

So as I mentioned the culprit seems to be running a command as; (sleep
1 && appname) &

On Mon, Oct 20, 2014 at 10:03 AM, TT <[email protected]> wrote:
> E R wrote:
>>
>> tint2 & redshift are both showing these instances, but if I
>> don't make them sleep then I don't even see one instance of autostart
>> running...
>
> on second thought, your bash syntax is probably off somewhere here:
> try putting brackets around everything that has a "&" in the end - and maybe
> something else, don't know, just guessing here.
> try commenting out lines until you find the CULPRIT.
>>
>> compton --config ~/.config/compton -b --logpath /tmp/compton.log &
>> sleep 1s && tint2 &
>> sleep 2s && redshift-gtk >/dev/null 2>&1 &
>> /usr/lib64/xfce4/notifyd/xfce4-notifyd &
>> /usr/bin/xbindkeys &
>> eval `cat $HOME/.fehbg`
>>
>>
>
> _______________________________________________
> openbox mailing list
> [email protected]
> http://icculus.org/mailman/listinfo/openbox
_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.