SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#651 2013-02-09 19:29:18

Jayson Wonder
New Member
Registered: 2013-02-06
Posts: 5

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hi,

It was up top and it had a .sh when I called it. So that is my bad, here is what I have now:

   ${texeci 900 /home/jwon/.bin/accuweather_conky/accuw_script}
   ${color Green}${font conkyweather:size=50}${execi 600  sed -n '2p' ~/.bin/accuweather_conky/curr_cond}${font}${goto 75}${font Radio Space}${voffset -40}    Currently: ${execpi 600 sed -n '4p' $HOME/.bin/accuweather_conky/curr_cond}°C
   ${goto 75}    ${execpi 600 sed -n '3p' $HOME/.bin/accuweather_conky/curr_cond|fold -w30}${font}

Now can this update automatically?

Offline

Help fund CrunchBang, donate to the project!

#652 2013-02-09 19:33:09

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Jayson Wonder wrote:

Now can this update automatically?

Sure thing.
Wait for 900 seconds and see for yourself (better start conky from a terminal to see the script updating after the texeci interval).


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

#653 2013-02-09 19:59:28

Jayson Wonder
New Member
Registered: 2013-02-06
Posts: 5

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Oh yes this works  well, so essentially it is up to conkyrc to restart / update frequently to reflect this i assume. Cron job you suggest?

thanks great script and great support.

Offline

#654 2013-02-09 20:07:00

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Jayson Wonder wrote:

Oh yes this works  well, so essentially it is up to conkyrc to restart / update frequently to reflect this i assume. Cron job you suggest?

thanks great script and great support.

No cron job whatsoever. Just add to the startup scripts of your system the command to start conky and you're done.
In my system for example - running Openbox - I created a file called conky_start.sh with these contents

sleep 2
conky

and then added to my /home/teo/.config/openbox/autostart file the following line:

bash ~/conky_start.sh &

(notice the ambersand - it forces the command to be run in the background).
And that's all about it...


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

#655 2013-02-09 20:47:34

Jayson Wonder
New Member
Registered: 2013-02-06
Posts: 5

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Works like a charm!! I appreciate your time!

Offline

#656 2013-02-09 20:50:33

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#657 2013-02-14 22:37:17

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

.

Last edited by rulet (2013-02-15 13:07:45)

Offline

#658 2013-02-15 13:22:28

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

lwfitz wrote:

Looking back through that last terminal output I did see this error

Conky: /home/r/.conkyrc: 37: no such configuration: 'border_margin'

You no longer need these lines

# border margins
border_margin 9

Also maybe try changing

own_window_type override

to

own_window_type desktop

Ive had some issues with conky displaying correctly with override

Are you running a compositor?

Ok. I did as you say and the conky's window appeared(but with not very readable fonts and is too big itself on the desktop) http://dl.dropbox.com/u/21108895/95.png
But that window disappears when I click somewhere on the desktop.
Here is output(I terminated command manually using system-monitor) http://pastebin.com/4KHKzXYc
I'm using Debian 7 with Gnome 3.4.2 and gnome-shell 3.4.2 and conky 1.9.0-2 version.

Last edited by rulet (2013-02-15 13:24:21)

Offline

#659 2013-02-15 14:24:21

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Can you post us your full conkyrc file?


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

#660 2013-02-15 15:52:12

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@ rulet

border_margin is depreciated - there are now two commands and these will serve you well.

# border margins
border_inner_margin 9
border_outer_margin 0

If you use:

own_window_type override

none of the own_window_hints take affect.

own_window_hints
     If own_window is yes, you may use these window manager hints to affect the way Conky displays. Notes: Use own_window_type desktop as another way to implement many of these hints implicitly. If you use own_window_type override, window manager hints have no meaning and are ignored.

I suggest:

own_window yes
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_transparent yes
own_window_class Conky

own_window_type normal allows right clicking on the desktop as if there was no conky there and the hints are used.

Check the highlighted code in the conky and how it displays on the screen:
acuwCcu6.jpg

Again like TeoBigusGeekus said:  Can you post your full conkyrc file?

I'm using Debian SID with OpenBox your config will probably need tweaking for the GNOME desktop.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#661 2013-02-16 17:09:12

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Ok, I tried what you suggested. This time I used 1d1_Accuweather_INT_Images script. And something appeared http://dl.dropbox.com/u/21108895/96.png. Here is .conkyrc http://pastebin.com/bD3gMSba. Here is ~/Accuweather_Conky_Int_Images/acc_int_images file http://pastebin.com/AwiEDXQQ. Here is output of a command http://pastebin.com/zAeg2JyC.

Offline

#662 2013-02-16 17:15:11

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

As I've told you before, the scripts cannot be used in the Russian and/or Ukranian languge. You have to make do with English.
In your conkyrc, change these lines

# Create own window instead of using desktop (required in nautilus)

own_window yes

own_window_type normal

own_window_hints undecorated,below,skip_taskbar,skip_pager

own_window_transparent yes

own_window_class Conky

with

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager

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

#663 2013-02-16 17:40:26

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I did so. This time nothing appears and here is output http://pastebin.com/twawRmWj. The .conkyrc file http://pastebin.com/YPiEgqL3.

TeoBigusGeekus wrote:

As I've told you before, the scripts cannot be used in the Russian and/or Ukranian languge.

Yeah, that's bad. You have to modify script for supporting different languages, because accuweather itself support many languages.

What is interesting that conky-all package supports some "weather" http://dl.dropbox.com/u/21108895/97.png itself, but I don't understand what that means and how to configure it.

Last edited by rulet (2013-02-16 17:48:17)

