pWidgets 2.5.8

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
headfound
Posts: 371
Joined: Sun 25 Jun 2006, 00:58
Location: England
Contact:

#41 Post by headfound »

Good point dinky. I've just checked and my wallpaper setting is in
rot/.config/tmp/bg_img (puppy 4)
so i've changed the code to reflect it (in fixwidgets) and got instant transparency.
Download a better Computer :)
[url=http://uk.youtube.com/watch?v=rDTLJYDHX3g]Puppy Linux Song[/url]
[url=http://www.letterbyletter.co.uk]www.letterbyletter.co.uk[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#42 Post by zigbert »

I have got new ideas, and need some knowledge.
Please read my post

sintot
GREAT!
Whats next? rss? :wink:

dinky
I have no idea about your hide trouble, sorry.

headfound
Do you know why your wallpaper setting is in
/root/.config/tmp/bg_img
and not
/root/.config/wallpaper/bg_img


Image

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

#43 Post by dinky »

Pity there's less interest in support for compiz-fusion. Is there anyway to set the wallpaper to be found in /root/Choices/ROX-Filer/PuppyPin ? How would I set this to recognise this in this file?
~dinky

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#44 Post by 01micko »

I have been trying hard to get the Pwidgets analog clock to show up at boot without clicking or banging or anything, and.. :D SUCCESS!

I installed 'xevents' http://www.isv.uu.se/~ziemann/xevent/ and that is a small program to generate a keystroke or mouse click or cursor movement.

What I did was write a script (WOW! my first script! Please point out to me what I could have done better, but it works :roll: ) that sleeps for 5 seconds to allow the window manager to load then moves the cursor a few pixels and left clicks the mouse. I edited /usr/sbin/fixwidgets to point it to the script and viola!

Please give feedback, thanks in anticipation.

Update: 'wakeclock.sh' reuploaded, 14/12/08, newer version

Important update: 20th December, '08: There is no need to download this fix because it is now included in Pwidgets-0.2. I will leave it here for perusal/criticism/feedback. The small program 'xevent' may be useful for other purposes.

Micko
Attachments
wakeclock.sh.gz
(274 Bytes) Downloaded 1749 times
xevent-0.1-i486.pet
(2.55 KiB) Downloaded 1963 times
Last edited by 01micko on Sat 20 Dec 2008, 03:39, edited 6 times in total.
Puppy Linux Blog - contact me for access

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#45 Post by ttuuxxx »

01micko wrote:I have been trying hard to get the Pwidgets analog clock to show up at boot without clicking or banging or anything, and.. :D SUCCESS!
Hi micko puppy has a folder located
/root/Startup
if you system link any file inside it, It will start up automatically after everything is booted. Kind of easy that way.
Also since your using icewm, I think you are, :) Just edit
/root/.icewm/startup (hidden folder)
and follow the examples in it
ttuuxxx
Ps Nice script :)
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#46 Post by 01micko »

ttuuxxx wrote
Also since your using icewm, I think you are, Smile Just edit
/root/.icewm/startup (hidden folder)
and follow the examples in it
No need, I don't think, works fine with just the symlink to /root/Startup in icewm :wink:

EDIT: BTW, works just fine in JWM also :wink:
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#47 Post by 01micko »

Ok, getting a bit too excited here. There is a problem with my fix if you place it in /root/Startup. The clock will not start automatically if you reconfigure Pwidgets from the Pwidgets GUI. Grrrrrrrrr!
So, I edited /usr/sbin/fixwidgets by adding the following line at the end of the script directing it to my script,

Code: Select all

/root/wakeclock.sh
Works great in JWM but now I have some conflict in Icewm with the tray, could be due to an app I use called 'tray_mixer'. Will investigate :cry:

EDIT: In Icewm I fixed the problem, just gave the tray apps some more time to load, (Hmmmmmm,is that a fix?) Anyway, works ok, :? edited /root/.icewm/startup

Code: Select all

sleep 5 && /root/my-applications/blinky-0.8-icewm/src/blinky -bg "#000000" &
and

Code: Select all

sleep 6 && /root/my-applications/freememapplet_tray_puppy215ce/freememapplet-tray &
Last edited by 01micko on Sat 29 Nov 2008, 10:40, edited 1 time in total.
Puppy Linux Blog - contact me for access

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#48 Post by zigbert »

This sounds great!


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#49 Post by zigbert »

Works perfect!!!!
Added to Pwidgets 0.2


