Conky Autostart (Solved)

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
viking777

Conky Autostart (Solved)

Post 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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
proxima_centauri

Re: Conky Autostart

Post 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 &
viking777

Re: Conky Autostart

Post 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.
proxima_centauri

Re: Conky Autostart

Post by proxima_centauri »

I would try putting

Code: Select all

sleep 10 && conky &
before
exec fluxbox
viking777

Re: Conky Autostart

Post 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.
Locked

Return to “Compiz, Conky, Docks & Widgets”