You are not logged in.
Sector11 wrote:Care for a cuppa java while we wait? How do you like it?
Sure thing, but make it tea for me.
Good enough ... ready in 3 minutes...
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
Hello, folks. I need help with my simple conky weather and I don't think it's worth creating a separate thread, so I'd like to ask you here, if I may. When I use this line:
${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPPO cloud_cover}it tells me what I want except, I'd like to have the output in Polish. So, I wonder if it's possible to write a script which would gather that information, change the words and then put it on the screen? It seems simple to me, considering monster scripts you guys are cooking here but hey, I know nothing about it so, I can only guess.
Offline
Hello, folks. I need help with my simple conky weather and I don't think it's worth creating a separate thread, so I'd like to ask you here, if I may. When I use this line:
${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPPO cloud_cover}it tells me what I want except, I'd like to have the output in Polish. So, I wonder if it's possible to write a script which would gather that information, change the words and then put it on the screen? It seems simple to me, considering monster scripts you guys are cooking here but hey, I know nothing about it so, I can only guess.
This can be done with sed string replacement, if i'm correct.
There's enough literature about it. Here is an example:
$ sed -i 's/ugly/beautiful/g' /home/file
For more help, i leave it up to "the big guy", as he has more knowledge and understanding of programming.
Offline
Hello, folks. I need help with my simple conky weather and I don't think it's worth creating a separate thread, so I'd like to ask you here, if I may. When I use this line:
${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPPO cloud_cover}it tells me what I want except, I'd like to have the output in Polish. So, I wonder if it's possible to write a script which would gather that information, change the words and then put it on the screen? It seems simple to me, considering monster scripts you guys are cooking here but hey, I know nothing about it so, I can only guess.
Weather is a conky command; therefore, it can't, as far as I know, get mixed with a bash one, ie. you can't do something like
${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPPO cloud_cover |sed 's/Good Weather/Goodsky Weathersky'}You could just use one of the scripts - if there is one you'd like translated into polish, let me know.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
To be honest, all I want to add to my conky is, translated information about current conditions (e.g. clear, partly cloudy: bezchmurnie, częściowe zachmurzenie - hope it didn't brake your tongue) along with a small icon, just like this one:
If I were to choose one of the scripts to translate, I'd pick 1a) and then strip it down to my liking.
Last edited by slavssn (2012-05-29 16:02:49)
Offline
To be honest, all I want to add to my conky is, translated information about current conditions (e.g. clear, partly cloudy: bezchmurnie, częściowe zachmurzenie - hope it didn't brake your tongue) along with a small icon, just like this one:
If I were to choose one of the scripts to translate, I'd pick 1a) and then strip it down to my liking.
weather translation isnt as easy as you might think!
... due to the wide range of conditions that the weather sites can spit out
my lua script, v9000, has a translation feature ... and i know one person has been using it for german translations of weather
the translations are maintained by the user
Offline
The C versions of the 1a modified and 4 scripts are now bundled with the dropbox tarball on the first page.
Open the source file, replace the weather.com/accuweather address with yours, replace the paths with the ones of your liking and save.
Compile with
gcc whatever.c -o whatever -lcurlUse it in conky exactly as you'd use the bash versions, only the call to the program should be something like
${texeci 600 /home/teo/accuweather_conky_modified/accuw_modified_c_version}NOTE 0: Depends on libcurl-dev (libcurl4-gnutls-dev?)
NOTE 1: The code doesn't check if the downloads succeeded. If not, the program will segfault; don't worry about it.
NOTE 2: @mainstream
To get any system variable with C, you use the getenv() function from stdlib.h header.
To get the home folder, you'd use something like
char *home=getenv("HOME");
printf("%s\n",home);If you then want to create folder path strings, you'd have to create new strings, strcpy to them the home string and then strcat to them the rest of the path.
Sorry, but I couldn't be arsed to do it...
NOTE 3: The differences in times (especially with the weather.com script) were amazing. Apart from the user and sys times, even the real time was affected in a considerable way.
Last edited by TeoBigusGeekus (2012-10-02 10:27:25)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Offline
OH YEA!!!! It's play time!
1a I have a taste of, but will have another go, right after I play with (4) I want to see the speed that sucker flies at.
This is for Teo:
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
I'll drink to that!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Sector11 wrote:Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!I'll drink to that!
I thought you might.
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
Hello!
I've got this error when trying to compile:
$ gcc accu.c -o accu -lcurl
accu.c:1:23: fatal error: curl/curl.h: No such file or directory
compilation terminatedI've got curl installed:
$ curl -V
curl 7.24.0 (i386-redhat-linux-gnu) libcurl/7.24.0 NSS/3.13.3.0 zlib/1.2.5 libidn/1.24 libssh2/1.4.1Any help?
Thanks.
Offline
Try installing libcurl4-gnutls-dev.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
It worked! Thank you very much 
Offline
You're welcome mate.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Hello Teo,
Im getting a segmantation fault and problem with gnome-keyring, whenever i try to run the weather script.
I tried it without wheather - and that seems to be working.
When i use weather again, i get:
mainstream@dopamine-pc:~/Desktop$ conky -c ~/accuweather_conky_modified/mainstream.conky
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-HgMAbn/pkcs11: No such file or directory
Conky: desktop window (c00023) is subwindow of root window (15a)
Conky: window type - normal
Conky: drawing to created window (0x2a00001)
Conky: drawing to double buffer
Segmentation fault (core dumped)I'm running the Accuweather conky modified (1a) - C version.
Offline
Hello Teo,
Im getting a segmantation fault and problem with gnome-keyring, whenever i try to run the weather script.
I tried it without wheather - and that seems to be working.
Believe it or not it's a gnome-keyring thing and a bug report has gone in.
If I'm right the conky still rins though doesn't it. I complained a while back but the conkys keep on coming!
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
You guru's issued a warning about upgrading the package conky-all from 1.8.0 to 1.8.6 due to some conflict with the scripts. I have now noticed the new package for conky-all is 1.9.0. Is it OK to upgrade to this or should I stay at 1.8.0?
Offline
You guru's issued a warning about upgrading the package conky-all from 1.8.0 to 1.8.6 due to some conflict with the scripts. I have now noticed the new package for conky-all is 1.9.0. Is it OK to upgrade to this or should I stay at 1.8.0?
Actually I tested them all from 1.8.0 to 1.8.1-6 --> 1.8.1-5 was OK but it looks as if 1.9.0 is going to be the sweetheart version that 1.8.0 was.
I'm using conky-all v1.9.0-2 found in Debian Testing/SID - not even so much as a hiccup.
15:25:53 ~
$ conky -v
Conky 1.9.0 compiled Fri May 11 15:54:00 UTC 2012 for Linux 2.6.32-5-amd64 (x86_64)
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual
Music detection:
* Audacious
* MPD
* MOC
* XMMS2
General:
* math
* hddtemp
* portmon
* Curl
* RSS
* Weather (METAR)
* Weather (XOAP)
* wireless
* support for IBM/Lenovo notebooks
* nvidia
* eve-online
* config-output
* Imlib2
* apcupsd
* iostats
* ncurses
* Lua
Lua bindings:
* Cairo
* Imlib2
15:26:05 ~
$ GO FOR IT!!!!! - I have backups if you need them.
Last edited by Sector11 (2012-06-02 18:32:34)
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
Using 1.9.0; everything's OK.
As for the gnome-keyring bug, I hope it's corrected in an upcoming update - no problems whatsoever here in Arch.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
TransitMan wrote:You guru's issued a warning about upgrading the package conky-all from 1.8.0 to 1.8.6 due to some conflict with the scripts. I have now noticed the new package for conky-all is 1.9.0. Is it OK to upgrade to this or should I stay at 1.8.0?
Actually I tested them all from 1.8.0 to 1.8.1-6 --> 1.8.1-5 was OK but it looks as if 1.9.0 is going to be the sweetheart version that 1.8.0 was.
I'm using conky-all v1.9.0-2 found in Debian Testing/SID - not even so much as a hiccup.
15:25:53 ~ $ conky -v Conky 1.9.0 compiled Fri May 11 15:54:00 UTC 2012 for Linux 2.6.32-5-amd64 (x86_64) Compiled in features: System config file: /etc/conky/conky.conf Package library path: /usr/lib/conky X11: * Xdamage extension * XDBE (double buffer extension) * Xft * ARGB visual Music detection: * Audacious * MPD * MOC * XMMS2 General: * math * hddtemp * portmon * Curl * RSS * Weather (METAR) * Weather (XOAP) * wireless * support for IBM/Lenovo notebooks * nvidia * eve-online * config-output * Imlib2 * apcupsd * iostats * ncurses * Lua Lua bindings: * Cairo * Imlib2 15:26:05 ~ $GO FOR IT!!!!! - I have backups if you need them.
I second this, and can recommend that anyone using the Ubuntu PPA method just typing in a terminal:
sudo add-apt-repository ppa:vincent-c/conky
sudo apt-get updateAnd then nab the new version, 1.9.0-2, from Update Manager when it perks up on ya. 1.9.0-2, so far, is just 1.8.0 with regards to its behaviour, but updated to include bug fixes for all the little stumbles they took along the way *COUGH*1.8.1-6*COUGH* ...Excuse me... Air conditioning is makin' ma throat dry 
I would say it IS worth going to. If for no other reason than it seems like one of the stable places to stand on the development path Conky is on these days. Missteps like 1.8.1-6 can be frustrating. And it doesn't help that the Ubuntu 12.04 family comes shipped with 1.8.1-6 without a means to directly upgrade or downgrade right away.
Offline
Fortunately I am using LMDE and following the Testing/Sid branches.
I shall upgrade and hope it doesn't go "BOOM".
Thanks to all of you for the answer.
Offline
how I unpack and configure the companion
theporter2000
TTFN Bye
Offline
how do I get the images I've got your scripts
theporter2000
TTFN Bye
Offline
Hey Big Teo,
It looks like Weather.com just wasn't happy with their latest change and messed around again. The Today-Tonight section is only showing the moon graphic, Temp: F (no actual temp) and that's it.
Love your scripts. I have XPlanet running in the background with this overlayed.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.