Page 1 of 1

Conky Autostart (Solved)

Posted: Tue Mar 30, 2010 8:38 am
by viking777
Since trying Mint fluxbox ce I have really taken a liking to Fluxbox, so much so that I installed it as a alternative desktop manager on my Mint main edition. It works perfectly except for one small flaw - Conky won't autostart. The .conkyrc files on the two installations are identical and the .fluxbox/startup files on the two installations are likewise the same and yet on the CE edition Conky always autostarts whereas on the Main edition with Fluxbox window manager it doesn't. I even tried putting

Code: Select all

exec /usr/bin/conky
after

Code: Select all

exec /usr/bin/fluxbox
at the end of the startup file as I read that conky needs to start after fluxbox, but that made no difference it still doesn't start.

If I start it manually it is fine.

Any ideas why?

Re: Conky Autostart

Posted: Tue Mar 30, 2010 9:16 am
by proxima_centauri
Are you saying your ~/.conkyrc and ~/.fluxbox/startup share the same code?

EDIT: oops, I re-read your post, misunderstood the problem. I see, that's odd if both are exactly the same - the information below, you probably already know. Maybe you can post ~/.fluxbox/startup.

You should just be putting

Code: Select all

conky &
in ~/.fluxbox/startup, perhaps with a sleep command to make sure the desktop is loaded first

Code: Select all

sleep 2 && conky &

Re: Conky Autostart

Posted: Tue Mar 30, 2010 10:34 am
by viking777
proxima_centauri wrote:Are you saying your ~/.conkyrc and ~/.fluxbox/startup share the same code?

EDIT: oops, I re-read your post, misunderstood the problem. I see, that's odd if both are exactly the same - the information below, you probably already know. Maybe you can post ~/.fluxbox/startup.

You should just be putting

Code: Select all

conky &
in ~/.fluxbox/startup, perhaps with a sleep command to make sure the desktop is loaded first

Code: Select all

sleep 2 && conky &
That is a very good thought my friend but unfortunately it is not the answer, it still doesn't start.

I will edit the original post so that it reads a bit more clearly.

Re: Conky Autostart

Posted: Tue Mar 30, 2010 12:24 pm
by proxima_centauri
I would try putting

Code: Select all

sleep 10 && conky &
before
exec fluxbox

Re: Conky Autostart

Posted: Tue Mar 30, 2010 1:28 pm
by viking777
proxima_centauri wrote:I would try putting

Code: Select all

sleep 10 && conky &
before
exec fluxbox
ACE!!

That works.

Thank you so much proxima_centauri :)

I thought it would be something like that but I just didn't guess the right format.