Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-10-2009, 09:43 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 12

Rep: Reputation: 0
Conky cat

I have conky set up and working more or less perfectly, except for one detail. In my setup I have the following line:
${execi 20 cat ~/path/to/file}
The file it's reading has multiple lines.

If I start conky manually (go to the terminal and type in 'conky') conky starts perfectly and the file gets read and output in its entirety. However, I set up conky to start on login using the same command ('conky'), and about 80% of the time, when it starts up automatically, only the first line of the file gets read and output. When I manually restart conky ('killall conky && conky') it restarts and works again. Does anyone know why this would happen? And how it could get fixed?

Here's extra info:
Conky: Version 1.7.0
Old 10-10-2009, 10:31 PM   #2
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
What file are you trying to read? Does it involve connecting to internet?
Old 10-10-2009, 11:11 PM   #3
LQ Newbie
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Basically, a separate program gets info from the internet, then puts that info into the file, which is just a plain old text file.
Old 10-10-2009, 11:35 PM   #4
Registered: Mar 2008
Location: Ohio, USA
Distribution: Mint, Fedora
Posts: 64

Rep: Reputation: 21
I had a different issue with conky, but; the same solution might work for you. I needed conky to wait for another process to finish, before conky started. I used a script
sleep 15 && conky;
this makes conky wait 15 seconds before starting allowing the process to load. Just a thought

Last edited by highfructose327; 10-10-2009 at 11:36 PM. Reason: spelling
Old 10-11-2009, 03:39 PM   #5
LQ Newbie
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
I had that thought as well, and I did that exact thing (although I wait 30 seconds). Still doesn't work though :/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Conky Smitty67 Slackware 24 07-12-2009 04:30 PM
Need Help with Conky slickhare Linux - Newbie 7 05-06-2009 02:15 AM
cat in asm/ cat --show-all option Tux Linux - Software 1 09-02-2006 09:31 PM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM
conky help ahh_dee Linux - Software 2 10-28-2005 01:40 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration