pWidgets 2.5.8
Well, 1.9.10 doesn't use Ring.png as the default any more. It uses Clock-analog.png which resides in /root/.pwidgets/misc directory. Haven't checked to see if Clock-analog.png is inordinately large yet.tasmod wrote:Need to apply compression in clock-skin chooser. How?
Or fixed in 1.9.10
EDIT: Just checked and Sigmund has Clock-analog.png as a symlink not a copy of the skin, so 1.9.10 is just repointing the link and not copying. Problem should be solved UNLESS you actually copy something. I'll still look at lzma as a potential source for the problem, too.
Thanks.
Last edited by WhoDo on Thu 12 Mar 2009, 12:13, edited 1 time in total.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
@davesurrey
Can you try the latest Pwidgets-1..9-10 (available from main post) with your current config and give a report? Please delete "~/.pwidgets" dir before installing.
Thankyou.
Can you try the latest Pwidgets-1..9-10 (available from main post) with your current config and give a report? Please delete "~/.pwidgets" dir before installing.
Thankyou.
Puppy Linux Blog - contact me for access
Been unable to post, server throwing debug errors at me.
I've updated this pc with 1.9.10 and so far so good, compared to 1.9.9 which somehow my machines did not like.
I think Z quietly improves pw without saying too much.
Moon phase oddity, web feed has moved to its 4th gif associated with full moon. Throws my guesswork out.
I found and lost an rss feed for local time around 100 locations complete with DST applied. Just need to find it again.
R
I've updated this pc with 1.9.10 and so far so good, compared to 1.9.9 which somehow my machines did not like.
I think Z quietly improves pw without saying too much.
Moon phase oddity, web feed has moved to its 4th gif associated with full moon. Throws my guesswork out.
I found and lost an rss feed for local time around 100 locations complete with DST applied. Just need to find it again.
R
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
- Posts: 1198
- Joined: Tue 05 Aug 2008, 18:12
- Location: UK
Ok I deleted my .pwidgets directory.
Installed pwidgets 1.9.10 pet and the rebooted x server.
Results:
in ~/.pwidgets/clock_skins I have six clocks-skins:
JQ8yell is 77kB
Ring is 6701B
all others are less than 2kB
Confirmed that selecting another clock-skin doesn't change this.
WhoDo suggested to look at clock-analog-png in ~/.pwidgets/misc
It was 77kB.
HTH
Sorry if I have inadvertently put this in the wrong thread.
Again, thanks gang for a really classy project.
Dave
Installed pwidgets 1.9.10 pet and the rebooted x server.
Results:
in ~/.pwidgets/clock_skins I have six clocks-skins:
JQ8yell is 77kB
Ring is 6701B
all others are less than 2kB
Confirmed that selecting another clock-skin doesn't change this.
WhoDo suggested to look at clock-analog-png in ~/.pwidgets/misc
It was 77kB.
HTH
Sorry if I have inadvertently put this in the wrong thread.
Again, thanks gang for a really classy project.
Dave
Forum needs a reboot
Zigbert,
Hope you don't mind. I've created a script executed by a desktop icon that will turn on and off pwidgets plus return background to default, then to pwidgets-background when on.
Needs trial outside of my machine.
Will pet it, hopefully. Not sure about creating icon on desktop?
Rob
Zigbert,
Hope you don't mind. I've created a script executed by a desktop icon that will turn on and off pwidgets plus return background to default, then to pwidgets-background when on.
Needs trial outside of my machine.
Will pet it, hopefully. Not sure about creating icon on desktop?
Rob
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
Here is the pet, not sure how to make it a desktop exec plus icon.
I dragged it out to desktop and assigned usr/share/midi-icons/shutdown48.png
I dragged it out to desktop and assigned usr/share/midi-icons/shutdown48.png
- Attachments
-
- WidgetOnOff-0.1.pet
- (634 Bytes) Downloaded 222 times
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
The 77kb clock issue
The 77kb is not inside the Pwidgets package and hopefully not inside the Puppy iso. It is built at first run. Whatever clock is chosen is rescaled to 140x140 pixels by 'resizepng'. As some of you pointed out, we can reduce the size by decreasing the quality. I don't see any difference using 100% or 50% or 1% (do you ?). At 50% the size has reached its minimum at 23kb. The other way to do it is to skip resizing, and only make a symlink in /root/.pwidgets/misc/Analog-clock. If keeping the same clock-skins as in the original package we need to resize all the clocks to 140x140. Some skins are scaled down in the pwidgets package, so these must be resized. I don't know exactly what size we would end up with.....
Worse is the fact that /usr/share/background/pwidgets-background is stored without compression because I couldn't figure out that 'blendpics' has such an option. The use of /usr/share/background/pwidgets-background was introduced with Sidebars. Melting wallpaper and sidebar needs (?) to be done in actual size. As a positive side-effect, Wallpaper is always scaled correct (or not scaled), so both rox and conky shows an equal background. This gives us perfect transparency for conky widgets (which was an issue for Pwidgets in earlier days.) But again, - /usr/share/background/pwidgets-background is not a part of Pwidgets package, and shouldn't be inside the Puppy 4.2 iso either.
Sigmund
The 77kb is not inside the Pwidgets package and hopefully not inside the Puppy iso. It is built at first run. Whatever clock is chosen is rescaled to 140x140 pixels by 'resizepng'. As some of you pointed out, we can reduce the size by decreasing the quality. I don't see any difference using 100% or 50% or 1% (do you ?). At 50% the size has reached its minimum at 23kb. The other way to do it is to skip resizing, and only make a symlink in /root/.pwidgets/misc/Analog-clock. If keeping the same clock-skins as in the original package we need to resize all the clocks to 140x140. Some skins are scaled down in the pwidgets package, so these must be resized. I don't know exactly what size we would end up with.....
Worse is the fact that /usr/share/background/pwidgets-background is stored without compression because I couldn't figure out that 'blendpics' has such an option. The use of /usr/share/background/pwidgets-background was introduced with Sidebars. Melting wallpaper and sidebar needs (?) to be done in actual size. As a positive side-effect, Wallpaper is always scaled correct (or not scaled), so both rox and conky shows an equal background. This gives us perfect transparency for conky widgets (which was an issue for Pwidgets in earlier days.) But again, - /usr/share/background/pwidgets-background is not a part of Pwidgets package, and shouldn't be inside the Puppy 4.2 iso either.
Sigmund
There's a slight problem with making all skins 140 140.
I tried this early days when I first downloaded them, it's centering.
You have to be careful when creating them first time, that the clock arms are central, else they look very odd.
Are you OK with the On-Off pet ?
I tried this early days when I first downloaded them, it's centering.
You have to be careful when creating them first time, that the clock arms are central, else they look very odd.
Are you OK with the On-Off pet ?
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
Rob
I have 'improved' (in my opinion ) the code a bit. Take a look:
Sigmund
I have 'improved' (in my opinion ) the code a bit. Take a look:
This should remove all traces and processes (I hope).if [ you want to start pwidgets ]; then
mv /usr/sbin/fixwidgets /usr/sbin/fixwidgets.bak
for I in `ps -eo pid,command | grep -wE "conky|xonclock|xli|http://rss.accuweather.com" | awk '{print $1}'`; do kill -9 $I; done
for I in `ps -eo pid,command | grep "mplayer -wid " | awk '{print $1}'`; do kill -9 $I; done
rm /usr/share/backgrounds/Pwidgets_background
TMP="`cat $HOME/.config/wallpaper/bg_img`"
/usr/local/apps/Wallpaper/set_bg "$TMP"
fi
if [ you want to stop Pwidgets ]; then
mv /usr/sbin/fixwidgets.bak /usr/sbin/fixwidgets
fixwidgets -wallpaper_setter
fi
Sigmund
oooo too formal.
I 'm flattered, but seeing as part of it is hacked from your fixwidgets, I suppose it's only fair
Do perl scripts actually work with pwidgets(conky). I've tried two now with no results.
I've borrowed someone else's xml parsing perl script, but cannot get anything.
It's a beaut as well. Does football league tables of choice from around world. Includes individual top scorers in league as well.
I 'm flattered, but seeing as part of it is hacked from your fixwidgets, I suppose it's only fair
Do perl scripts actually work with pwidgets(conky). I've tried two now with no results.
I've borrowed someone else's xml parsing perl script, but cannot get anything.
It's a beaut as well. Does football league tables of choice from around world. Includes individual top scorers in league as well.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)