pWidgets 2.5.8

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2941 Post by Béèm »

01micko wrote:I also made some improvements to the cpu_bar widget. For some reason it wasn't working correctly with multi core processors. :roll: :? I don't know what happened there but this version I think is ok.

Cheers
Thank you Mick,
I have indeed one bar now for my single processor.
Bernard
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

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

#2942 Post by 01micko »

:oops: there's an oversight in the new weather plugin.

Acuweather RSS site's weather code has spaces for cities that have 2 words in their name, for example Gold Coast. It's an easy fix, but I should not have missed that one!

Code: Select all

#fix weather code if it has a space 2011-02-06
	WEATHER_CODE_NEW=`echo "$WEATHER_CODE_NEW"|sed -e 's/ /%20/g'`
Patch is attached (for both Weather and Weather2)
Attachments
weather_patch-1.pet
(1.15 KiB) Downloaded 506 times
Puppy Linux Blog - contact me for access

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

#2943 Post by zigbert »

Mick
I have added your fix for the next release.

I have rewritten the calender script for faster rendering.
Attachments
Calendar.gz
(545 Bytes) Downloaded 503 times

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

#2944 Post by zigbert »

Version 2.3.4
See main post

Changelog
- Faster rendering of Calender.
- Rearrange Weather widget.
- Bugfix: Weather widget: Places with spaces in name. (thanks to 01micko)
- Bugfix: Weather widget: UTF encoding. (thanks to 01micko)
- Bugfix: Apply-splash width.
- Bugfix: Puppy Name in 'Puppylinux' widgets. (thanks to 01micko)
- Bugfix: Reduced height of cpu-graph.

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

#2945 Post by zigbert »

Have fixed the CpuBar widget to keep theme colors.
Included in next release.


Sigmund

titanreign
Posts: 56
Joined: Fri 19 Jan 2007, 14:06
Contact:

#2946 Post by titanreign »

The wiki link on the initial post leading to more widgets is dead.

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

#2947 Post by zigbert »

Argolance has extended ionic.ttf with more chars. It is bigger than the one in the pet, so I have attached it to the main post as an alternative.


Sigmund

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

#2948 Post by zigbert »

titanreign wrote:The wiki link on the initial post leading to more widgets is dead.
Link updated


Thank you
Sigmund

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

#2949 Post by zigbert »

Version 2.3.5
See main post

Changelog
- Improved language detection.
- Bugfix: CpuBar. (thanks to 01micko)
- Bugfix: show puppy-name in puppylinux widget.

yordanj94
Posts: 78
Joined: Thu 16 Sep 2010, 15:40
Location: Bulgaria

Calendar

#2950 Post by yordanj94 »

Hi.
It's my first time to use your program.Everything was fine unless calendar.
I use bulgarian localisation and can't see days .If use english localisation there is no problem.

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

#2951 Post by zigbert »

yordanj94
The best offer I can give right now is to edit line 5 in /usr/local/pwidgets/widgets/scripts/Calendar

Code: Select all

CAL=`cal`
to

Code: Select all

LANG=C CAL=`cal`
which gives english output instead of bulgarian for the calendar heading


Sigmund

yordanj94
Posts: 78
Joined: Thu 16 Sep 2010, 15:40
Location: Bulgaria

Calendar

#2952 Post by yordanj94 »

Thanks for your help.
I don't know if this can help ,but in Lighthouse with pwigets version-2.3.0 i got this result.
Greetings.

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

Re: Calendar

#2953 Post by Dougal »

yordanj94 wrote:I use bulgarian localisation and can't see days .If use english localisation there is no problem.
It looks like it might be a font issue. Maybe LightHousePup uses a different font? You need Cyrillic letters which might not be included in the font used by default. (Zigbert will have to tell you about the font and how to change it...)

The other option is that you need the locale file for "cal" -- you can look in LightHouse in the directory /usr/share/locale/bu/ for a file named cal.[?] ("bu" is the Bulgarian locale, right?)
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

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

#2954 Post by zigbert »

Dougal is right (yet another time), Pwidgets uses a small font that doesn't include too many chars. - Monofonto (/usr/share/fonts/default/TTF/monofont). To change font for all widgets it would probably be easy to replace the default font with a link to another one. All fonts are controlled by the widget config script. /usr/local/pwidgets/widgets/config/.

I think pwidgets should stick with Monofonto..... because at this moment, no widgets supports translation, and I see no reason for a bulgarian calendar when the other widgets still is english.


Sigmund

gcmartin

Using Pwidgets on FATDOG

#2955 Post by gcmartin »

Pwidgets has recently been available on FATDOG. The only issue I seen is the items in the picture which relate to disk/FS.

Edited: The system has a HDD with several partitions and a USB attached as well. But, only 3 partitions are mounted. The system was booted LiveCD with pfix=ram.

Can someone suggest a reason why those 4 pwidget entries are not posting to the desktop?
  • Drive_space
  • Space_... (3 items)
Thanks in advance
PS. I had the same issue running Pwidgets on couple other PUPs. Thx
Attachments
Pwidget not showing filesystem usage.png
(158.61 KiB) Downloaded 1016 times

gcmartin

#2956 Post by gcmartin »

I was asked to run the following command and post this here, as. maybe others might know why this is occurring:

Code: Select all

