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 Fri 18 Apr 2014, 21:47
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Pwidgets 2.4.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 16 of 205 [3066 Posts]   Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17, 18, ..., 203, 204, 205 Next
Author Message
trio


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

PostPosted: Tue 20 Jan 2009, 22:03    Post subject:  

Hi Mark,

I already hack Zigbert's func file to accomodate xmovewindowbyclassname, and it works fine.....

But the real problem is that without the help of wm, xonclock always hide (below layers) behind the wallpaper, in order to raise it, we have to mouse click on the wallpaper, or set the layer with the help of wm (no-winredirect=true on xonclockrc), or set the xonclock always ontop (top=true on xonclockrc) which is annoying because the clock covers any window opening up fully.

So if you could make the xmovewindowbyclassname plus xsetlayerwindowbyclassname, it will be wonderful, because we don't need the help of wm anymore.

With the hacked func file I made, we still dependant on wm to set layer, only to put the window on the right place is independant.

I hope that could explain clearly to you....
Back to top
View user's profile Send private message 
trio


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

PostPosted: Tue 20 Jan 2009, 22:32    Post subject:  

Hi all,

Just a small hints:
when you put pwidgets on the right side, the widgets align properly, but when you put it on the left side, you may want to play around with each widgets config file (the x_offset) to align the widgets properly.

If zigbert wants to re-arrange all the widgets, so they will have let's say 40 of xoffset on the left or the right, then let me know so I also can change a parameter in func file to set the xonclock properly align with others. Tq
Back to top
View user's profile Send private message 
trio


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

PostPosted: Wed 21 Jan 2009, 05:13    Post subject: func update & slideshow start improved  

