Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Searching the web a bit showed up, that some people could solve their plasmoid troubles on 4.2.1 with

sed -i ā€˜/^lastsize=/d’ ~/.kde/share/config/plasmarc

or even removing .kde/share/config/plasma*

Probably this might help you, too. - Mar 10 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Hm, ok. Please try to re-compile it.

Which Qt version do you use?
I can reproduce crashes with plasmoidviewer on 4.2.1 (which didn't exist for same cwp version running plasmoidviewer on 4.2.0). But I upgraded Qt to 4.5 at the same time. - Mar 10 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I can't really reproduce this behaviour, but you should make sure to re-compile cwp if you upgrade KDE or Qt.

I will split the data-engine from the applet (so data engine is available for possible other weather plasmoids, too), which is a cleaner way.
This might improve stability. - Mar 10 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Thanks for the comment on Mandriva kde development packages.
This guy is using Linuxmint, which is an Ubuntu distribution with custom menu, as far as I know.

I will update the README file with information which development packages are needed. - Mar 09 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I don't think this is my fault.

At least, this explains, why I could not reproduce it: I recompile it very often during development. And I don't update KDE too often ;-) - Mar 09 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

On Ubuntu, they are called somehow like
kdelibs-dev
kdebase-dev
libplasma-dev
...
or complete set:
kde-devel

Make sure to install "gettext", too. - Mar 09 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Do you have development packages for KDE installed? - Mar 08 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Accuweather.com will be included in 0.9.5.
But it obviously doesn't have Italian translation. - Mar 08 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I don't see what's wrong there, if it's cwp related at all.
Can you try to reproduce any crash (on your laptop) without cwp?
If not, try cwp 0.9.5 tomorrow evening. - Mar 07 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

As discussed, all issues except for positioning bug are obviously not related to cwp.
The positioning bug will be fixed in 0.9.5. - Mar 07 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

it.weather.yahoo.com only provides 5 day forecast.
Isn't there any italian weather provider with 7 day forecast? - Mar 07 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I could reproduce the position bug.
Actually, every time I restart plasma, it moves one position to the right.
I'll try to trace it down.

I could not reproduce the icon height bug, did this occur more than one time? - Mar 05 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I'll look at this problem as soon as I can.
Which distribution / KDE version do you use? - Mar 05 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

In principle this is possible.
I'm thinking about adding a dialog where you could select from those satellite image urls.
I just don't really like the idea of hard-coding urls into the plasmoid, as they might change from time to time.
I'll see what I can do about it. - Mar 05 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Done, will be part of 0.9.5.
I actually took the weather icon from
http://www.kde-look.org/content/show.php/Weather+Icons?content=84533 - Mar 05 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I can:
- 2 new layouts with custom image are planned (only 4-day forecast, but smaller).
- accuweather.com support - Mar 04 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

You're welcome - Mar 04 2009
Komparator

System Tools (NOT OS or ROMS) by jaegerschnitzel 61 comments

I don't think so.
Komparator might not be able to use KDE 4 kioslaves, so you should install KDE 3 kioslaves.
Try to use konqueror 3.5.x and see, whether it works with smb kioslaves. - Mar 04 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Which window is too small, the popup-window? Try to resize it by dragging the upper-left corner (if it's on the right side of your panel), or the upper-right corner otherwise. - Mar 03 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Use your 0.9.3 or earlier installation, and after the "make install" step run "make uninstall" (as root).

If you don't have it any more, manually remove the files/folders (path may be different on a different distribution):

/usr/kde/4.2/lib/kde4/plasma_applet_custom_weather.so
/usr/kde/4.2/share/kde4/services/plasma-applet-custom-weather.desktop
/usr/kde/4.2/share/apps/plasma-customizable-weather
/usr/kde/4.2/share/locale/zh_CN/LC_MESSAGES/plasma_applet_custom_weather.mo
/usr/kde/4.2/share/locale/br/LC_MESSAGES/plasma_applet_custom_weather.mo
/usr/kde/4.2/share/locale/de/LC_MESSAGES/plasma_applet_custom_weather.mo
/usr/kde/4.2/share/locale/es/LC_MESSAGES/plasma_applet_custom_weather.mo
/usr/kde/4.2/share/locale/fr/LC_MESSAGES/plasma_applet_custom_weather.mo
/usr/kde/4.2/share/locale/hu/LC_MESSAGES/plasma_applet_custom_weather.mo
/usr/kde/4.2/share/locale/nl/LC_MESSAGES/plasma_applet_custom_weather.mo
/usr/kde/4.2/share/locale/ro/LC_MESSAGES/plasma_applet_custom_weather.mo

Sorry for the inconvenience. - Mar 03 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Thanks - Mar 03 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Nvidia doesn't offer 180.35 any more, obviously they see it's broken.
Just hard-mask it and upgrade to the next driver they release. - Mar 02 2009
Komparator

System Tools (NOT OS or ROMS) by jaegerschnitzel 61 comments

Did you install kdebase-kioslaves or similar package? - Mar 01 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Oh, yes, I experienced the same problem, hanging kmail (or junk filter), konsole sessions could not be closed, ...
But it crashed my system before I could notice that my plasmoid hangs. - Mar 01 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I'm using gentoo 32bit with qt 4.4.2 and kde 4.2.0...
The processes acutally start
"sh -c <commands with pipes>"
so probably it's something about "sh"? - Mar 01 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I don't think this can be done easily.
But you can try to find an image file, which displays your weather warnings, and set it as custom image, using the appropriate layout. - Mar 01 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

That's strange.
Parsing is a list of processes (tr, sed, awk, head, tail, ...), which should run only for a very, very short time.
Obviously, on your system, thoses processes don't return.
Parsing should only take one or few seconds.
What system, distribution, qt-version, ... are you using? - Mar 01 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I'll see what I can do.
But with the icon it looks nicer. Probably I'll simply let them overlap. - Feb 26 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

It's not very difficult:
install inkscape, and open an existing yaWP theme.
The Background parts are ignored, but the weather icons are important.
Import your png files, and name them accordingly (Object ID "sunny" and object name "#sunny" for example).

Before renaming the imported png file, you should remove the original icon, as two objects with same ids are not allowed.

Don't forget to import the pngs completely instead of embedding just a path to them. - Feb 26 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

That's why you can choose the icons you want to use: You can choose the ones you like. I personally prefer kde ones, although they're lacking a "wind icon", for example.

KDE's weather data engine is quite useless, as it only has very restricted information. Not many locations supported, and no longer forecast, for example.

The systray version will have tooltip and enlarged view, when clicked on it soon.

Tooltips on the desktop won't be supported, as this is nonsense, I think.

Updating my "data engine", so it can be used by other programs is not planned, as it isn't spearated clearly enough from the main program. - Feb 26 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Actually, the corner which can be uses depends on the position of the icon: if it's on the right side of your systray, it's the upper left corner, if it's on the left side it's the upper right one. - Feb 26 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

1) can be changed easily, probably I'll change it, so it will eat up as much space as it can get. So in winter font size will be bigger than in winter :-)

2) as the non-systray mode is very similar to systray mode, popups might appear on non-systray mode, too. I hate it, when my desktop shows popup information everywhere.
But I'll see what I can do.

