Conky ! Driving me crazy, will not autostart

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
antcj
Level 3
Level 3
Posts: 148
Joined: Thu Jun 28, 2012 11:17 pm

Conky ! Driving me crazy, will not autostart

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

Re: Conky ! Driving me crazy, will not autostart

Post 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
antcj
Level 3
Level 3
Posts: 148
Joined: Thu Jun 28, 2012 11:17 pm

Re: Conky ! Driving me crazy, will not autostart

Post 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
HughT

Re: Conky ! Driving me crazy, will not autostart

Post 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
antcj
Level 3
Level 3
Posts: 148
Joined: Thu Jun 28, 2012 11:17 pm

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

Post 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:
greenamit

Re: Conky ! Driving me crazy, will not autostart

Post 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
antcj
Level 3
Level 3
Posts: 148
Joined: Thu Jun 28, 2012 11:17 pm

Re: Conky ! Driving me crazy, will not autostart

Post by antcj »

hm this was a while ago but anyway this is all i use
# !/bin/bash
sleep 20 && conky ;
Locked

Return to “Compiz, Conky, Docks & Widgets”