Hello all, good news, I succeded in hacking func file again (sorry Zigbert, I hope you won't mind), so that:

1. like above it tells xonclock to pop up and be put in right place (w/ the help of xmovewindowbyclassname). Please read and do all above instructions also, but use the latest func file attached below.

2. this latest func file also make Slideshow will only generates scaledimages when it is chosen to be listed and applied from GUI (menu -- desktop -- pwidgets tiny edsktop apps) and never if pwidgets starts at puppy start up. please do below instructions:

a. in /root/.pwidgets/configs/Slideshow: please DO NOT put " " marks for image directory , so it should look like this ---> IMAGE_DIRECTORY=/usr/share/backgrounds
b. put the attached slide exec file that I made in ~/.pwidgets/scripts

that's all folks...please try at your own risk, do not forget to back up, (though I tested it and works fine) and have fun

ps: if anybody wants to make a pet out of new func, slide, and xmovewindowbyclassname ...please do and re-write all those instructions ......please do
func_improved&slide.tar.gz
Description 
gz

 Download 
Filename  func_improved&slide.tar.gz 
Filesize  2.54 KB 
Downloaded  334 Time(s) 
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Wed 21 Jan 2009, 05:54    Post subject:  

Did you do anything to 'fixwidgets'? The old clock fix is in there. (I just comment that bit out.)
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


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

PostPosted: Wed 21 Jan 2009, 06:05    Post subject:  

off course, sorry.comment out/delete all the things about xevent..
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Wed 21 Jan 2009, 07:43    Post subject:  

trio,
Ok, working, buggy though. The clock if you say "accidentally" click it goes extreme left of screen. Rendering to wallpaper is out by about 10 to 20 pixels (x). I use correct aspect. Strange. Only notice though on a busy wallpaper. I have 2 screenshots.

Slideshow fix is perfect! Exactly what I was trying to do. Thankyou. I will tell
WhoDo about this one and it will be in the next 4.2alpha. Congrats.

Nice work man! Xonclock is buggy itself and unsupported. Do not beat yourself up! If it is any consolation your xevent fix is as perfect as it will ever be! Did you know if you double right click on xonclock it goes? It says it on the man page but I bet it is a bug!

If you want to keep working or if I have made a mistake let me know, but I followed your advice to the letter. If you want me to make a pet I will. That way others can test and improve easily.

Best regards mate

Mick
fix.jpg
 Description   
 Filesize   25.93 KB
 Viewed   898 Time(s)

fix.jpg

veryclose.jpg
 Description   
 Filesize   12.69 KB
 Viewed   885 Time(s)

veryclose.jpg


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Wed 21 Jan 2009, 08:11    Post subject:  

trio

Rendering of clock seems to work fine if I configure Pwidgets for left of screen.

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


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

PostPosted: Wed 21 Jan 2009, 08:24    Post subject:  

Micko:

I tried the pwidgets with the new func in another computer, seems to work fine in my 2 widescreen computers and very buggy in the old non-widescreen computer.

I guess we go back to my old clock fix with xevent...

you want me to upload the func file without the xmovewindowbyclassname?
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Wed 21 Jan 2009, 08:38    Post subject:  

trio

Hmmmmm, widescreen eh? Could be a bug in Mark's utility? I use standard as you can see. For now we stick to xevent, but your other fix is not dead yet!

Yes upload, with slide fix, that is good.

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


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

PostPosted: Wed 21 Jan 2009, 08:42    Post subject:  

sorry, have to take what I said back, it still works great!

I just have to:

1. Re-scale all my wallpapers exactly the size of my non-wide screen
2. Re-start pwidgets again from the GUI, and that did the trick!

And yes if you double left click, clock will go far left. double right click it will be gone...I gues it's the xonclock bug itself...
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Wed 21 Jan 2009, 08:56    Post subject:  

I can't figure out why, when on the right, it is a few pixels out for me?

The background is 1024x768, the screen is 1024x768
fewpixelsout.jpg
 Description   
 Filesize   13.18 KB
 Viewed   894 Time(s)

fewpixelsout.jpg


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


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

PostPosted: Wed 21 Jan 2009, 09:02    Post subject:  

But anyway, if you want to use the clickonclock fix, I upload the func with slide fix only.......
func_slide.tar.gz
Description 
gz

 Download 
Filename  func_slide.tar.gz 
Filesize  2.42 KB 
Downloaded  294 Time(s) 

Last edited by trio on Wed 21 Jan 2009, 09:49; edited 2 times in total
Back to top
View user's profile Send private message 
trio


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

PostPosted: Wed 21 Jan 2009, 09:07    Post subject:  

I see you got a problem there, try to take alook again...what about the clock skin size? 140 x 140 ?
Back to top
View user's profile Send private message 
trio


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

PostPosted: Wed 21 Jan 2009, 09:18    Post subject:  

Please take a look at pwidgets-exec file like below:

xonclock --position=TOP-RIGHT --offset-v=40 --offset-h=-40 --use-background --skin=/root/.pwidgets/misc/Clock-analog.png &
sleep 5 ; xmovewindowbyclassname xonclock 844 40

it all prints correctly, no misscalculation...

844 + 140 + 40 = 1024

window x position + clock width + right margin = sreen width

I think you have a problem with the clock skin
Back to top
View user's profile Send private message 
trio


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

PostPosted: Thu 22 Jan 2009, 03:06    Post subject:  

Hi all,

So, after I managed to:
1. Make up a click on clock xonclock forced show up (inpired by Micko)
2. Hack func file to accomodate xmovewindowbyclassname (inspired by Mark)
3. Hack func file again to fix Slideshow (inpired by myself Very Happy )
4. Now......what?...I can't get enough.....I made a Background for weather widget....

This is my first pet, so please be careful....I'll upload tar.gz if this pet doesn't work...just let me know...thanks
weatherbg.pet
Description 
pet

 Download 
Filename  weatherbg.pet 
Filesize  2.79 KB 
Downloaded  288 Time(s) 
weather_bg.jpg
 Description   
 Filesize   17.57 KB
 Viewed   855 Time(s)

weather_bg.jpg


Last edited by trio on Thu 22 Jan 2009, 04:05; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 16 of 205 [3066 Posts]   Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17, 18, ..., 203, 204, 205 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:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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