LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-10-2009, 09:43 PM   #1
MediocreGopher
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:
Code:
${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:
Kernel: 2.6.30.8-64.fc11.x86_64
Conky: Version 1.7.0
 
Old 10-10-2009, 10:31 PM   #2
~sHyLoCk~
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
MediocreGopher
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
highfructose327
Member
 
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 conky_start.sh
Quote:
#!/bin/bash
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
MediocreGopher
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 :/
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

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