pWidgets 2.5.8

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2986 Post by zigbert »

Version 2.3.6
See main post

Changelog
- Show english headrers in Calender even if other localisation is choosen. (thanks to yordanj94)
- USD_EUR widget is updated (thanks to minhundhetteperro)
- Removed wallpapersetter code. 01micko has released a new app.
- Pmusic widget is fixed

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#2987 Post by steve_s »

Ugh, ok, I give up: how do I get Drive Space to kick and show me my drive spaces? I've got pwidgets running on Puppy 52. right now it shows that drive space is one of the widgets I selected (Space_drives) but it doesn't list even my home drive. What am I missing?

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#2988 Post by steve_s »

steve_s wrote:Ugh, ok, I give up: how do I get Drive Space to kick and show me my drive spaces? I've got pwidgets running on Puppy 52. right now it shows that drive space is one of the widgets I selected (Space_drives) but it doesn't list even my home drive. What am I missing?
Anyone? I'm using a Toshiba Tecra laptop and it won't show my drives...it will show Puppy space fine, and it shows "Drive Space" but no drives show up underneath it...any ideas?

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2989 Post by bigpup »

Using Luci 266 Lucid Puppy.

Zigbert,

Pwidgets 2.3.6

Looked in xerrs.log and see messages about Pwidgets.
Anything wrong here?

My xerrs.log:

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-25-server i686 Ubuntu
Current Operating System: Linux puppypc 2.6.33.2 #1 SMP Thu May 27 10:56:32 EST 2010 i686
Kernel command line: pmedia=atahd psubdir=Luci266 pfix=fsck
Build Date: 23 April 2010 05:11:50PM
xorg-server 2:1.7.6-2ubuntu7 (Bryce Harrington <bryce@ubuntu.com>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 26 03:18:59 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
(EE) GLX: could not load software renderer
cat: /sys/block/fd0/device/vendor: No such file or directory
cat: /sys/block/fd0/device/model: No such file or directory
/usr/bin/openbox
/usr/sbin/fixwidgets: line 5: kill: (6645) - No such process
/usr/sbin/fixwidgets: line 6: kill: (6650) - No such process
Conky: /root/.pwidgets/widgets/Puppylinux: 7: no such configuration: 'HEIGHT=60'
Conky: /root/.pwidgets/widgets/Puppylinux: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Puppylinux: 9: no such configuration: 'OFFSET_X_RIGHT=35'
Conky: /root/.pwidgets/widgets/Calendar: 8: no such configuration: 'WEEK_FIRST_DAY=MONDAY'
Conky: Conky: /root/.pwidgets/widgets/Calendar: 9: no such configuration: 'HEIGHT=170'
Conky: /root/.pwidgets/widgets/Calendar: 10: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Calendar: 11: no such configuration: 'OFFSET_X_RIGHT=20'
/root/.pwidgets/widgets/Ram_bar: 9: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Ram_bar: 10: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: /root/.pwidgets/widgets/Cpu_bar: 7: no such configuration: 'HEIGHT=50'
Conky: /root/.pwidgets/widgets/Cpu_bar: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Cpu_bar: 9: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: forked to background, pid is 6700
Conky: forked to background, pid is 6703
Conky: forked to background, pid is 6704
Conky: forked to background, pid is 6705

Conky: desktop window (40001e) is subwindow of root window (43)
Conky: window type - override
Conky: drawing to created window (0x1000001)
Conky: drawing to double buffer
Conky: setting bg window (1000001)



Conky: desktop window (40001e) is subwindow of root window (43)
Conky: window type - override
Conky: drawing to created window (0x1400001)
Conky: desktop window (40001e) is subwindow of root window (43)
Conky: window type - override
Conky: drawing to created window (0x1200001)
Conky: desktop window (40001e) is subwindow of root window (43)
Conky: window type - override
Conky: drawing to created window (0xe00001)
Conky: drawing to double buffer
Conky: setting bg window (1400001)
Conky: drawing to double buffer
Conky: setting bg window (1200001)
Conky: drawing to double buffer
Conky: setting bg window (e00001)
Conky: setting bg window (1400001)
Conky: setting bg window (e00001)
Conky: setting bg window (1000001)
Conky: setting bg window (1200001)
openbox
Generating /root/.fbpanel/default...
killall: blinky_tray: no process killed
/usr/sbin/delayedrun: line 129: 6698 Terminated $a
/usr/sbin/delayedrun: line 129: 6783 Terminated $a
killall: traytemp: no process killed
killall: vattery: no process killed
killall: powerapplet_tray: no process killed
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2990 Post by bigpup »

steve_s wrote:
steve_s wrote:Ugh, ok, I give up: how do I get Drive Space to kick and show me my drive spaces? I've got pwidgets running on Puppy 52. right now it shows that drive space is one of the widgets I selected (Space_drives) but it doesn't list even my home drive. What am I missing?
Anyone? I'm using a Toshiba Tecra laptop and it won't show my drives...it will show Puppy space fine, and it shows "Drive Space" but no drives show up underneath it...any ideas?
I got it working by having active in this order:
Space_drives
Drive_space

Did have to apply several times and had Space_Puppy_Filesystem selected on and off. So may have tripped it to work.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

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

#2991 Post by zigbert »

bigpup
I don't know Conky very well, so I can't explain the output not related to my pwidgets code.

Code: Select all

Conky: /root/.pwidgets/widgets/Puppylinux: 7: no such configuration: 'HEIGHT=60'
Conky: /root/.pwidgets/widgets/Puppylinux: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Puppylinux: 9: no such configuration: 'OFFSET_X_RIGHT=35'
Conky: /root/.pwidgets/widgets/Calendar: 8: no such configuration: 'WEEK_FIRST_DAY=MONDAY'
Conky: Conky: /root/.pwidgets/widgets/Calendar: 9: no such configuration: 'HEIGHT=170'
Conky: /root/.pwidgets/widgets/Calendar: 10: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Calendar: 11: no such configuration: 'OFFSET_X_RIGHT=20'
/root/.pwidgets/widgets/Ram_bar: 9: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Ram_bar: 10: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: /root/.pwidgets/widgets/Cpu_bar: 7: no such configuration: 'HEIGHT=50'
Conky: /root/.pwidgets/widgets/Cpu_bar: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Cpu_bar: 9: no such configuration: 'OFFSET_X_RIGHT=20' 
Pwidgets uses the conky config files to include specific options for Pwidgets. Conky does not use these, but still output an error. I have never seen that this has lead to any kind of trouble.


Sigmund

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#2992 Post by steve_s »

Wow, thanks, bigpup...that tip got it...attached is what I selected, clicked apply and it kicked instantly...have no idea why that is..thanks! 8)
Attachments
drive_space.jpg
(29.74 KiB) Downloaded 1893 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2993 Post by bigpup »