3) What do you mean by that? Should information be left away? You can start by omitting the icon description text (look at configuration dialog)...
I don't really get your point.

4) yahoo doesn't make too much sense as it only displays weather.com information in a stripped way (stripped to 5 days), as far as I can see.
I simply don't have the time at the moment to write xml files for every possible weather provider.
Probably, if they provide more information than other providers do.
I'd be glad if you could write your own xml file (and share it).
A good point to start with is (as usual) the README file, and of course some other xml file as a template.
And if you don't get any further, just send me an email.

Hint: Before starting writing the xml file, check the following things:

Does the provider provide enough information? A seven day forecast with high/low temperature, date, icon and icon description; current temperature, current weather icon, current weather icon description, wind direction and speed, etc.?

Is the location-specifig URL encoded in a way, so http://xyz...../<zip>... can be used with different zip values?

And very important: Is information provided inside the html file, not as flash or unparsable java-script? - Feb 25 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

That's not easy.
I see two options:

a) automatically resize font size, so the
text will fit in one or two lines

b) allow user to manually set font sizes for each small text element

Both have significant disadvantages:

a) text sizes will be different for all text elements, it will look terrible!

b) would be very difficult to customize, let's assume i'd have to add 10 or more spin boxes allowing this.

Solution:
What I could do quite easily is to allow more than two lines to be shown, up to a complete forecast rectangle.
- Feb 25 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Transparency settings have no effect in systray mode, as stated in README file.
Reason: KDE is responsible for drawing the Popup window, and it's not easy to overwrite this function.
Resizing the popup window works perfectly fine on my gentoo system and a Mandriva 2009.1 system.
Just click on the systray icon, the popup window will be shown, and can be resized by clicking on its corner and simply resizing it...
Clicking only on an edge of the window doesn't resize it, this must be a KDE feature.
It also remembers size setting after plasma or KDE restart.

