<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Sun, May 4, 2014 at 11:35 AM, sd <span dir="ltr"><<a href="mailto:superduper3000@outlook.com" target="_blank">superduper3000@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
From my previous experience with other command-line tools for
various X11 configurations there is a chance they do not work when
specified in ~/.config/lxsession/lubuntu/autostart. I guess they are
run too early and their settings get overwritten by the system after
that point.<br>
<br>
So if the command you are interested in works if you run it manually
after login, but it seems not to work when put in
~/.config/lxsession/lubuntu/autostart, then what works for me in
such cases is to make a small bash script with a sleep someseconds
and then the command. Then I call the script from
~/.config/lxsession/lubuntu/autostart, rather than the command
directly. Like this I can experiment with the sleep timeout, until I
find a value that works. In my computers that have SSD the sleep
time is as small as 1 or up to 3 seconds to be really sure. In HDD
computers, you may need to experiment with much longer sleep values
sometimes, if in doubt use 60 seconds or higher.<div><div class="h5"><br>
<br></div></div></div></blockquote><div>Thanks! That's a very good point. Actually, I use "sleep" myself. In the GUI I just point to this script:<br><br> #!/usr/bin/env bash<br><br>(conky -p 5) &<br>
(sleep 3s && tint2) & <br>(sleep 3s && nm-applet) & <br>(sleep 10s && cpu-usage-alert) &<br>(sleep 3s && /home/vasa1/.dropbox-dist/dropbox) &<br><br></div><div>I'm going to pass on your solution to the poster but it would be nice to see some new/old faces at <a href="http://ubuntuforums.org">ubuntuforums.org</a> :)<br>
</div></div></div></div>