Luci266 Lucid Puppy

Pwidgets 2.3.6 -> plugins -> clock analog

When I select a new clock face and select apply
The selection window stays open
Have to select X in top right to close window.
If select cancel clock face disappears on desktop.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

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

#2994 Post by zigbert »

Version 2.3.7
See main post

Changelog
- gtk-icons fixed for later gtk-versions (thanks to jonT)

MoebusNet
Posts: 89
Joined: Sat 04 Jun 2011, 20:50

cpu_temp

#2995 Post by MoebusNet »

ext4 frugal-install to USB flash drive Lucid 5.28 with Pwidgets 2.3.7:

Temp_cpu displays cpu temperature, but fan always shows "On" regardless of cpu temperature. What can I do? Puppy Google Search hasn't come up with anything that works for me.
Acer Aspire One D255-2301 (N450 Atom @ 1.6 Ghz, 1 Gb RAM, 160 Gb HDD w/WinXP, ENE SD card reader, Alps touchpad) 5.28/5.3.1 via manual-frugal ext4 USB flash drive (4Gb) using GRUB4DOS

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#2996 Post by tasmod »

Hi ziggy,

I just loaded pwidgets after a long time away. I'm using Puppy 5.2.9

There appears to be a couple of issues with my install.

Extra menu items:-
Under 'File' there's two 'Saves' and two 'Preferences' entries


Using 'Stop' to close the pwidgets , it will then not restart no matter what I do.

Theme keeps changing back to default if pwidgets window opened and nothing done.

After all this time you would think I would know how to fix them :lol:
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

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

#2997 Post by zigbert »

Hello Rob, Long time..... :D

I will add your marks to the todo-list.



Sigmund

akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

A suggestion

#2998 Post by akash_rawal »

Great job zigbert. Pwidgets gives my desktop a 'professional' look 8)

I have a suggestion. Can we use gtkdialog3 instead of conky to draw widgets? The advantage will be that widgets will be able to respond to mouse.

A window can be pasted to the desktop using this:

Code: Select all

<window type-hint="7">
	<vbox>
	<text><label>This window can behave like a</label></text>
	<text><label>WIDGET</label></text>
	<button ok></button>
	</vbox>
</window>
To simulate transparency, a portion of the wallpaper can be placed behind the window using a custom gtkrc file:

Code: Select all

style "widget-background"
{
   engine "pixmap"
   {
        image
        {
                function = FLAT_BOX
                file = "background.png"
                border = {0, 0, 0, 0}
                detail = "base"
                stretch = FALSE
        }
   }
}

class "GtkWindow" style "widget-background"
The only challenge may be how to crop background image to the right size. There's a tool called ImageMagick but that's too large to suit puppy.

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

some minor problems with Pwidgets-2.3.7

#2999 Post by davids45 »

G'day zigbert,
Just a few things that are not quite right for me with the latest Pwidgets:

1) Edit>File>Show widget config file(s) is mis-typed as a second "Preferences" line in the Menu