# /root/.pwidgets/pwidgets-exec_conky
# Conky: /root/.pwidgets/widgets/Ram_graph: 7: no such configuration: 'HEIGHT=135'
Conky: /root/.pwidgets/widgets/Ram_graph: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Ram_graph: 9: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: /root/.pwidgets/widgets/Weather: 16: no such configuration: 'HEIGHT=100'
Conky: /root/.pwidgets/widgets/Weather: 17: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Weather: 18: 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: /root/.pwidgets/widgets/Processes: 7: no such configuration: 'HEIGHT=155'
Conky: /root/.pwidgets/widgets/Processes: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Processes: 9: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: /root/.pwidgets/widgets/Downspeed: 7: no such configuration: 'HEIGHT=100'
Conky: /root/.pwidgets/widgets/Downspeed: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Downspeed: 9: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: forked to background, pid is 19106
Conky: invalid configuration file '/root/.pwidgets/widgets/Space_drives'

Conky: no readable personal or system-wide config file found
Conky: forked to background, pid is 19107
Conky: forked to background, pid is 19108
Conky: forked to background, pid is 19109
Conky: forked to background, pid is 19110

Conky: desktop window (400023) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x2600001)
Conky: drawing to double buffer
Conky: setting bg window (2600001) 
Conky: desktop window (400023) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x2800002)
Conky: drawing to double buffer
Conky: setting bg window (2800002) 
Conky: setting bg window (2800002) 
Conky: desktop window (400023) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x2400001)
Conky: desktop window (400023) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x2a00001)
Conky: drawing to double buffer
Conky: setting bg window (2400001) 
Conky: drawing to double buffer
Conky: setting bg window (2a00001) 
Conky: setting bg window (2400001) 
Conky: setting bg window (2a00001) 
Conky: desktop window (400023) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x2e00001)
Conky: drawing to double buffer
Conky: setting bg window (2e00001) 
Conky: setting bg window (2e00001) 
Conky: setting bg window (2600001) 
^C
I see lines complaining about configuration file(s), but I am unsure what to do to resolve.
edited: List Space_drives file.

Code: Select all

# cat /usr/local/pwidgets/widgets/configs/Space_drives
#this is a Pwidgets config file
#the actual building of the graphics is defined in bottom of this file, - after 'TEXT'.
#Disk space

#### PWIDGETS #####
HEIGHT=180
OFFSET_X_LEFT=40
OFFSET_X_RIGHT=40


#### CONKY ####
#COLORS --- 0:headings 1:base-info 2:extra-info 3:markers 5:green 6:red
#Colors are defined in theme-files, - NOT here.
color0 A2914E
color1 666666
color2 bbbbbb
color3 ffab00
color5 499D3A
color6 red

background yes
own_window yes
own_window_type roxdesktop
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_colour hotpink
double_buffer yes
total_run_times 0
update_interval 5
minimum_size 140 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 2
border_margin 4
border_width 1
default_color white
default_shade_color 333333
default_outline_color red
no_buffers yes
uppercase no
use_spacer none
#font fixed
use_xft yes
xftfont DejaVu:bold:size=13

TEXT
${color2}${font Pdingobats:bold:size=20}:${font}$alignc${color0}Drive Space
#
Anyone ever used those disk settings? Anyone have ideas or have seen this before?

Is there documentation available on this tool's use?

Thanks in advance
Last edited by gcmartin on Sat 02 Apr 2011, 17:24, edited 1 time in total.

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

#2957 Post by zigbert »

please post the content of /usr/local/pwidgets/widgets/configs/Space_drives


Sigmund

gcmartin

Followed requests

#2958 Post by gcmartin »

zigbert wrote:please post the content of /usr/local/pwidgets/widgets/configs/Space_drives
Edited into Original Post

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#2959 Post by MinHundHettePerro »

Hello, zigbert :)!

Sorry to admit, I haven't been widgeting much as of lately.
I just took the new lupu525 for a test-run today and thought I'd also try the pwidgets (v. 2.3.1 through quickpet) out.
Tried the (very) few widgets I was responsible for, and saw that the EUR_USD exchange rate widget was broken (not a serious matter at all, I presume, since that widget was only made as a rapid response to a user request - don't know if anyone has been using it, or how long it has been broken).

Anyway, since I noticed it was broken, I fixed it and also took the opportunity to attempt to localise the decimal comma/decimal dot.
I'll attach the two files with names ending in the directories they should go in to + fake .zip extensions to fool the forum software ......

hth :)/
MHHP
Attachments
EUR_USD_scripts.zip
(243 Bytes) Downloaded 579 times
EUR_USD_configs.zip
(1.01 KiB) Downloaded 538 times
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

dawg
Posts: 116
Joined: Sun 09 Aug 2009, 14:36
Location: still here
Contact:

#2960 Post by dawg »

Hei Zigbert
Upon being stopped, Pwidgets screws with my desktop background (i.e. sets the default one). Do not want. :)
(Puppy: Wary511)

Also, could you make it not use the HDD "all the time"..
I for one prefer my HDD spun-down when it isn't needed for a good-enough reason. (This applies to HDD frugal or full installs, I guess.)
Well, I'm sure more people would appreciate less disk activity when not necessary.

Great app otherwise, takk!
I used to only like Puppy as a friend, but now I think our relationship is starting to develop into something more... :D

Post Reply