Can you retry? - Feb 25 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Thanks. I sent you a reply. - Feb 24 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Hi,
obviously nobody else is experiencing this behaviour.
Can you try to lock the desktop, that plasmoids cannot be moved/resized any more, and see, whether it helps?
Thanks. - Feb 24 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I don't have any experiences concerning sailing, but I get the point.
Some later version will have the option to invert the wind rose direction.

Custom icons can be downloaded from
http://kde-look.org/content/show.php/yaWP+(Yet+Another+Weather+Plasmoid)?content=94106
Download the theme files (svgz) and select them in configuration dialog. - Feb 24 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Custom images are only shown in the custom image layout (seventh one in the layout list). - Feb 24 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

It was more difficult than I thought.
Check out version 0.9.2 for this feature. - Feb 24 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

and don't forget to restart plasma.
Log out and log in again, or run these commands from the console:

kquitapp plasma
plasma
- Feb 24 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

That's true.
I'll find a good place for it. - Feb 22 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Thanks for the translation file.

The title of the settings dialog cannot be accessed, it's a KDE title.

The Weather provider selection combo box (the drop-down list containing xml files) shows version information. - Feb 22 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

OK, it's good, that it's working.

I haven't received any translation files yet, so the only translation I have is german.

So it would be nice if you could do the spanish translation.

Please look into the README file for instructions, and contact me if you have questions.

Georg - Feb 21 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Look at my comment below to Weather Arrow question.
My suspicion: You're upgrading from an earlier version, and have forgotton to restart plasma. - Feb 21 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Please make sure to really use version 0.9 (have you forgotton to restart plasma? "kquitapp plasma && sleep 5 && plasma && exit")
The two-line forecast description should work fine.
The wind rose can be activated (which is default setting) in the configuration dialog, Tab "Layout", at the bottom ("Wind rose").

If you are actually using 0.9, please ask again. - Feb 21 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Thanks. In the beginning I thought it would be difficult to implement, but it isn't.

Of course this option must be handled with care, no-one will stop you to paste a link to latest opensuse distribution iso into the "custom image" url field.
And then it's downloading (storing it into RAM)...

But I guess, those people who do such things deserve some punishment like some GB RAM filled with an ISO file :-) - Feb 20 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

I can understand what you mean, but I don't think I'll implement it.
Reasons:
- not all weather provider have such a detailed forecast
- it will make the plasmoid much, much bigger
- I don't have too much time during the next weeks/months.

Probably, I'll look at this issue later. - Feb 20 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Sorry, I think, it should stay as small as possible. It was quite an effort to make it so small but still readable... - Feb 20 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Hi,
which version did you use before?
0.8 or 0.7?
I changed something between 0.7 and 0.8, so probably this might be the reason. - Feb 20 2009
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1067 comments

Thanks for the link to the bug report.
Very interesting, and probably a "Won't fix" here. - Feb 20 2009