Page 3 of 162

Posted: Sat 29 Nov 2008, 04:54
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:

Posted: Sat 29 Nov 2008, 07:14
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 &

Posted: Sat 29 Nov 2008, 07:57
by zigbert
This sounds great!


Sigmund

Posted: Sat 29 Nov 2008, 08:11
by zigbert
Works perfect!!!!
Added to Pwidgets 0.2


Thanks for great work!
Sigmund

Posted: Sat 29 Nov 2008, 10:38
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.

Posted: Sat 29 Nov 2008, 12:20
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, :)

Posted: Tue 02 Dec 2008, 04:31
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

Posted: Tue 02 Dec 2008, 04:37
by ttuuxxx
I didn't touch anything it took about 15Mins and now its transparent on its own, strange. :shock:
ttuuxxx

Posted: Tue 02 Dec 2008, 05:02
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

Posted: Tue 02 Dec 2008, 05:07
by ttuuxxx
:idea: Ya I think it came on when I was using "The Clapper"
"Clap-on, Clap-off, The Clapper" :wink:
ttuuxxx

Posted: Tue 02 Dec 2008, 08:46
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

Posted: Tue 02 Dec 2008, 09:56
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:

Posted: Wed 03 Dec 2008, 08:53
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!

Posted: Wed 03 Dec 2008, 09:51
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

Posted: Wed 03 Dec 2008, 10:35
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:

Posted: Wed 03 Dec 2008, 20:33
by zigbert
I have already made the fix for the wallpaper setter, but I made the 'apply' button re-render the widgets. To me it feels more logical to 'apply' the changes rather than 'close' the window.
I'll make a note in the main post.

code start from line 238 in /usr/local/apps/wallpaper/AppRun. I have added the 2 lines in the middle.

Code: Select all

     <button>
      <label>$LOC_APPLY</label>
      <input file stock=\"gtk-apply\"></input>
      <action>$APPDIR/slideshow -stop</action>
      <action>$APPDIR/set_bg \"\$IMAGE\"</action>
      <action>echo \"\$IMAGE\" > \$HOME/.config/wallpaper/bg_img</action>

<action>fixwidgets</action>
<action>cat /root/.config/tmp/bg_img</action>

      <action type=\"refresh\">TEXT</action>
     </button>

Posted: Thu 04 Dec 2008, 06:31
by ttuuxxx
If you look back at my post, I made 2 versions
version 1 you click the "close" button and it restarts Pwidgets.
Version I added a button "Pwidgets Restart", you click that button and it restarts Pwidgets, Basically I think its the same way you did it :)
ttuuxxx

Posted: Wed 10 Dec 2008, 10:57
by 01micko
Zigbert
01micko wrote
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 Rolling Eyes ) 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!
Yes, clock appears like magic.....
Hmmmmm, this fix is buggy if you move the cursor directly after hitting 'apply'. Problem is that if the fake mouse click happens over the open window near the edge next time you move the cursor the window resizes! :( Or, the cursor may end up over an icon and initiate that process! :evil:
Ok, what I need to do is find a vacant piece of real estate on the desktop and make sure the mouse click is generated there and nowhere else.
I cand send the cursor to an extreme edge or corner (I'm thinking top left) and make the click there. To make it look professional though I should send the cursor back to the centre of the screen. Will work on this and reupload a new script.
After I get this fix right I'll take a closer look at xonclock to find the bug and make a permanent fix.

Posted: Wed 10 Dec 2008, 12:36
by zigbert
I will (when sparetime comes my way) rework the Pwidgets infrastructure to be more flexible to user-created mods and created widgets. Your fix is VERY welcome.

There is no hurry! If we could make a Pwidgets upgrade during Christmas it would be great.

Sigmund

Posted: Thu 11 Dec 2008, 06:47
by 01micko
zigbert wrote:I will (when sparetime comes my way) rework the Pwidgets infrastructure to be more flexible to user-created mods and created widgets. Your fix is VERY welcome.

There is no hurry! If we could make a Pwidgets upgrade during Christmas it would be great.

Sigmund
No worries, I'll try to fine tune my fix, no pressure is good! I have plenty of time over Christmas and may even find time for a slide show widget. That would be cool, but I fear it will be too large to include as default. That is where the work you are doing on the infrastructure comes in.
Looking forward to it! :wink: