Page 150 of 162

Posted: Sun 12 Jun 2011, 23:41
by zigbert
jpeps wrote:
SimpleWater wrote:
jpeps wrote:Change the theme to stardust orange or something.
Interesting, do you also know how to fix puppy linux 5.2.5? It displays 5.2.5 only, at moment.
Bug: change line 51 to "Puppylinux -c" in the configs file listed below.

51 $alignc${font}${color0}${exec /usr/local/pwidgets/widgets/scripts/Puppylinux -c} ${color1}${exec /usr/local/pwidgets/widgets/scripts/Puppylinux -a}.${exec /usr/local/pwidgets/widgets/scripts/Puppylinux -b}


/usr/local/pwidgets/widgets/configs/Puppylinux
got it

Posted: Mon 13 Jun 2011, 01:20
by SimpleWater
jpeps wrote:
Bug: change line 51 to "Puppylinux -c" in the configs file listed below.

51 $alignc${font}${color0}${exec /usr/local/pwidgets/widgets/scripts/Puppylinux -c} ${color1}${exec /usr/local/pwidgets/widgets/scripts/Puppylinux -a}.${exec /usr/local/pwidgets/widgets/scripts/Puppylinux -b}


/usr/local/pwidgets/widgets/configs/Puppylinux
This did it for me, thanks. Now it shows "Lucid Puppy 5.2.5". Not how it was originally like, but i'm happy with it!

Posted: Mon 13 Jun 2011, 06:41
by zigbert
I just checked, and the latest Pwidgets already got this fix.


Sigmund

Picture frame

Posted: Mon 20 Jun 2011, 10:42
by sjsrikanth
Would be great if there is a picture frame widget..... (or is it possible to customize the size of frame of the slideshow widget, like to show portraits ?)

weather station

Posted: Tue 21 Jun 2011, 03:49
by tenochslb
On weather station it reads "to - morrow := " i am assuming it should be "tomorrow" I was able to see this in two machines.

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