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 Tue 21 May 2013, 08:46
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 194 of 205 [3066 Posts]   Goto page: Previous 1, 2, 3, ..., 192, 193, 194, 195, 196, ..., 203, 204, 205 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5241
Location: Valåmoen, Norway

PostPosted: Sun 05 Sep 2010, 02:47    Post subject:  

jrb wrote:
I did a simple rewrite of the Puppylinux widget so that it shows the distro name, Quirky 1.2.0, Lucid Puppy 5.1.1, etc. Called it PuppyName. I'm attaching the config and script in case you think it might be useful.
Great stuff. I replaced this with the original 'Puppylinux' widget. Yours is much better.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
vinayv

Joined: 30 Jun 2008
Posts: 9
Location: Bangalore, India

PostPosted: Sun 12 Sep 2010, 03:32    Post subject:  

Hi zigbert,

I had previously installed 2.2.7 version of pwidgets and ran into a problem. The /tmp/xerrs.log file would become very huge.. More details on that here:
http://www.murga-linux.com/puppy/viewtopic.php?t=59819

Just now, I saw that you have 2.3.0 version of pwidgets. I have installed it now. I will let you know if a similar thing happens with v2.3.0 too.

_________________
Regards,
Vinay V
Back to top
View user's profile Send private message 
gortonc

Joined: 12 Jan 2010
Posts: 34
Location: Costa Rica

PostPosted: Mon 13 Sep 2010, 23:50    Post subject: different desktop wallpapers with pwidgets?  

I really appreciate pwidgets2.3 on 5.10.003. I have also installed extras-2.2.4 and dude 0.4. When I follow the directions at :http://www.murga-linux.com/puppy/viewtopic.php?p=225938&sid=178c45a1ffb753cbaf3c08726fa77547 I loose my widgets. Is there any way around this? It seems that I should be able to assign different desktop wallpapers directly in pwidgets, but I can't figure out how. Any ideas are welcome.

Grace & peace

Chris
Back to top
View user's profile Send private message 
Ron

Joined: 03 Aug 2008
Posts: 184
Location: Around Seattle

PostPosted: Sat 30 Oct 2010, 18:39    Post subject:  

01micko wrote:
Ron

I dare say you downloaded and installed the pwidgets-extras package as well.

Those icons are used in the WeatherX widget, which works essentially the same as Weather, but the big difference is an updated conky that can display images on screen.

At the moment it doesn't support 2 instances and also needs updating. It should still work ok, but occasionally you will find that it just disappers for no reason. I'll fix it soon since I wrote and maintain that package.

Any problems, sing out..
Cheers

Micko, okay, I'm singing,

I've just installed a fresh frugal install of 5.1.1 including, of course, pwidgets 2.3 and extras . When it was first run, weatherx displayed the nice icons. I've noticed that on this machine and another one, that it just stops displaying after awhile, for good. It seems like after adding or deleting widgets and reapplying, Weatherx quits displaying icons, but I can't be sure exactly what it is that does it. I have even uninstalled pwidgets and reinstalled it through the Package Manager, but the icons still fail to display even then. Seems like there is some remnant of the original program that keeps it from working right. Once, I had to start the whole 5.1.1 install over for an unrelated issue and then Weatherx was good again, but only for a while.

