Conky ! Driving me crazy, will not autostart

Forum rules
Before you post please read how to get help

Conky ! Driving me crazy, will not autostart

Postby antcj on Thu Aug 30, 2012 4:10 pm

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

Linux Mint is funded by ads and donations.
 

Re: Conky ! Driving me crazy, will not autostart

Postby HughT on Thu Aug 30, 2012 7:07 pm

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
Please Edit your post title and add [SOLVED] once your question is resolved.
HughT
Level 5
Level 5
 
Posts: 628
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: Conky ! Driving me crazy, will not autostart

Postby antcj on Thu Aug 30, 2012 8:13 pm

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

Re: Conky ! Driving me crazy, will not autostart

Postby HughT on Fri Aug 31, 2012 6:49 am

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
Please Edit your post title and add [SOLVED] once your question is resolved.
HughT
Level 5
Level 5
 
Posts: 628
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

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

Postby antcj on Fri Aug 31, 2012 3:58 pm

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

Re: Conky ! Driving me crazy, will not autostart

Postby greenamit on Wed Oct 17, 2012 11:00 am

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
greenamit
Level 1
Level 1
 
Posts: 6
Joined: Wed Oct 10, 2012 8:41 am

Re: Conky ! Driving me crazy, will not autostart

Postby antcj on Sun Dec 02, 2012 10:31 pm

hm this was a while ago but anyway this is all i use
# !/bin/bash
sleep 20 && conky ;
antcj
Level 2
Level 2
 
Posts: 54
Joined: Thu Jun 28, 2012 11:17 pm

Linux Mint is funded by ads and donations.
 

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 5 guests