The time now is Tue 21 May 2013, 14:12
All times are UTC - 4 |
|
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: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
 |
| Description |
|

Download |
| Filename |
func_improved&slide.tar.gz |
| Filesize |
2.54 KB |
| Downloaded |
284 Time(s) |
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: 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.)
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Wed 21 Jan 2009, 06:05 Post subject:
|
|
off course, sorry.comment out/delete all the things about xevent..
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: 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
| Description |
|
| Filesize |
25.93 KB |
| Viewed |
842 Time(s) |

|
| Description |
|
| Filesize |
12.69 KB |
| Viewed |
830 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: 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
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: 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
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: 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
| Description |
|
| Filesize |
13.18 KB |
| Viewed |
817 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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.......
| Description |
|

Download |
| Filename |
func_slide.tar.gz |
| Filesize |
2.42 KB |
| Downloaded |
248 Time(s) |
Last edited by trio on Wed 21 Jan 2009, 09:49; edited 2 times in total
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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 )
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
| Description |
|

Download |
| Filename |
weatherbg.pet |
| Filesize |
2.79 KB |
| Downloaded |
242 Time(s) |
| Description |
|
| Filesize |
17.57 KB |
| Viewed |
802 Time(s) |

|
Last edited by trio on Thu 22 Jan 2009, 04:05; edited 1 time in total
|
|
Back to top
|
|
 |
|
|
Page 16 of 205 [3066 Posts] |
Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17, 18, ..., 203, 204, 205 Next |
|
|
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
|