MochiMoppel wrote:What exactly is the difference between the original powerapplet_tray and the one you packed into the pet?
...
After starting the binary it runs in the tray, but the spot remains blank
Oops... I found an earlier, buggy version at the link I advertised.
The correct version is uploaded as
http://www.smokey01.com/gjuhasz/packages/xbat.pet
Now, the battery status is visualized by the tray icon and the warning message pops up repeatedly when 10% or less capacity remained.
After installed, you can activate it either by clicking on the
xbatalarm menu item or by restarting X. Next time it will auto-start.
Sorry for the inconvenience.
The original icons were quite ugly, but your binary appears to contain no icons at all. ... Are you planning to add icons?
The redesigned icons are in /usr/share/pixmaps/puppy folder.
I see that the accompanying script xbatalarm links to the binary and that they work together, but if I understand the script correctly it kills and restarts the binary every 30sec. which I find a bit rough. I would prefer to use a nicer looking, stand-alone powerapplet_tray.
You are right. But it is intentional. I recognized that the binary powerapplet_tray fails to point dynamically to the right icon (so it is unable to mirror the actual battery status) but did not modify it. Instead, I only regularly provide the binary with the right picture behind the fixed
blank.svg filename
Just one note: I only check the status instead of restarting the binary in every 30 sec... restarting happens only if a new picture shall be displayed.
Have fun!
Regards,
gjuhasz