Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8402131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:58:13+00:00 2026-06-09T21:58:13+00:00

I have been writing a script to check the weather. The script is fine

  • 0

I have been writing a script to check the weather. The script is fine and is working great as a cronjob but, I am now trying to have the results from the script(todays weather forecast) displayed in conky.

I have a file ‘weather-outside’ that the python-weather script writes to then I add this to the conkyrc file:

${color grey}Weather:${scroll 16 $execi 3600 cat $/home/User/Desktop/misc./weather-outside | fold}

The execi command is suppose to run at interval set to 3600secs but, this is the error message when running conky after:

Conky: execi needs arguments
Conky: Error destroying thread
***** Imlib2 Developer Warning ***** :
    This program is calling the Imlib call:

    imlib_context_free();

    With the parameter:

    context

    being NULL. Please fix your program.

I have changed execi to exec but, then the actually line ‘cat $home/User/Desktop/misc./weather-outside | fold’ scrolls across conky not the text from that file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:58:15+00:00Added an answer on June 9, 2026 at 9:58 pm

    Do not use file to get the information to display in conky. I don’t know how you do it in Python but when I wrote Java application to get twitter feed to be displayed in conky I directly printed it to the console and used execi. This is how I used it

    ${execi 600 java -cp /home/aman/java/classes MyApp}
    

    Also your file path seems odd to me.

    This way you can keep weather info updated without having to update the text file too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have been working on writing a script that takes in input from
I have been writing housekeeping script , now i need to install housekeeping script
I have been writing linear winforms for couple of months and now I am
I have been writing C++ Console/CMD-line applications for about a year now and would
I have been writing articles on the wordpress.com blog , now I am looking
I have been writing my own Lightbox script (to learn more about jQuery). My
I have been writing simple bash scripts for a while now, and I was
I have been writing command-line Python scripts for a while, but recently I felt
I have been trying to figure out the best way to start working on
I have been writing a python script and I am having a problem with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.