<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 21, 2014 at 2:35 AM, E R <span dir="ltr"><<a href="mailto:ears.box@gmail.com" target="_blank">ears.box@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So I've gone through everything again and all I can think of.<br>
<br>
Again, for some reason using the sleep cmd to run an app causes this<br>
and this shouldn't happen.<br></blockquote><div><br></div><div>doesn't (sleep 1 && foo) cause the shell to fork?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also something I forgot to mention, that application in question, I<br>
don't see them running in htop when using sleep, instance I just see<br>
it showing autostart.sh running....<br>
<br>
So here's how I made it look now;<br>
<span class=""><br>
# This shell script is run before Openbox launches.<br>
# Environment variables set here are passed to the Openbox session.<br>
<br>
# D-bus<br>
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then<br>
       eval `dbus-launch --sh-syntax --exit-with-session`<br>
fi<br>
<br>
# Run XDG autostart things.  By default don't run anything desktop-specific<br>
# See xdg-autostart --help more info<br>
#DESKTOP_ENV="OPENBOX"<br>
#if which /usr/libexec/openbox-xdg-autostart >/dev/null; then<br>
#  /usr/libexec/openbox-xdg-autostart $DESKTOP_ENV<br>
#fi<br>
<br>
</span><span class="">compton --config ~/.config/compton -b --logpath /tmp/compton.log &<br>
</span>tint2 &<br>
<span class="">redshift-gtk >/dev/null 2>&1 &<br>
/usr/lib64/xfce4/notifyd/xfce4-notifyd &<br>
</span>xbindkeys &<br>
eval `cat $HOME/.fehbg` &<br>
<span class=""><br>
# For use with BFS<br>
</span>#sudo schedtool -n -20 -I `pidof X`<br>
<br>
To be honest I don't need anything to sleep and now I see tint2 and<br>
redshift appearing in htop...<br>
<br>
Hopefully Dana, OH DANA! :) What's going on here?<br>
<br>
I still say --> BUG hehe... :)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Mon, Oct 20, 2014 at 8:17 PM, E R <<a href="mailto:ears.box@gmail.com">ears.box@gmail.com</a>> wrote:<br>
> Yes I added the brackets back.<br>
><br>
><br>
> For the problem.culprit I'm saying it appears to be openbox because if<br>
> I make the autostart command as sleep like this; ( sleep 1 && tint2 )<br>
> & then I see an instance of autostart.sh running in htop, but if just<br>
> made tint start like this; tint2 & nothing appears. You understand<br>
> now?<br>
><br>
> I know that sh starts the script, that is not what I was talking<br>
> about. Tint2 is an application, autostart.sh is a script, so I don't<br>
> really get why it should appear in htop as a running process is what I<br>
> meant...<br>
><br>
> I've always used it as autostart.sh, but I'll rename it and try...<br>
><br>
> I don't use a display manager, just startx and I'm running Slack...<br>
><br>
> Also my understanding is only something you want to sleep you put<br>
> brackets around it, not just anything that ends in ampersand &...<br>
><br>
> So as I mentioned the culprit seems to be running a command as; (sleep<br>
> 1 && appname) &<br>
><br>
> On Mon, Oct 20, 2014 at 10:03 AM, TT <<a href="mailto:turkuting@gmail.com">turkuting@gmail.com</a>> wrote:<br>
>> E R wrote:<br>
>>><br>
>>> tint2 & redshift are both showing these instances, but if I<br>
>>> don't make them sleep then I don't even see one instance of autostart<br>
>>> running...<br>
>><br>
>> on second thought, your bash syntax is probably off somewhere here:<br>
>> try putting brackets around everything that has a "&" in the end - and maybe<br>
>> something else, don't know, just guessing here.<br>
>> try commenting out lines until you find the CULPRIT.<br>
>>><br>
>>> compton --config ~/.config/compton -b --logpath /tmp/compton.log &<br>
>>> sleep 1s && tint2 &<br>
>>> sleep 2s && redshift-gtk >/dev/null 2>&1 &<br>
>>> /usr/lib64/xfce4/notifyd/xfce4-notifyd &<br>
>>> /usr/bin/xbindkeys &<br>
>>> eval `cat $HOME/.fehbg`<br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> openbox mailing list<br>
>> <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
>> <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br></div></div>