Posted: Wed 01 Jul 2015, 05:12
More testing on a different computer, Tahrpup 6.0.3, and Pwidgets version 2.5.7 - Weather Station is working fine here, using the above linked WOEID's.
Bob
![Question :?:](./images/smilies/icon_question.gif)
Bob
The famous I don't type rite syndrome...sorry.Moat wrote:That is odd, tlchost! BTW - the codes need four digits at the end - the example you gave - usmd020 - is one number shy of being valid...!? Probably should be capital letters in front, as well. Might be part of the issue, as...
All good. Spurred me on to fix some other issues I discovered while in there.tlchost wrote:...got a fresh copy of 257 and it works fine...sorry for causing any extra work.
Confirming this, with Pwidgets 2.5.6 as well. Other plugins, too - not just calendar.bigpup wrote:When trying to access plugin calendar I get this:
Code: Select all
# zcat resizepng_gobject_unref.patch.gz
--- resizepng.c.orig 2009-01-20 22:18:52.000000000 +1000
+++ resizepng.c 2015-07-03 08:26:58.727669174 +1000
@@ -58,8 +58,8 @@ int main(int argc, char **argv) {
gdk_pixbuf_save ( im , jpgname , "png" ,NULL, "compression" , newquality, NULL);
- gdk_pixbuf_unref(im);
- gdk_pixbuf_unref(im2);
+ g_object_unref(im);
+ g_object_unref(im2);
//gdk_flush();
Code: Select all
# zcat blendpics_gobject_unref.patch.gz
--- blendpics.c.orig 2009-01-18 22:01:12.000000000 +1000
+++ blendpics.c 2015-07-03 08:50:45.307709135 +1000
@@ -141,7 +141,7 @@ gdk_pixbuf_get_from_drawable (im,pixmap,
gdk_pixbuf_save ( im , jpgname , "png" ,NULL, NULL);
-gdk_pixbuf_unref(im);
+g_object_unref(im);
//gdk_pixbuf_unref(im2);
return 0;
I am using a very detailed picture as the desktop background that takes a little time to fully load.jrb wrote:bigpup wrote:Maybe a start delay setting in the root/startup/0_show_widgets?Works for me.Code: Select all
sleep 3 fixwidgets -boot &
I saw the problem but liked the black background.
Tried it with 258 and Tahr604 on bootable USB stick....it shows up as weather in the pwidgets selection menu....and palces some bad stml on the desktopMoat wrote:F
- below is attached a mildly-tweaked version of the original Weather Station locale-setting plugin, that should work for it. Just extract the 'Weather_Station_Forecast' folder to the '/usr/local/pwidgets/widgets/plugins' directory...
Code: Select all
#this is a Pwidgets config file
#the actual building of the graphics is defined in bottom of this file, - after 'TEXT'.
# temp data for this widget comes from modules loaded at boot that report any temps for cpu or other devices and for fan speeds if modules report these
# run 'sensors' in a console to see what your system could report
# you may need to run an lm-sensors pet if sensors shows in the terminal it is not loaded
#### --> NB: this widgets needs tailoring to suit your particular computer and its hardware
# this particular version runs on old HP Small Form desktops
#### PWIDGETS #####
HEIGHT=340
OFFSET_X_LEFT=1080
OFFSET_X_RIGHT=20
#### CONKY ####
#COLORS --- 0:headings 1:base-info 2:extra-info 3:markers 5:green 6:red
#Colors are defined in theme-files, - NOT here.
color0 A2914E
color1 666666
color2 bbbbbb
color3 ffab00
color5 499D3A
color6 red
background no
own_window yes
own_window_type roxdesktop
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_colour hotpink
double_buffer yes
total_run_times 0
update_interval 1
minimum_size 180 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 2
border_margin 4
border_width 1
default_color white
default_shade_color 333333
default_outline_color red
no_buffers yes
uppercase no
use_spacer none
#font fixed
use_xft yes
xftfont dejavu:size=8
TEXT
${font pdingobats2:size=20}${color4}z${font :size=12}${color yellow} CPU Temps
${font}${color3} ${execi 33 sensors | grep -A 1 'Core' | cut -c1-22 | sed '/^$/d'}
${color3} ${execi 33 sensors | grep -A 1 'Adapter: P' | cut -c1-25 | sed '/^$/d'}
${color3} ${execi 33 sensors | grep -A 9 'smsc' | cut -c1-25 | sed '/^$/d'}
Please explain... can you attach a screenshot? Location issue? Font issue??tlchost wrote: Tried it with 258 and Tahr604 on bootable USB stick....it shows up as weather in the pwidgets selection menu....and palces some bad stml on the desktop
What should it appear as in the pwidgets menu....all I see is weather2, weather station and weather. I use weather stationMoat wrote: Please explain... can you attach a screenshot? Location issue? Font issue??
Code: Select all
cat: /usr/local/pwidgets/widgets/configs/Weather_Station_Forecat: No such file or directory
If you copy the files I've attached in these two posts into their respective directories...tlchost wrote: What should it appear as in the pwidgets menu....all I see is weather2, weather station and weather.
Thanks...neither one works must be some cockpit error here ...so, In the interest of not beating my forehead into a slope and reducing blood loss, I'll give up.Moat wrote: ... it should show up as 'Weather_Station_Forecast' in the Pwidgets menu.
Working fine here with the latest Pwidgets 2.5.8 in an updated Tahr 6.0.4 (32 bit).
Here's a .pet of it all combined (attached below), to help ya' avoid such terrible pain.tlchost wrote:...so, In the interest of not beating my forehead into a slope and reducing blood loss, I'll give up.