Page 1 of 1

Conky ! Driving me crazy, will not autostart

Posted: Thu Aug 30, 2012 4:10 pm
by antcj
1st up im a linux noob of 2 months or so.
I have mint 13 maya
I have installed conky and followed various instructionals,not really finding what I wanted until I found this post by Petro Dawg
http://ubuntuforums.org/showthread.php?p=12201383

I have changed it slightly to show wifi as well, also temp wasnt showing.
(Im not sure re the temp as it shows constant 80C so possibly something wrong there.Ill work on that later)

Anway to the problem at hand,
It runs from terminal when I use the startup shortcut to the start script.
It also runs if I log out and back in.
But no way will it run from a boot.
Any help appreciated

Re: Conky ! Driving me crazy, will not autostart

Posted: Thu Aug 30, 2012 7:07 pm
by HughT
hi antcj, this is how I make my conky start on boot, a simple script:
#!/bin/bash
# my script for starting conky 2 July 2012
# sleep required to allow the wallpaper to load first. Double ampersand makes sleep command complete before next command; # # single ampersand allows next command to start without the second completing.
# added to Preferences > Startup Applications

sleep 50 &&

conky -c /home/hugh/.conkyrc1 &&

sleep 3

conky -c /home/hugh/.conkyrc2

exit
as you can see, I have two conkys. You write a script like this in pluma, all you'd need to do is change the name and address for your conky, save the script as eg conky_start.sh. Then make it executable by right-clicking on it, selecting Permissions and the Execute box. Then add it to start up applications as described. hope this helps, regards

Re: Conky ! Driving me crazy, will not autostart

Posted: Thu Aug 30, 2012 8:13 pm
by antcj
Thanks for the reply.
Doesnt work unfortunately

I can get it going by running the autostart shortcut ,pointing at the script,via terminal, which shows me the script works.
also log out/ login starts it as well

but on a reboot no luck

Re: Conky ! Driving me crazy, will not autostart

Posted: Fri Aug 31, 2012 6:49 am
by HughT
okay, then can you post your script here so we can have a look. Seems odd that a start-up script runs on log-in, but not on boot. regards

Re: Conky ! Driving me crazy, will not autostart (solved)

Posted: Fri Aug 31, 2012 3:58 pm
by antcj
Many thanks for the help.
this am when i started up as usual, no conky.
but i was delayed in getting back to pc. when i eventually started via terminal i got segmentation fault, not seen before.

Googled and discovered that a delay start can bring this up and the solution was to downgrade.
I then discovered that repo does not have up to date version. :oops:

updated via ppa into synaptic and all good.

(i did download the tar.gz file from sourceforge, but being a noob, couldnt get it to work, even though i followed the enclosed install instructions)

Any hoo all good.

so another problem off my list.
On to the next, when i have time, busy moving house :cry:

Re: Conky ! Driving me crazy, will not autostart

Posted: Wed Oct 17, 2012 11:00 am
by greenamit
I am having similar problem.
When restarting the computer and login - conky won't show.
If I then logout and login - it does show up.

This is how my .start-conky.sh looks like:
#!/bin/sh
sleep 15 &&
conky -d -c /home/amit/.conkycolors/conkyrc
exit

right click on .start-conky.sh --> permissions: Allow executing file as program is checked.

Thanks

Re: Conky ! Driving me crazy, will not autostart

Posted: Sun Dec 02, 2012 10:31 pm
by antcj
hm this was a while ago but anyway this is all i use
# !/bin/bash
sleep 20 && conky ;