SEARCH

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

You are not logged in.

#26 2014-01-07 22:35:56

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

Re: Wun Weather Script for Conky (Lua)

Offline

Be excellent to each other!

#27 2014-01-07 23:01:53

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

@sector11
apart form adding astronomy to the list at the top of the templates everything else has remained the same
so any tweaking to date should still be valid smile

Offline

#28 2014-01-07 23:04:22

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Offline

#29 2014-01-07 23:22:53

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

Last edited by mrpeachy (2014-01-07 23:31:49)

Offline

#30 2014-01-07 23:40:20

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

Re: Wun Weather Script for Conky (Lua)

Offline

#31 2014-01-08 00:06:48

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

joe@crunchbang:~$ conky -c ~/wun/wunrc
Conky: desktop window (155) is root window
Conky: window type - normal
Conky: drawing to created window (0x1a00001)
Conky: drawing to double buffer
gathering weather data 1/3
http://api.wunderground.com/api/key/conditions/forecast10day/astronomy/hourly/lang:EN/q/38343.json
weather data processed
getting astronomy data
gathered day 1
gathered day 2
gathered day 3
gathered day 4
gathered day 5
gathered day 6
gathered day 7
gathered day 8
gathered day 9
gathered day 10
astronomy data processed

Last edited by jst_joe (2014-01-08 01:17:20)

Offline

#32 2014-01-08 00:12:27

Habitual
#! Member
From: Youngstown, OH
Registered: 2010-09-10
Posts: 62
Website

Re: Wun Weather Script for Conky (Lua)

Last edited by Habitual (2014-01-08 00:12:56)


Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.

Offline

#33 2014-01-08 00:15:33

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

^ lol  lol  lol
I resemble that remark!

Offline

#34 2014-01-08 00:46:14

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

joe@crunchbang:~$ conky -c ~/wun/wunrc
Conky: desktop window (155) is root window
Conky: window type - normal
Conky: drawing to created window (0x1a00001)
Conky: drawing to double buffer
gathering weather data 1/3
http://api.wunderground.com/api/key/conditions/forecast10day/astronomy/hourly/lang:EN/q/38343.json
weather data processed
getting astronomy data
gathered day 1
gathered day 2
gathered day 3
gathered day 4
gathered day 5
gathered day 6
gathered day 7
gathered day 8
gathered day 9
gathered day 10
astronomy data processed

Last edited by mrpeachy (2014-01-08 01:05:37)

Offline

#35 2014-01-08 00:57:56

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Give me a few minutes and I'll post the lines of about 3 repeats. smile

Offline

#36 2014-01-08 01:06:13

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

also go to your earlier post and edit out your wunderground key just in case

Offline

#37 2014-01-08 01:11:35

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

^ Thanks!
I went to do that and it was already done.
Mods I guess and if so thanks to whomever. ops

Offline

#38 2014-01-08 01:13:36

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

Offline

#39 2014-01-08 01:16:43

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Here's the output of 4 repeats.

joe@crunchbang:~$ killall conky
joe@crunchbang:~$ conky -c ~/wun/wunrc
Conky: desktop window (155) is root window
Conky: window type - normal
Conky: drawing to created window (0x1a00001)
Conky: drawing to double buffer
gathering weather data 1/3
http://api.wunderground.com/api/key/conditions/forecast10day/astronomy/hourly/lang:EN/q/38343.json
weather data processed
getting astronomy data
gathered day 1
gathered day 2
gathered day 3
gathered day 4
gathered day 5
gathered day 6
gathered day 7
gathered day 8
gathered day 9
gathered day 10
astronomy data processed
gathering weather data 1/3
http://api.wunderground.com/api/key/conditions/forecast10day/astronomy/hourly/lang:EN/q/38343.json
weather data processed
getting astronomy data
gathered day 1
gathered day 2
gathered day 3
gathered day 4
gathered day 5
gathered day 6
gathered day 7
gathered day 8
gathered day 9
gathered day 10
astronomy data processed
gathering weather data 1/3
http://api.wunderground.com/api/key/conditions/forecast10day/astronomy/hourly/lang:EN/q/38343.json
weather data processed
getting astronomy data
gathered day 1
gathered day 2
gathered day 3
gathered day 4
gathered day 5
gathered day 6
gathered day 7
gathered day 8
gathered day 9
gathered day 10
astronomy data processed
gathering weather data 1/3
http://api.wunderground.com/api/key/conditions/forecast10day/astronomy/hourly/lang:EN/q/38343.json
weather data processed
getting astronomy data
gathered day 1
gathered day 2
gathered day 3
gathered day 4
gathered day 5
gathered day 6
gathered day 7
gathered day 8
gathered day 9
gathered day 10
astronomy data processed

Just keeps repeating from there.

EDIT
Damn, I've been sober for over four years I swear! lol  lol  lol

Last edited by jst_joe (2014-01-08 01:20:06)

Offline

#40 2014-01-08 01:31:24

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

That is strange...
have you edited anything in the wun.lua script?

is this from the latest archive?  see update in first post of this thread
delete your old wun folder and replace it with the new one

Offline

#41 2014-01-08 01:34:09

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Only this.
local username = "joe"

EDIT
Yes I got it when I saw your post about it going blank after updates.

Last edited by jst_joe (2014-01-08 01:36:15)

Offline

#42 2014-01-08 01:59:46

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

killall conky

delete your wun folder and try again is all i can think of...

Offline

#43 2014-01-08 02:12:43

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Thanks mrpeachy I'll try that and please don't get me wrong the new wun_template.lua is working great even the astronomy section.
Perhaps interactive lua is just not in my cards. sad
Thanks for all your help and the fantastic lua's.

Offline

#44 2014-01-08 02:17:24

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

@jst_joe - no problem!

I only have my computer and my setup to test with so its good to have people trying it out with different setups

oh... i forgot about the interactive part
have you had other interactive scripts running?

do you have xdotool installed?

post the wunrc you are launching please

Offline

#45 2014-01-08 03:58:06

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

##############################################
#  Settings
##############################################
max_specials 10000
max_user_text 1500000
background no
use_xft yes
#xftfont Sans:size=12
#xftalpha 1
font Mono:size=8
total_run_times 0
own_window yes
##own_window_argb_visual yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 450 900
maximum_width 450
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_left
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
color1 86acad #darker blue
color2 b1c9c9 #lighter blue
text_buffer_size 100000
top_name_width 10
update_interval 1
own_window_title interactiveconkyrc

lua_load ~/wun/wun.lua
lua_draw_hook_post weather
lua_load ~/wun/wun_template.lua
#lua_load ~/wun/wun.lua
#lua_draw_hook_post weather
#lua_load ~/wun/iweather.lua

####################################################
## Set the path to button_script.lua here ##########
####################################################
#lua_load ~/wun/button_script.lua
####################################################
## activate mouse click logging ####################
####################################################
#lua_draw_hook_pre get_mouse {"interactiveconkyrc","/tmp/xdo"} 
## after function call, table containing window title and path to click log file
## before running script create a blank log file first.  In the example above "/tmp/xdo" credate a blank file called xdo in your /tmp directory 
####################################################
## restart click logging on conkyrc save/startup ###
####################################################
#lua_startup_hook start_xdo /tmp/xdo
## send click file location following function call if not set up in lua script
####################################################
## kill xdotool process on conkyrc save/shutdown ###
####################################################
#lua_shutdown_hook stop_xdo
####################################################

TEXT

Offline

#46 2014-01-08 04:38:52

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

have you edited your wun_config.lua?

is your update interval very quick which would explain the multiple looping text in the terminal but no errors

Offline

#47 2014-01-08 04:45:49

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Offline

#48 2014-01-08 05:22:39

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

no, that sounds fine. 
hmmmm... i am stumped as to why you are getting the behavior you describe

is it the same behavior with any template?

Offline

#49 2014-01-08 05:56:04

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Last edited by jst_joe (2014-01-08 06:01:35)

Offline

Help fund CrunchBang, donate to the project!

#50 2014-01-08 06:05:28

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Wun Weather Script for Conky (Lua)

that looks great Joe!

i havn't run the interactive script for a little while, ill fire it up and see if i get anything unusual!

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