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:

#2981 Post 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

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#2982 Post 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!

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

#2983 Post by zigbert »

I just checked, and the latest Pwidgets already got this fix.


Sigmund

User avatar
sjsrikanth
Posts: 114
Joined: Mon 28 Mar 2011, 06:24
Location: Chennai, India

Picture frame

#2984 Post 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 ?)

tenochslb

weather station

#2985 Post 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.

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

Post Reply