On a third machine,(my father's, the last Windows holdout), I just installed Lupu fresh (frugal) and weatherx is working fine so far on it. If it quits displaying the icons, I'll try to figure out what happened that made it quit.

Thought this observation may help you. I really would like it to work right on all our computers. It's nice.

Thanks,
Ron

Edit: I just had occasion to uninstall pwidgets through Puppy Manager and reinstall through zigbert's .pet on the forum. (Package Manager only offers version 2.2.7). I noticed that not only did Weatherx still not display icons, but it remembered my original zip code for it, indicating that not all items are getting uninstalled. Maybe this has some bearing.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7018
Location: qld

PostPosted: Mon 01 Nov 2010, 20:22    Post subject:  

Hello Ron

Sorry I have neglected that package a little.

When Pwidgets is uninstalled the /root/,pwidgets (hidden folder containing your settings) remains. You can delete it safely manually.

One problem may be the version of imlib2 being used. I constructed the package over 12 months ago and since then imlib2 has been updated to version 1.4.4 as far as I know. With different puppies and different binaries being used it is probably necessary to get the most compatible version of imlib2. If you are using Lucid Puppy 5 X you will need the Lucid Lynx version. There is a libraries page for extra libs http://packages.ubuntu.com/hu/lucid/libs/

I am aware that that is not the only issue with weatherx. I will look at the code.. I notice that the code for the main weather widget is updated and the weatherx code is very similar. I will bring it into line to see if that fixes any issues.

Cheers

XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX

Later.....

Well Ron I did some work and the results look satisfactory.

I now have included Weatherx2 so you can use 2 locations. I fixed (hopefully) the buggy apparition, and also hopefully the pinstall.sh which was overwriting imlib2 and it should not have been! The main reason imlib2 is included is for puppy 4 X installations.

Sigmund.. I changed the location switch to a simple sed call, it seems to work ok and better than the grep -vE method.

Cheers
pwidgets_extra.png
 Description   
 Filesize   16.95 KB
 Viewed   1032 Time(s)

pwidgets_extra.png

pwidgets_extras-2.3.0.pet
Description 
pet

 Download 
Filename  pwidgets_extras-2.3.0.pet 
Filesize  554.33 KB 
Downloaded  222 Time(s) 

_________________
keep the faith Cool ..
Back to top
View user's profile Send private message Visit poster's website 
Ron

Joined: 03 Aug 2008
Posts: 184
Location: Around Seattle

PostPosted: Mon 01 Nov 2010, 23:29    Post subject:  

Micko,

Whoopie! Downloaded the new extras package and it works like a charm. So far, anyway, lol. I love having two instances of both weather and weatherx. Thank you for all the work. I'm happy now. Thanks for the pet; many of us users depend on them, being a little .tar challenged...

Is there still any point in still replacing imlib2 as well? I'm a little fuzzy on that. Oh well, if it's just a matter of replacing the old file with the new one, I guess that's simple enough.

Ron
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7018
Location: qld

PostPosted: Mon 01 Nov 2010, 23:55    Post subject:  

If it aint broke don't fix it!

Laughing

Cheers

_________________
keep the faith Cool ..
Back to top
View user's profile Send private message Visit poster's website 
Ron

Joined: 03 Aug 2008
Posts: 184
Location: Around Seattle

PostPosted: Tue 02 Nov 2010, 00:22    Post subject:  

Quote:
If it aint broke don't fix it!

That's my motto as well, although I seem to forget it sometimes and end up breaking it anyway...

I hate to do this to you, but now that this one seems to be solved, may I bring up another problem that's been bugging me forever? Do you know anything about Calendar? There is a tool to change the week beginning with either Sun or Mon, but it's stuck on Mon and won't allow the change. Most normal calendars start with Sunday, at least in the US anyway, so this can be confusing if you're not careful.

What's weird is that I could have sworn that somewhere in the midst of all this upgrading and changing things around, that feature started working for me and I changed to Sun, but now it is stuck on Mon again, unless I'm hallucinating. I believe this was brought up once before but with no resolution that I can find. Any thoughts on that one?
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7018
Location: qld

PostPosted: Wed 03 Nov 2010, 01:13    Post subject:  

Well Ron you twisted my arm! Laughing

Indeed the calendar for Sunday is broken and it is a simple logic error.

Note, my patch here will fix it but it does need to be rewritten for multiuser compatibility. Won't worry you though I don't think Wink (maybe Sigmund! Laughing )

Cheers
calendar_patch-0.1.pet
Description 
pet

 Download 
Filename  calendar_patch-0.1.pet 
Filesize  937 Bytes 
Downloaded  178 Time(s) 

_________________
keep the faith Cool ..
Back to top
View user's profile Send private message Visit poster's website 
Ron

Joined: 03 Aug 2008
Posts: 184
Location: Around Seattle

PostPosted: Wed 03 Nov 2010, 14:24    Post subject:  

Micko,
Sorry to report that the Weatherx icons are gone again. When you first posted the extras 2.3 package, I installed it and the icons worked fine, but now they have disappeared in both instances. I even tried uninstall/reinstall both the Pwidgets and the extras package and even manually deleted all the remaining files after deletion using pfind (there are a lot). Seems strange that after manually deleting everything that pfind finds in "pwidgets" and "weatherx" there are still these remnant problems; even the last sidebar gets reapplied after a completely fresh install.

Also another question: How can I configure for no sidebar at all? I seems like if you install any sidebar, there is no selection for "none" unless I'm overlooking something.

Good news is that the calendar is still fixed!

Thanks a lot for your attention on these problems.

Ron
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7018
Location: qld

PostPosted: Wed 03 Nov 2010, 17:24    Post subject:  

Quote:
Sorry to report that the Weatherx icons are gone again. When you first posted the extras 2.3 package, I installed it and the icons worked fine, but now they have disappeared in both instances. I even tried uninstall/reinstall both the Pwidgets and the extras package and even manually deleted all the remaining files after deletion using pfind (there are a lot). Seems strange that after manually deleting everything that pfind finds in "pwidgets" and "weatherx" there are still these remnant problems; even the last sidebar gets reapplied after a completely fresh install.


No need to be sorry Ron! If there is something wrong we make our best endeavour to fix it Wink

It has been running fine for me, the icon has dropped out, (text still there) but on the next loop, which takes 5 minutes, it returned. However, in the nature of the puppy work I do I reboot a fair bit. I could possibly install 5.1.1 and pwidgets on another machine that I could leave running to test over some days.

I need some more info from you.
1) is it just the icon dropping out or the whole widget, that is, the text too.
2) What type of installation do you run? Full/frugal/other? The reason is, that errors can creep into your drive without your knowledge and an 'fsck' (filesystem check Wink ) may be necessary, there are different commands for full install and frugal installs. Imlib2 does not like errors on the disk!
3)Did you end up updating to the Ubuntu imlib2? By the way, the Luicid version is at version 1.4.2, that's what I use.
4)Make sure if you reinstall that you reinstall the extras pack last.. it has a different engine (version of conky) which is important to the icon functionality. Did you do that?

