You are not logged in.
Very nice Sector11
Thanks Joe
Huge THANK YOU! to Sector11 for his continued support of my work and the conky world in general!
We are lucky to have you![]()
Well, if people like you didn't write scripts I'd be dead in the water. As I have said before it's all a team effort.
And lets face it, WUN ... is better than sliced bread!
What comes is obvious but I'm not going there.
Since I'm in a metric world where UVi is more important than snow, I tweaked jst_joe's template as well ...
Very nice of falldown to create the weather icons a little off centre, allows the temps in there very smoothly!
Have no idea how to darken the "lua" so I used 'draw-bg.lua' to get it darker:
TEXT
${lua conky_draw_bg 10 2 05 370 410 0x000000 0.4}
But falldown's template, tweaked of course, is now my default weather ... sorry Joe.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
local function day_suf(date) local dnu=string.len(date) if dnu==1 then dend=tostring(date) elseif dnu==2 then dend=tostring(date):sub(2,2) end if dend==1 then return "st" elseif dend==2 then return "nd" elseif dend==3 then return "rd" else return "th" end end--function
the function in the above code is something i just wrote to return the correct date suffix
just realized that this isn't going to work for the 11th 12th and 13th :8
Offline
just realized that this isn't going to work for the 11th 12th and 13th :8
Change the English language:
10th
11st
12nd
13rd
14th
tongue twisters but we'd get use to them - in two or three generations.
.. if ... then statements maybe?
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
But falldown's template, tweaked of course, is now my default weather ... sorry Joe.
No need to be sorry, it's my default also.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
Sector11 wrote:But falldown's template, tweaked of course, is now my default weather ... sorry Joe.
No need to be sorry, it's my default also.
OH MY! That makes what I said on the new WUN Weather Templates page at CPS even better!
Did you get that guys?
Any advice on things missed or other help appreciated.
Last edited by Sector11 (2014-01-28 18:25:03)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
very nice job sector11, and i think the instructions written from your perspective will be really helpful
i may be too familiar with the scripts and with lua code that i take knowledge of these things for granted
if there is anything you would like to me contribute, then please let me know!
Last edited by mrpeachy (2014-01-28 18:36:34)
Offline
Excellent write up sir
I have found that commenting out line 5
--username=os.getenv("USERNAME") -- line 5
--defualt path to wun folder
--pathtowun='/home/'..username..'/wun/' -- line 7
--if you want to have your wun folder in a different location
--enter the full path to the folder in quotes, for example:
--#########################################
pathtowun="/home/sector11/wun/" -- line 11
in wun.lua made no difference on my system.
I did have to change lines 7 & 11 as you mentioned.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
Hot chocolate and cookies served at 6!
6 "where" smarty-pants?
Has any else noticed that if left running "too long" the background image "frames" in iweather_falldown.lua disappears or goes transparent. Causing me to restart it?
It also cause the program to not respond to any clicks...
Thanks!
Edit: and a Radar Map is definitely a "Cool" new feature.
Last edited by Habitual (2014-01-28 19:08:20)
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
very nice job sector11, and i think the instructions written from your perspective will be really helpful
i may be too familiar with the scripts and with lua code that i take knowledge of these things for grantedif there is anything you would like to me contribute, then please let me know!
Well, I can understand you have a deeper more intimate knowledge of the code so it makes sense that you might miss something and or see an error I may have made.
Took me a long time writing that to get it as error free as I could.
Anything you can contribute? You wrote the whole code that got it going that quite a contribution right there.
I got you though and thank you.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Excellent write up sir
![]()
I have found that commenting out line 5--username=os.getenv("USERNAME") -- line 5 --defualt path to wun folder --pathtowun='/home/'..username..'/wun/' -- line 7 --if you want to have your wun folder in a different location --enter the full path to the folder in quotes, for example: --######################################### pathtowun="/home/sector11/wun/" -- line 11
in wun.lua made no difference on my system.
I did have to change lines 7 & 11 as you mentioned.
Thank you.
Interesting ... my wun setup (to us not for testing) isn't in ~/ so mine looks like this:
--the next line tries to detect your username
--username=os.getenv("USERNAME")
--defualt path to wun folder
--pathtowun='/home/'..username..'/wun/'
--if you want to have your wun folder in a different location
--enter the full path to the folder in quotes, for example:
--#########################################
pathtowun="/media/5/wun/"
--#########################################
And for the testing ~/wun or mine in /media/5/wun leaving line 5 active produces the error. Hence I comment them all out and leave just the one pathtowun active.
Works for me.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Hot chocolate and cookies served at 6!
6 "where" smarty-pants?Has any else noticed that if left running "too long" the background image "frames" in iweather_falldown.lua disappears or goes transparent. Causing me to restart it?
It also cause the program to not respond to any clicks...
Thanks!
Edit: and a Radar Map is definitely a "Cool" new feature.
Oh ... I didn't tell you ... your kitchen!
Or if that really freaks you out, down the hall in the #! Coffee room.
Mine is working fine, no disappearing at all, no need to restart it .. been running for 7 hours ... no not true, mine was off while testing, been on for an hour or so, will keep an eye on it and let you know. Have have not seen that problem though in the past though and it's always responds to clicks - I like playing with it and checking things ... a novelty that will wear off in time, I think.
Have not tried the map thing yet, I've been a bit busy for a three finger, 7-8 words a minute, look at the keyboard typist that spends more time spell checking than typing.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
I'll grab some screenshots of the result when it happens again.
I leave mine running for days...until a restart of the wunrci is needed.
No Coffee, no workie#!
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
I'll grab some screenshots of the result when it happens again.
I leave mine running for days...until a restart of the wunrci is needed.
No Coffee, no workie#!
I turn my computer off every night, when I sleep, it sleeps! O:)
Give the man a pot of coffee!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
I'll grab some screenshots of the result when it happens again.
I leave mine running for days...until a restart of the wunrci is needed.
No Coffee, no workie#!
the only problem i have had with clicks is sometimes (mint 16 with cinnamon 2) when i minimize a firefox window that isnt maximized (or at least that seems to be the most common cause) something gets confused and either clicks dont work or my conky crashes and i have to restart
i havnt had the interactive conky running for an extended period of time
i cant think right now what would make the images disappear or go transparent...
Offline
@ mrpeachy
Interesting, I usually have at least 3 programs open, iceweasel, claws-mail and medit plus at times screenruler, mirage, GIMP if not active they are minimized and have never had a problem
Either #! OpenBox or Debian SID & OpenBox
Can not remember a conky ever crashing. But then my forgetter is getting better!
Habitual ... Images ... iweather_falldown.lua
OH!!!! ... I made a mistake at CPS ... it uses images for the background ... I 'had' it as 100% lua ... fixed.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Habitual ... Images ... iweather_falldown.lua
...it uses images for the background ...
Ermm....
These are "image" calls in the iweather_falldown.lua
I see this dire warning in wunrci:
#additional settings to be set in wun.config.lua
#do not uncomment these lines here in the conky config
####################################################
#FOR iweather_falldown
#--icon path settings
#extended_weather_icons ="/home/jj/wun/additional_files/weathericons/extended_falldown/",
#--indicator settings
(says "Paws Off" to me.) I have NOT explicitly used nor chosen anything that is not in the native code supplied.
But I did now just find this nugget: Line 68 of templates/iweather.lua
image({x=0,y=15,w=376,h=265*(620/421),file="/home/mcdowall/wun/additional_files/backgrounds/bg.png"})
which I have changed and bounced my conky_start.sh script. We'll see.
Peace!
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
But I did now just find this nugget: Line 68 of templates/iweather.lua
image({x=0,y=15,w=376,h=265*(620/421),file="/home/mcdowall/wun/additional_files/backgrounds/bg.png"})
which I have changed and bounced my conky_start.sh script. We'll see.
i must have forgotten that one
need to change the "/home/mcdowall/wun/" to "pathtowun"
then it should find the file successfully
Offline
i must have forgotten that one
need to change the "/home/mcdowall/wun/" to "pathtowun"then it should find the file successfully
"pathtowun" with quotes, or hard code it to /home/jj/wun can be utilized also?
Thanks!
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
you can just write your own path to the file in there or
image({x=0,y=15,w=376,h=265*(620/421),file=pathtowun.."additional_files/backgrounds/bg.png"})
i need to go update the archive with that, will do it in a bit
Offline
i need to go update the archive with that, will do it in a bit
Just updated mine ... will make a note on CPS
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
mrpeachy wrote:i need to go update the archive with that, will do it in a bit
Just updated mine ... will make a note on CPS
its updated in the main archive also
only iweather.lua needed it in 1 location
all the paths in iweather_falldown are set, and iweather_joe doesn’t use images
Offline
And CPS is updated
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Here's the screenie of the background going transparent/opaque.
and it's still happening...
I didn't want to get into the code, but if I have to I will!
Maybe I should just set a cron for reset?
Anyone else leave theirs up for extended periods?
Last edited by Habitual (2014-01-29 11:43:48)
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
Here's the screenie of the background going transparent/opaque.
and it's still happening...I didn't want to get into the code, but if I have to I will!
![]()
http://i771.photobucket.com/albums/xx36 … f13dab.png
Maybe I should just set a cron for reset?
Anyone else leave theirs up for extended periods?
very strange!
how long does it take to do that?
could you launch the conky through a terminal and keep the terminal open to watch for error messages?
Offline
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