You are not logged in.
The subject line pretty much says it all. The xfce4-weather-applet does not update frequently. It doesn't update when I resume from suspend, and generally it doesn't update very often. Does anyone know how to make it update more frequently?
Offline
The timeouts are hard coded. Search the source for "TIMEOUT" and just lower the value there.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Okay, I saw that too and can do that. How about updating on resume? Is there a way to call the applet from say a pm script and tell it to update as part of the resume process?
Offline
You can restart the panel from a pm script which would necessarily update all the applets but it would be slow. What you want is inter-process-communication. A number of solutions for this exist - most notably dbus. A poor man's way would be making the weather plugin check for the existence of a file (my package alltray-scriptable in the AUR does this). Or you could give it a signal handler for SIGUSR1.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Hmmm, well I can probably update the TIMEOUT and recompile without too much trouble, but the rest seems like more work than I was hoping for! I was hoping that panel apps might take an argument when called that would tell them what to do (e.g. refresh). Thanks for your help in any case.
Offline