2) Cpu_bar fails when added to the displayed widgets - the lines after "TEXT" disappear from the config file although the lines are there initially. I fix this by adding lines from an earlier Pwidgets to the Cpu_bar config file - I also add the RAM status to the bar display:

TEXT
${color0}R A M ${color5}${membar 10,110}
${color0}CPU 1 ${color3} ${cpubar cpu1 10,105}
${color0}CPU 2 ${color6} ${cpubar cpu2 10,105}

Although, more logically, the RAM could be included into the Space_Puppy_filesystem widget?

3) Weather widget - setting up my home location is OK but the dialog box could include a "Finished" or "Done" or "Close" button once the new location has been applied. The box just sits there until I close it by hitting the top right "X".

4) Weather widget - I get "A" with an accent above it between the temperature and the "C" for Celsius. Earlier Pwidgets were OK giving me the small superscript "o".

David S.

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

#3000 Post by zigbert »

akash_rawal wrote:I have a suggestion. Can we use gtkdialog3 instead of conky to draw widgets? The advantage will be that widgets will be able to respond to mouse.
Great idea :D

JWM has been the bottleneck to get this going - until you come up with <window type-hint="7">. Where does that comes from? I could not find it in the gtk documentation. Are there more? Sure it is :lol:

When it comes to transparency, I don't see the the immediate solution. But the forum is full of knowledge, and we can be rather sure that our posts will be read by the Puppy mainbrains. - Help is often near. Also, I don't see transparency as the most important.

Well, let's get to the point. - The latest Pwidgets actually supports gtkdialog widgets. But because of the lack of <window type-hint="7">, I solved it with a JWM-class to make the widget sticky and at layer 1. You'll find an example-widget in /usr/local/pwidgets/widgets/config_EXPREMENTAL. Move the Search_files config file to /usr/local/pwidgets/widgets/config, and you can test it. The actual gtkdialog code is in /usr/local/pwidgets/widgets/scripts/Search_files.

I am not the one who have made our widgets. I have only built the framework, and made some example-widgets. My time is limited, and I have already too many ongoing projects..... BUT, if some makes new widgets or other fixes/improvements, I will of course put it all together in a new pack. I will maintain the framework!


Good luck
Sigmund

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

#3001 Post by zigbert »

davids45
Nice avatar :D
The other day I collected the last flags from this season - 20cm snow. Your avatar makes me think of the spring when my feet can touch the bare ground for the first time. - That's heaven.....
Well, 1m powder snow, and I can 'fly' down the steepest hill, - that's heaven too. :D

1) Tasmod as also noted, and will be fixed

2) 01micko made an improvement to support several CPUs. - Must in some way not work for you. Let's see if Mick is around...

3/4) Widget development is not on my priority list. - Sorry mate.


Sigmund

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

#3002 Post by zigbert »

Image

akash_rawal
Posts: 229
Joined: Wed 25 Aug 2010, 15:38
Location: ISM Dhanbad, Jharkhand, India

#3003 Post by akash_rawal »

zigbert wrote: JWM has been the bottleneck to get this going - until you come up with <window type-hint="7">.
Nice to know that you are already aware of it. The attribute type-hint="7" works properly with all WMs except JWM. (Some latest versions seem to have corrected this.)

Currently I am too busy with my entrance exam preparation. When I get time, I will attempt to rewrite at least 1 widget.

For transparency, all we need to do is to find a commandline image editing program capable of cropping images. If we know where to place a widget, we know from where we have to crop the image.

Anyways, the example widget works flawlessly after adding attribute type-hint="7" to its window. I use compiz as my window manager.

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

#3004 Post by zigbert »

Version 2.40
See main post

Changelog
- Activate gtkdialog widget support (thanks to akash_rawal)
- Make the gui scalable.
- Bugfix: Menu-labels were hardlinked to gtk-stock (thanks to tasmod/davids45)
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)
- Bugfix: Sidebar plugin: preview icon.

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

#3005 Post by 01micko »

davids45

With the weather plugin you need to enable UTF-8, then you get the degree symbol as expected. i don't see this as a major drama but I guess a note in the gui or a splash should be apparent informing the user.

There is a bug I found with the Cpu_bar widget, the default config had 2 entries ( :roll: ), so with a uniprocessor you would get an empty cpu bar below the working one... but that is fixed in the plugin script now. I don't know if it will fix your particualr issue as you said there is nothing displayed :? James C did test it recently with 4 cores and it worked as expected. Try the patch please. (see attached)

akash_rawal..

Nice stuff! Sigmund, what we need is the pwidgets_background file to exist even when we don't have sidebar activated, that way there is always an image to reference in the correct dimensions (screen size) to process. Each individual widget will of course need the -G param to gtkdialog, and as akash said the only missing piece is a tool to crop the image. Maybe pnm suite can handle this? (Barry would know :wink: edit... pamcut!!! :) ). Already in Puppy..

Cheers
Attachments
cpu_patch-001.pet
fixes a uniprocessor issue
(1.12 KiB) Downloaded 481 times
Puppy Linux Blog - contact me for access

Post Reply