Page 150 of 162

Posted: Thu 07 Jul 2011, 06:41
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

Posted: Wed 20 Jul 2011, 15:41
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?

Posted: Mon 25 Jul 2011, 14:36
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?

Posted: Tue 26 Jul 2011, 07:13
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

Posted: Tue 26 Jul 2011, 07:29
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.

Posted: Tue 26 Jul 2011, 08:54
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

Posted: Tue 26 Jul 2011, 11:47
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)

Posted: Wed 27 Jul 2011, 05:09
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.

Posted: Fri 07 Oct 2011, 18:14
by zigbert
Version 2.3.7
See main post

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

cpu_temp

Posted: Mon 17 Oct 2011, 00:37
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.

Posted: Fri 21 Oct 2011, 08:56
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:

Posted: Sun 23 Oct 2011, 09:02
by zigbert
Hello Rob, Long time..... :D

I will add your marks to the todo-list.



Sigmund

A suggestion

Posted: Sun 04 Dec 2011, 06:30
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.

some minor problems with Pwidgets-2.3.7

Posted: Mon 05 Dec 2011, 00:42
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.

Posted: Mon 05 Dec 2011, 08:14
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

Posted: Mon 05 Dec 2011, 08:28
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

Posted: Mon 05 Dec 2011, 12:09
by zigbert
Image

Posted: Mon 05 Dec 2011, 13:59
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.

Posted: Mon 05 Dec 2011, 18:33
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.

Posted: Mon 05 Dec 2011, 20:28
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