__________

If you know how to do an fsck then go ahead and do that, it may fix your issue. I did find, mainly in Puppy-431 that 'stale-nfs-file-handle' error would bork the widget completely. An fsck fixes it. If you didn't update imlib2 maybe you should.

As for the sidebar, open the plugins > sidebar GUI and click "right" down the bottom and the Remove button. Click apply in the main gui and the sidebar should then be gone.

Hth.

Cheers

_________________
keep the faith Cool ..
Back to top
View user's profile Send private message Visit poster's website 
Ron

Joined: 03 Aug 2008
Posts: 184
Location: Around Seattle

PostPosted: Wed 03 Nov 2010, 18:26    Post subject:  

Mick,
To your questions:
1. The widget itself seems to be working fine; updating, has text, etc. Just no icons (both weatherx's).

2. I boot with live cd, so basically frugal, save file on my Widows partition.

3.. I had not updated imlib2, but I just now did, using petget to install the package (thank you petget). Is that all I need to do? It made no change that I could see but all I did is reapply.

4. I've always installed the extras second, then your patches.

I can't pinpoint what it is that makes it change, but it may have happened after I rebooted one time.

Right now, I have two computers running side by side, both on Lupu 5.1.1, and pretty much identical configurations. One is holding it's own with the icons so far, but I haven't rebooted it for a while. If you want, I could compare and edit some files using Geany, side by side. The two are running pretty much the same widgets but with some different skins. I could keep the original files separate so I could restore them after. Let me know; I'd be glad to help if I can. I won't make any changes to the working system until I hear from you. My father's Lupu system likewise still is displaying icons and it has not been rebooted for a few days and I haven't done any reconfiguring since I set up Pwidgets on it. It seems like if you leave the system alone, it continues to work. Unfortunately, that is not in my nature...

I thought I had tried the "remove" option on sidebars before, but anyway it worked this time. Thanks.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7018
Location: qld

PostPosted: Wed 03 Nov 2010, 18:41    Post subject:  

Hi Ron

Ok, it may be errors in the pupsave, that's my hunch. I have rebooted several times in 4 different window managers (jwm, openbox, icewm and xfce4) and still the icons are persistent! It is a very good thing that they remain persistent while the machine has been running several days.. it shows that the code for the weather information is working.

On the failing machine, boot 'puppy pfix=ram'. On the partition where your pupsave is right click some free area in the rox filer window and choose 'window >> terminal here'

run
Code:
e2fsck lupusave-<whatever-name>.3fs
and accept all the defaults, answering 'y' where required. If there are lots of errors it may take some minutes! BTW ,whatever name is only if you gave your pupsave a name.. else it will be just lupusave.3fs (or 2fs Wink )

Hopefully that will fix the problem. Reboot to your pupsave and see..

Cheers

_________________
keep the faith Cool ..
Back to top
View user's profile Send private message Visit poster's website 
Ron

Joined: 03 Aug 2008
Posts: 184
Location: Around Seattle

PostPosted: Wed 03 Nov 2010, 21:26    Post subject:  

Mick,
I wasn't sure what you wanted me to do. If I boot to pfix=ram, i have no access to my home directory where the save file is, so what I did was not reboot, but ran fsck in mnt/home directory in rox as you described. I did have to respond to quite a few errors. When it was finished, I did reboot. Now I have the icons back. This does make sense, because the problem seemed to occur only after a reboot, so if the save file was hosed up, it would explain odd behavior. I never even considered that possibility.

I'll be embarassed if this has been an isolated problem. I assumed it was a bug and I thought I remembered the problem existing on the other system before, which was why I went to the "weather" widgets, but I'll take it anyway with gratitude for your efforts and I learned a few things in the process. Also, it's good to have fixed the calendar. I know some others had mentioned it too.

Is there a tutorial of some kind on how pwidgets works under the hood? It would be an interesting learning experience to develop a widget, if only for my own amusement. Even if it's just an outline of what modules do what, how they integrate in pwidgets and window managers, etc. All I can find is how to use pwidgets.

Thanks again. I'll "sing out" again if I need to, but I think I can leave you alone for now.

Ron
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7018
Location: qld

PostPosted: Wed 03 Nov 2010, 21:31    Post subject:  

Hi Ron,

Cool Good, you got it sorted, but don't feel embarrassed. What you did was prompt me to update that widget and that indeed was necessary. Smile It should now be more stable for all, it's still running great for me, and as I recall it did have problems awhile back.

Cheers.. (and I'll be listening for your tune Wink )

_________________
keep the faith Cool ..
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 194 of 205 [3066 Posts]   Goto page: Previous 1, 2, 3, ..., 192, 193, 194, 195, 196, ..., 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.1308s ][ Queries: 13 (0.0510s) ][ GZIP on ]