Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Dec 2014, 05:44
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
pWidgets 2.5.6
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 18 of 207 Posts_count   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, ..., 205, 206, 207 Next
Author Message
trio


Joined: 21 Dec 2008
Posts: 1942
Location: अनुमोदना

PostPosted: Thu 22 Jan 2009, 07:39    Post_subject:  

Micko

No prob. I am glad to help out. And I started from zero. Imagine! Now I am able to hack other's codes...even make one or two! How wonderful linux is. One input, please rename MONOFONT.TTF to monofont.ttf, some computers, like mine, cannot read the font. Also, I may have a solution of the clock moves to the left when clicked. Will try later...
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Thu 22 Jan 2009, 09:52    Post_subject:  

concerning the widescreen issue:
scale2png scales pictures in a fixed ratio, because it was made as utility to create thumbnails for websites.
So the width of the preview might change, depending on the aspect ration of the picture.
If you force it to use always "100" as height, the width may vary, it may be 200 or 240, depending on the original.
If you give a width of 200, the height might vary, in the deskicons this had the effect, that parts were not visible in the screenshot widget.
Solution:
use instead "resizepng".
Here you may give arguments, that will be taken exactly.
If you say:
resizepng test.jpg out.png 200 100 80, then the result always will be 200x100 pixel.

It is part of my deskicons, I attach binary+source.
Compiled in Puppy 4.12; to compile a new binay for other systems, simply run "make".
Mark
resizepng.tar.gz
Description 
gz

 Download 
Filename  resizepng.tar.gz 
Filesize  2.78 KB 
Downloaded  209 Time(s) 

_________________
my recommended links

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 22 Jan 2009, 20:37    Post_subject:  

So Mark and trio I am thinking we can easily force the rezise of the clock if somone inadvertently chooses the wrong size? That might be a winner. Is resizepng included in Scale2pics Mark? If so, we already have it because our slide show uses Scale2pics, we have the full thing installed as part of Pwidgets-0.4 package. Anyway if not we have it now!

Trio, does it give you some ideas???? Wink

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
trio


Joined: 21 Dec 2008
Posts: 1942
Location: अनुमोदना

PostPosted: Thu 22 Jan 2009, 22:05    Post_subject:  

Micko,

1. The thing that I tried to fix the clock not to move to the left when clicked failed.

2. It is doable to force the size of the clock, but for what? If you use "clickonclock" fix rather then the "movewindow" fix......no need for that..

That's my opinion, you Question
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 22 Jan 2009, 22:23    Post_subject:  

trio

The most stable fix for now is the 'clickonclock'. I have always been of the opinion that this is just a workaround and not a fix. You have proven it is posiible to show clock correctly without the click. This, in the end, will be the better solution.

Like I said, "a developers job is never finished"!

What do you think?

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 22 Jan 2009, 22:31    Post_subject:  

Mark

I keep getting 'segmentation fault'. Syntax?

I typed, (with terminal open in current dir)

Code:
resizepng 000_024.JPG new.png 200 150


and various other things and got that error.

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
trio


Joined: 21 Dec 2008
Posts: 1942
Location: अनुमोदना

PostPosted: Thu 22 Jan 2009, 22:43    Post_subject:  

Micko,

Maybe I can do something about the clock skin but the easiest and more logical way is to put a warning text message in /root/.pwidgtes/misc/ , for ex. warning.txt, that will consist of warnings such as:

- Clock skin has to be the size of 140x140 pixels
- frame has to be the size of .....x..... pixels
- bla bla

Because not only the clock skin that will have a problem with sizes, also the slideshow frame, maybe the weatherbg, etc (if more widgets with background to be included)

Again, that's my opinion
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Thu 22 Jan 2009, 23:11    Post_subject:  

01micko wrote:
Mark

I keep getting 'segmentation fault'. Syntax?

I typed, (with terminal open in current dir)

Code:
resizepng 000_024.JPG new.png 200 150


and various other things and got that error.

Mick


oh sorry, you must add the quality, too:
resizepng 000_024.JPG new.png 200 150 80

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 22 Jan 2009, 23:17    Post_subject:  

trio

Entirely up to you mate. I love your work but maybe you need a rest! You have been very busy trying to fix this and have succeeded.

I may try to resize the clock automatically from a different perspective through a separate script or config. I'll look into it.

Sometimes it is nice do do something completely different. I have many side projects, which at times, makes focus on one difficult.

Like they say, 'Rome wasn't built in a day'! Laughing

Regards,

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
trio


Joined: 21 Dec 2008
Posts: 1942
Location: अनुमोदना

PostPosted: Fri 23 Jan 2009, 00:05    Post_subject:  

I am thinking of that maybe we can use this thread, besides a forum for fixing and updating the pwidgets, but also as a forum to accomodate more people to create widgets in .pet, more like the yahoo widgets or google gadgets thing.....so, on the first page, Zigbert can always update "new widgets" in a "additional widgets" list .........when already tested by him that is.......
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Fri 23 Jan 2009, 00:10    Post_subject:  

trio wrote:
I am thinking of that maybe we can use this thread, besides a forum for fixing and updating the pwidgets, but also as a forum to accomodate more people to create widgets in .pet, more like the yahoo widgets or google gadgets thing.....so, on the first page, Zigbert can always update "new widgets" in a "additional widgets" list .........when already tested by him that is.......
I think that is a cool idea. There is a host of different widgets that could be adapted. Afterall Pwidgets is really a way to manage the widgets using conky as the engine.
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
trio


Joined: 21 Dec 2008
Posts: 1942
Location: अनुमोदना

PostPosted: Fri 23 Jan 2009, 01:47    Post_subject:  

Hi All,

I just modified the weather background to have transparency...yes..transparency...

Below is the pet package, as noted before, you"ll need to change the weather location code again, as the pet will make your local to be Jakarta Very Happy
weatherbg_transparent.jpg
 Description   
 Filesize   18.13 KB
 Viewed   761 Time(s)

weatherbg_transparent.jpg

weatherbg_trn.pet
Description 
pet

 Download 
Filename  weatherbg_trn.pet 
Filesize  4.17 KB 
Downloaded  215 Time(s) 
Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1942
Location: अनुमोदना

PostPosted: Fri 23 Jan 2009, 02:02    Post_subject:  

weather_bg transparent on a red wallpaper

Edit, made a new pet package....smaller in size
weatherbg_trn_new.pet
Description 
pet

 Download 
Filename  weatherbg_trn_new.pet 
Filesize  2.06 KB 
Downloaded  211 Time(s) 
weatherbgtransred.jpg
 Description   
 Filesize   18.36 KB
 Viewed   774 Time(s)

weatherbgtransred.jpg

Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1942
Location: अनुमोदना

PostPosted: Fri 23 Jan 2009, 05:29    Post_subject:  

Hi, sorry, all the weatherbg.pet on page 17 and 18 are for those of you who uses "movewindow clock fix" for those of you who uses the click on clock fix, please edit usr/sbin/fixwidgets and remove the # on repected lines....I'll upload the pet for click on clock later....

edit: the pet below...warning, do not use the func file with windowmove xonclock fix, use the func file with slide fix only
weatherbg_trn_clickclock.pet
Description 
pet

 Download 
Filename  weatherbg_trn_clickclock.pet 
Filesize  2.15 KB 
Downloaded  206 Time(s) 
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 24 Jan 2009, 05:17    Post_subject:  

Trio

I have thoroughly tested your fixes for 'clickonclock' and 'slide'

It is done now and all I did was increase sleep times for slower systems for the clock.

I had an issue where the slideshow would not appear. It was running, but behind the frame!
I added
Code:
 echo  "sleep 1" >> $HOME/.pwidgets/tmp/pwidgets-exec

immediately before the slideshow and it worked! This is a reasonably fast system for puppy, athlon 2100+. 512ram but it needed that sleep. I also changed the dummy file in scaled images to '000_000.jpg' to try and avoid any conflict with digital camera naming of files.
I will pet it up tonight and pack it off to Whodo.

Again, many thanks for your help, 'teacher' will surely reward you!

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 18 of 207 Posts_count   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, ..., 205, 206, 207 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1061s ][ Queries: 12 (0.0208s) ][ GZIP on ]