Thanks for great work!
Sigmund

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#50 Post by 01micko »

zigbert wrote:Works perfect!!!!
Added to Pwidgets 0.2


Thanks for great work!
Sigmund
Thankyou Zigbert! :D Made me get the 'grey matter' working.
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#51 Post by 01micko »

Still buggy though. I'll reupload the 'wakeclock.sh' file with increased distance on the cursor movement parameter because if you use Pwidgets GUI and leave the cursor on 'Apply' the deviation is not enough to find the desktop, which seems to be necessary. Still other bugs too, a little instability, may need to end the process somehow, (I don't know how). I thought being just a short movement and a single click that the process would die a natural death. See how we go :?

EDIT: Changed the sleep value from 5 to 3 and delayed the click by 1 second, things seem more stable, BTW,most of the instability is in Icewm, Jwm has been playing nice, :)
Puppy Linux Blog - contact me for access

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#52 Post by ttuuxxx »

Ok guys I finally downloaded Pwidgets and had a play for a few minutes, Does anyone know how to get the grayish dark background removed from the docklet? I just want it to be transparent . Also when I use the analog clock I have to click on the space where it should be, to start it/show it, shouldn't it be automatic once Its set?
Thanks for your help
ttuuxxx
Attachments
iceWM+conky+Pwidgets.png
(145.74 KiB) Downloaded 2206 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#53 Post by ttuuxxx »

I didn't touch anything it took about 15Mins and now its transparent on its own, strange. :shock:
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#54 Post by big_bass »

ttuuxxx wrote:I didn't touch anything it took about 15Mins and now its transparent on its own, strange. :shock:
ttuuxxx

there is a voice activated function built in :D

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#55 Post by ttuuxxx »

:idea: Ya I think it came on when I was using "The Clapper"
"Clap-on, Clap-off, The Clapper" :wink:
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#56 Post by zigbert »

ttuuxxx
I have not tested it in icewm. It seems that icewm renders desktop slower than jwm. This prevent widgets to use the correct background when making itself a fake transparent background. Since conky updates the widgets after a given time, they go transparent at next update.
Please try to increase the sleep value in /usr/sbin/fixwidgets.

The analog clock issue is almost fixed (by 01micko), and will be in the next release.


Sigmund

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#57 Post by 01micko »

big_bass wrote:
ttuuxxx wrote:I didn't touch anything it took about 15Mins and now its transparent on its own, strange. :shock:
ttuuxxx

there is a voice activated function built in :D
@big_bass... LMAO!

ttuuxxx: read my script, that is what the clock thingy was all about with the click problem.

Rendering of the analog clock in Icewm may (or may not) be due to time settings of your tray apps. I have it working beautifully in Icewm (one of your themes ttuuxxx). Perhaps it is the size is as to your settings of desktop size. Zigbert mentioned about this in the original post, and also that his testing is in jwm. I have been testing, (and working hard at it) in Icewm and jwm with the Analog-clock. Hope this helps

EDIT: ttuuxxx, Zigbert has not included my fix for the analog-clock yet in the main post because it is still at Pwidgets-0.1. Try my fix further back in this thread. Give me feedback please. :wink:
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#58 Post by 01micko »

ttuuxxx wrote::idea: Ya I think it came on when I was using "The Clapper"
"Clap-on, Clap-off, The Clapper" :wink:
ttuuxxx
Homer: *clap, clap* (nothing happens), *clap, clap* (still nothing happens)
Marge: "We don't have a clapper."
Homer: *lamp goes sailing through window*

It is not recommended to throw your PC out the window (UNLESS it has windows, lol) if the clapping does not work!
Puppy Linux Blog - contact me for access

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#59 Post by ttuuxxx »

Hi guys here's a update for the wallpaper setter. once you set the wallpaper click the "Close" button. when the close button is pressed it will restart Pwidgets :) If you don't click the "Close" button, nothing will happen.
ttuuxxx
Attachments
Wallpaper-Setter.pet
(1.74 KiB) Downloaded 802 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#60 Post by ttuuxxx »

This is another Version that doesn't restart Pwidgets on exit, to use this it has a button in the wallpapper setter called Pwidgets Restart"
ttuuxxx

Heres a picture of the menu only, I didn't want to give away the whole theme, I'm customising :wink:
Attachments
menu-only.png
(10.7 KiB) Downloaded 2090 times
Wallpaper-Setter-v2.pet
(1.77 KiB) Downloaded 848 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply