Re: Conky Help

I have another conkyForecast question (and this time I searched for answers BEFORE asking big_smile )....

For the current temperature, one uses conkyForecast --location=WHERE --datatype=HT (and --imperial if you want Fahrenheit) if I am not mistaken.  However, on my computer right now, the output I am getting for my location (USOH01095... Cleveland, Ohio, USA)  is 43 degrees Fahrenheit (that's 6 degrees Celsius).   However, if I actually go to weather.com, or look at my cellphone (I have it set up to give me current conditions when I open it up), the temperature is actually about 36 degrees Fahrenheit.  I've considered the possibility that using HT I'm getting the forecast for the high temp, however, today's forecast for Cleveland, Ohio is for a high temperature above 60 degrees.  I can't figure out where the 43 degrees is coming from.

Another possibility I've considered is that the temperature reflected being pulled from a different source (different location in the city).  Whenever I do a search for "Cleveland, Ohio" in weather.com (not for location code purposes), it does give me a few different options (temperature at two different airports in the city, plus a third option elsewhere in the city).  Each one though, had a temperature under 40 degrees.

Any ideas?

^Could it have anything to do with how often the conky updates the data coming from Weather.com as well as how often weather.com updates. For example now it's 41F (http://www.weather.com/weather/local/US … undeclared) That was the first thing that came in my mind.

Last edited by Hanna (2009-04-17 12:20:11)

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Conky Help

Hanna wrote:

^Could it have anything to do with how often the conky updates the data coming from Weather.com as well as how often weather.com updates. For example now it's 41F (http://www.weather.com/weather/local/US … undeclared) That was the first thing that came in my mind.

Thank you for the reply.

That's a possibility.  Since the info conkyForecast uses is stored in a file and refreshed every so often, it could have been using data from last night when I turned my computer on this morning.  Since now that my computer has been on for a little while, everything seems to be in synch with the data on weather.com.

If my understanding is correct, the setting of EXPIRY_MINUTES defines how often it will truly refresh.  I have it set to 30 (the default).  Could it be that the time to refresh isn't computed by the actual time of day?  For example, let's say that two minutes before I turned my computer off last night, conkyForecast pulled a new temp.  Now, is it possible then when I turned my computer on this morning, it took 28 minutes to fetch a new temp?

Or, perhaps it always starts it counter at "0" on a fresh reboot, and I may have had to wait a full 30 min for it to refresh it's data.

- Al

Re: Conky Help

Hanna wrote:
kBang wrote:

Removing the shadows from a transparent conky when a compositor is enabled:

How do I do that or can I?

http://omploader.org/tMWphag

I can't remember if I could or ever did.

# Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    own_window_type desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

I don't remember which one of these it was, but I have this in my conkyrc and no shadows.

Thanks Hanna, I will give that a try.

[edit to add]

That seems to have been it, I believe having the own_window_type set to normal was my problem.  Thanks!

Last edited by kBang (2009-04-17 13:43:12)

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

Anyone have a script that will poll for mail on zenbe.com?  I can't get the gmail one to work.

Re: Conky Help

Hey I'm new to crunchbang/openbox and sort of intermediate at best with the most popular linux distros like linuxmint. I've been reading posts and have been directed all over the internet to forums that are mostly over a year old. I would really appreciate some help setting up conky to display weather.

What's the difference between Forecast and Weather? What do I need to do on a fresh install of CrunchBang Linux? I basically understand I'm editing a text file, signing up for weather.com to get an id that I put into some text file and clicking save. Starting to think I need to download fonts etc.

I've searched, I've read, I've followed directions to the best of my ability but it just seems like I can't get it to work after several hours. I would really appreciate some help doing this from scratch not only so I can have it done but so that I can understand what I'm doing.

Re: Conky Help

I had pretty good luck with setting my conky weather using this thread :

http://ubuntuforums.org/showthread.php?t=869328

Last edited by taintedsushi (2009-04-23 11:38:45)

Re: Conky Help

taintedsushi wrote:

I had pretty good luck with setting my conky weather using this thread :

http://ubuntuforums.org/showthread.php?t=869328

Having a little editing the conkyForecast.config file with the information I received from weather.com (nano ~/.conkyForecast.config). I keep getting an error saying that 'Permission is denied". I tried doing this by using gedit as well, with the same results.

Re: Conky Help

atonz wrote:
taintedsushi wrote:

I had pretty good luck with setting my conky weather using this thread :

http://ubuntuforums.org/showthread.php?t=869328

Having a little editing the conkyForecast.config file with the information I received from weather.com (nano ~/.conkyForecast.config). I keep getting an error saying that 'Permission is denied". I tried doing this by using gedit as well, with the same results.

sounds like you edited the file as root?  If so you need to change the permissions on the file.

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

kBang wrote:

sounds like you edited the file as root?  If so you need to change the permissions on the file.

I don't understand your question, but trying to change the permissions via right clicking denies me? Here's what it's set to if that helps.
http://bayimg.com/image/faplpaabd.jpg

http://bayimg.com/FAPLPaabD

Re: Conky Help

atonz wrote:
kBang wrote:

sounds like you edited the file as root?  If so you need to change the permissions on the file.

I don't understand your question, but trying to change the permissions via right clicking denies me? Here's what it's set to if that helps.
http://bayimg.com/image/faplpaabd.jpg

http://bayimg.com/FAPLPaabD

Yep that file belongs to root so..

$ gksudo pcmanfm

Then enter password.  When pcmanfm loads you will be sudo'ed and you can change the properties to allow yourself normal access.

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

Anyone know if there is a way to give a conky script collision?  I want a conky script to be used as an edge border (basically the top of the screen).

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

i am having problems getting rythmbox to work with my conky i dont see any songs from it playing and i have installed the necessary scripts for the conky rythmbox to work supposedly and i added the lines to my conkyconfig file too buts still showing nothing even after multiple restarts too

Last edited by ljonesj (2009-04-26 00:01:05)

Re: Conky Help

kBang wrote:

Anyone know if there is a way to give a conky script collision?  I want a conky script to be used as an edge border (basically the top of the screen).

You could set the window margin at the top of the screen to the size of the conky, that will at least stop maximized windows from covering it.

Re: Conky Help

Greyscale wrote:
kBang wrote:

Anyone know if there is a way to give a conky script collision?  I want a conky script to be used as an edge border (basically the top of the screen).

You could set the window margin at the top of the screen to the size of the conky, that will at least stop maximized windows from covering it.

With the exception I have forgotten how...in XFCE4 there was an option in the main user settings GUI for this...I suppose I can just stick my trayer there to create a barrier.

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

kBang wrote:
Greyscale wrote:
kBang wrote:

Anyone know if there is a way to give a conky script collision?  I want a conky script to be used as an edge border (basically the top of the screen).

You could set the window margin at the top of the screen to the size of the conky, that will at least stop maximized windows from covering it.

With the exception I have forgotten how...in XFCE4 there was an option in the main user settings GUI for this...I suppose I can just stick my trayer there to create a barrier.

You can set the window margin using the Openbox configuration gui.

I did this on my desktop because I wanted Trayer at the top of the screen becuase otherwise, Trayer would be on top of maximized windows.

Last edited by Greyscale (2009-04-26 03:37:41)

Re: Conky Help

kBang wrote:

Yep that file belongs to root so..

$ gksudo pcmanfm

Then enter password.  When pcmanfm loads you will be sudo'ed and you can change the properties to allow yourself normal access.

Thanks dude! Got it working thanks to that and by using some configs from the other conky thread. This whole sort of thing reminds me the days when I was doing HTML for my DBZ fansites lol.

http://bayimg.com/image/papkhaabe.jpg


EDIT: After a day or two I've been noticing a few problems with this. 1) It doesn't seem like it's updated on a frequent basis (says its 9C when its 5 on the website). 2) I often get a 'N/A' symbol (not 100% for what weather condition, think it's this: http://image.weather.com/web/common/wxi … g?12122006.

Any way can I somehow set it up to www.theweathernetwork.com since it's probably the site of choice for Canadians, maybe even Environment Canada? Fellow Canucks might know?

Last edited by atonz (2009-04-27 02:18:07)

Re: Conky Help

I have successfully installed conkyForcast I think.  It took lot of tinkering and reading.  I am still doing some reading and looking at the conky scripts in the other thread.

My question is that my son seen my desktop and wanted it on his desktop.  This is the same computer just his account.  I have tried to get to work but not much luck so far.

I copied the conkyForcast.config file to his home directory.  I named it .conkyForcast.config and added the  LOCALE =,  XOAP_PARTNER_ID =, and   XOAP_LICENCE_KEY = that I recieved from the weather site.  But when I change his conkyrc file and restart conky I get nothing or I get only partial results.  No weather or some weather with the wrong location and units.

I am not sure what else that would be helpful.  Let me know if more info is needed. 
Thanks Kelean.

Re: Conky Help

Problem solved and I am feeling a bit silly.  I was looking at my sons files double checking a couple of things and what do you know.  I found a conkyForcast.config and a .conkyForcast.config.  I had put the needed info into the wrong file.  So when I tried the different things in conky there was no location or keys to access the weather site. 

Well I guess if it wasn't for some of my dumb mistakes I would never learn some things.  Now that my sons conky is better looking than mine is, now it time to make mine look better.

Thanks Kelean.

Re: Conky Help

I'm just having a little trouble, nothing major, wondering if someone more knowledgeable than me could help.

I just want Conky to display the disk usage on my various storage devices. I already have it set up to detect the mounted partitions on my hard drive and display those, and now I'm trying to get it to do removable media. The problem comes in when I got to my external hard drive, which is named "My Passport". Conky doesn't like the fact that there's a space in the name, but I don't particularly want to remove it.

So, here's what the code looks like:

${if_mounted /media/HDNAME}External HD
${fs_bar 8,80 /media/HDNAME}$endif

I want to replace HDNAME with the name of the drive, "My Passport". So far I've tried variations, like
${if_mounted /media/My Passport}
${if_mounted /media/My_Passport}
${if_mounted /media/My\ Passport}
${if_mounted /media/"My Passport"}
${if_mounted /media/'My Passport'}

But nothing seems to be doing it. Anybody have any ideas?

Last edited by Askeptykal (2009-04-27 18:31:36)

"Exhilaration is that feeling you get just after a great idea hits you, and just before you realize what is wrong with it."
--Anonymous

Re: Conky Help

Try ${if_mounted /media/My\ \Passport}

Last edited by Greyscale (2009-04-28 03:09:01)

Re: Conky Help

Greyscale wrote:

Try ${if_mounted /media/My\ \Passport}

Nope, that didn't do it.

"Exhilaration is that feeling you get just after a great idea hits you, and just before you realize what is wrong with it."
--Anonymous

Re: Conky Help

from some quick googling it looks like conky doesn't like spaces in drive names. You could always rename the drive to MyPassport or My_Passport.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Conky Help

Yeah, I knew things didn't look promising, but I figured I'd ask.

Actually, I figured out how to do it. Sort of. If I do this:

${fs_bar 8,80 /media/My Passport}

the bar shows up perfectly fine. However

${if_mounted /media/My Passport}External HD$endif

Displays absolutely nothing for some reason. Maybe just the $if_mounted function is picky. I dunno, I'll keep playing around with it.

"Exhilaration is that feeling you get just after a great idea hits you, and just before you realize what is wrong with it."
--Anonymous

Re: Conky Help

not sure if it would work but maybe make a symlink to /media/My Passport that doesn't have spaces?

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Conky Help

Ah, that did it!

I made a symbolic link to My Passport via /home/josh/Other/ConkyLinks/My_Passport. Though, it still didn't work right away... until I replaced $if_mounted with $if_existing

Now it works just fine! Thanks for the idea!

"Exhilaration is that feeling you get just after a great idea hits you, and just before you realize what is wrong with it."
--Anonymous