Offline

#664 2013-02-16 17:46:51

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Give

killall -9 conky

to kill all instances of conky, replace this line

#put your Accuweather address here
address="http://www.accuweather.com/ru/ua/kiev/324505/weather-forecast/324505"

in the script with

#put your Accuweather address here
address="http://www.accuweather.com/en/ua/kiev/324505/weather-forecast/324505"

and try again.

I used to maintain different language versions of some of the scripts, but it's too much of a work to do, since the scripts change occasionally.


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

#665 2013-02-16 17:56:23

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

Give

killall -9 conky

to kill all instances of conky, replace this line

#put your Accuweather address here
address="http://www.accuweather.com/ru/ua/kiev/324505/weather-forecast/324505"

in the script with

#put your Accuweather address here
address="http://www.accuweather.com/en/ua/kiev/324505/weather-forecast/324505"

and try again.

I used to maintain different language versions of some of the scripts, but it's too much of a work to do, since the scripts change occasionally.

I did that(and even rebooted) but again nothing appeared on the desktop http://pastebin.com/mziZGmzZ

Offline

#666 2013-02-16 17:59:55

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Ok, one final attempt: please post your complete version of the script and your complete conkyrc file.


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

#667 2013-02-16 18:34:21

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

It's 1d1_Accuweather_INT_Images script, .conkyrc http://pastebin.com/5fTLD4Yt.
Debian 7(wheezy) with Gnome 3.4.2 and gnome-shell 3.4.2 and conky-all 1.9.0-2 version.
Thank's for response.

Last edited by rulet (2013-02-16 18:49:14)

Offline

#668 2013-02-16 18:53:07

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Using your conkyrc, I get this:
uhyDBXds.jpg
ie. everything's screwed up.

Using my conkyrc, I get this:
8FnIA6Ws.jpg
ie. everythings's OK.

All in all, you should get something on your screen.
Are you sure you're calling the correct conkyrc file?
Just to eliminate this possibility, kill conky and start it with

conky -c /path/.conkyrc

Replace path with the actual path of the file of course.


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

#669 2013-02-16 19:40:40

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hmm... I tried with conky -c .conkyrc command and nothing appears at all. Output http://pastebin.com/YagNSGdA

Offline

#670 2013-02-16 19:45:01

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sorry mate, but it must be something with your system and/or your conky installation.
I don't use Debian or Crunchbang, so if anybody else would like to hop in the conversation, he'd be perfectly welcome.


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

#671 2013-02-16 19:49:18

rulet
Member
Registered: 2013-02-08
Posts: 15

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

What system do you use? I don't think that something wrong with my the system or conky as it works itself well.

Offline

#672 2013-02-16 19:51:59

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I use Arch.
Tried with your conkyrc and I did get results, therefore I presume it must be something with your system or setup.


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

#673 2013-02-23 17:55:28

ichase
#! CrunchBanger
Registered: 2011-03-16
Posts: 146

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Greetings all, nice to see Teo and Sector 11 here.  Has been a while since I have enjoyed playing with Conky.  I kinda figured after Orange and Blue, that this would most logically be the next place to look.  smile
Well, I tried the Accuweather_Conky_USA_Images.  Read the readme file.  After extraction to my /home/ichase02/Conky_Scripts folder I copied the Accuweather_Conky_USA_Images folder to my /home/ichase02 folder.  I made the script executable using chmod  +x.
I then attempted to execute the conky by typing:

$ conky -c /home/ichase02/Conky_Scripts/TeoBigusGeekus_Conky_Weather_Scripts_16-1-12/1e_Accuweather_USA_Images/.conkyrc_acc_usa_images/.conkyrc_acc_usa_images 

At this point I get a TON of sed errors such as:

sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
wget: no process found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 225: wget: command not found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 228: wget: command not found
grep: /home/ichase02/Accuweather_Conky_USA_Images/tod_ton_raw: No such file or directory
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 236: wget: command not found
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
wget: no process found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 225: wget: command not found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 228: wget: command not found
grep: /home/ichase02/Accuweather_Conky_USA_Images/tod_ton_raw: No such file or directory
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 236: wget: command not found
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory

That is just a snippit, there are more sed errors after that, but did not think I needed to post all of them  The above was probably MORE than enought  LOL
The screen writes with only the layout of the conky but no images:
f7fc82238922679.jpg

Obviously it is something that I am doing wrong and nothing wrong with Teo's great scripts.  I thought I followed the instructions in the read_me file to the letter but very well may have done something wrong.

I do have conky-lau installed in Arch vice just the straight conky package.

If you require more information, please let me know, and please accept my appreciation for your help and guidance.

All the best,

Ian

EDIT:  Never mind, figured it out, I did not have wget installed.  Just recently moved to a newer laptop, installed Arch from a fresh build and did not bring in wget.
4c6e9d238923788.jpg

Last edited by ichase (2013-02-23 18:03:41)

Offline

#674 2013-02-23 18:02:28

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hi Ian and good to hear from you again, it's been a long time.

/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 225: wget: command not found

Methinks it's just that you don't have wget installed.
Debian:

sudo apt-get install wget

Arch:

sudo pacman -S wget

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

Be excellent to each other!

#675 2013-02-23 18:04:59

ichase
#! CrunchBanger
Registered: 2011-03-16
Posts: 146

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hahaha  Teo, is great to see you, I hope this post finds you doing well.  I just edited my last post.  After going through the errors, it was apparent of just that I did not have wget installed.  smile

All the best and great to be back,

Ian

Is it normal not to be getting wind humidity readings?

Last edited by ichase (2013-02-23 18:06:25)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo