Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Oct 2018, 14:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
pWidgets 2.5.8
Post new topic   Reply to topic View previous topic :: View next topic
Page 211 of 215 [3216 Posts]   Goto page: Previous 1, 2, 3, ..., 209, 210, 211, 212, 213, 214, 215 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 6552
Location: Valåmoen, Norway

PostPosted: Tue 15 Dec 2015, 20:18    Post subject:  

666philb
Thank for the feedback

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6552
Location: Valåmoen, Norway

PostPosted: Tue 15 Dec 2015, 20:19    Post subject:  

Version 2.5.8
See main post

Changelog
Bugfix: show widgets at startup (thanks to tlchost)

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
tlchost

Joined: 05 Aug 2007
Posts: 2093
Location: Baltimore, Maryland USA

PostPosted: Wed 16 Dec 2015, 04:51    Post subject:  

Moat wrote:
F

- below is attached a mildly-tweaked version of the original Weather Station locale-setting plugin, that should work for it. Just extract the 'Weather_Station_Forecast' folder to the '/usr/local/pwidgets/widgets/plugins' directory...


Tried it with 258 and Tahr604 on bootable USB stick....it shows up as weather in the pwidgets selection menu....and palces some bad stml on the desktop

Thom
Back to top
View user's profile Send private message Visit poster's website 
davids45


Joined: 26 Nov 2006
Posts: 1156
Location: Chatswood, NSW

PostPosted: Wed 16 Dec 2015, 20:19    Post subject: Temp_cpu widget
Subject description: more generic version??
 

G'day zigbert,

Thanks for updating your widgets pet and particularly for doing a 64-bit version.
There seems to be a lot of 64-bit Pups on the loose at the present time, and the only 64-bit widget I could find from any 64-bit Pup was very old.

Could you alter the wording that describes the TEMP_cpu widget as I think this widget applies only to the EEE-type mini-laptops. Say rename it something like "TEMP-cpu_EEEcomputers"?

Here's my non-EEE version that works on various old HP desktops here.
I added to the info. in the config file to indicate that modules are needed dependent on the computer so this widget needs adjusting by the user to suit each different computer.

Code:
#this is a Pwidgets config file
#the actual building of the graphics is defined in bottom of this file, - after 'TEXT'.
# temp data for this widget comes from modules loaded at boot that report any temps for cpu or other devices and for fan speeds if modules report these
# run 'sensors' in a console to see what your system could report
# you may need to run an lm-sensors pet if sensors shows in the terminal it is not loaded
#### --> NB: this widgets needs tailoring to suit your particular computer and its hardware
# this particular version runs on old HP Small Form desktops

#### PWIDGETS #####

HEIGHT=340
OFFSET_X_LEFT=1080
OFFSET_X_RIGHT=20


#### 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 no
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 1
minimum_size 180 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:size=8

TEXT
${font pdingobats2:size=20}${color4}z${font :size=12}${color yellow} CPU Temps
${font}${color3} ${execi 33 sensors | grep -A 1 'Core' | cut -c1-22 | sed '/^$/d'}
${color3} ${execi 33 sensors | grep -A 1 'Adapter: P' | cut -c1-25 | sed '/^$/d'}
${color3} ${execi 33 sensors | grep -A 9 'smsc' | cut -c1-25 | sed '/^$/d'}


This widget doesn't need the script that came with the EEE-TEMP-cpu widget - the config seems OK just by itself.

David S.
Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 913
Location: Mid-mitten

PostPosted: Wed 16 Dec 2015, 22:50    Post subject:  

tlchost wrote:
Tried it with 258 and Tahr604 on bootable USB stick....it shows up as weather in the pwidgets selection menu....and palces some bad stml on the desktop


Please explain... can you attach a screenshot? Location issue? Font issue??

I did find a path error in the location plugin script - attached below is the the fix, you might want to give it a try (I've updated the previously posted version here http://murga-linux.com/puppy/viewtopic.php?p=846572#846572 )...
WeatherStation_Forecast_fix.tar.gz
Description  Unpack and replace 'WeatherStation_Forecast' script in /usr/local/pwidgets/widgets/scripts/
gz

 Download 
Filename  WeatherStation_Forecast_fix.tar.gz 
Filesize  1.31 KB 
Downloaded  218 Time(s) 
Back to top
View user's profile Send private message 
tlchost

Joined: 05 Aug 2007
Posts: 2093
Location: Baltimore, Maryland USA

PostPosted: Thu 17 Dec 2015, 06:11    Post subject:  

Moat wrote:

Please explain... can you attach a screenshot? Location issue? Font issue??

What should it appear as in the pwidgets menu....all I see is weather2, weather station and weather. I use weather station

Perhaps this will help, When I run the scriot in terminal I see
Code:


cat: /usr/local/pwidgets/widgets/configs/Weather_Station_Forecat:  No such file or directory

Back to top
View user's profile Send private message Visit poster's website 
Moat


Joined: 16 Jul 2013
Posts: 913
Location: Mid-mitten

PostPosted: Thu 17 Dec 2015, 06:34    Post subject:  

tlchost wrote:
What should it appear as in the pwidgets menu....all I see is weather2, weather station and weather.


If you copy the files I've attached in these two posts into their respective directories...

http://www.murga-linux.com/puppy/viewtopic.php?p=846572#846572

http://www.murga-linux.com/puppy/viewtopic.php?p=853875#853875

... it should show up as 'Weather_Station_Forecast' in the Pwidgets menu.

Working fine here with the latest Pwidgets 2.5.8 in an updated Tahr 6.0.4 (32 bit).

Bob
Back to top
View user's profile Send private message 
tlchost

Joined: 05 Aug 2007
Posts: 2093
Location: Baltimore, Maryland USA

PostPosted: Thu 17 Dec 2015, 08:14    Post subject:  

Moat wrote:

... it should show up as 'Weather_Station_Forecast' in the Pwidgets menu.

Working fine here with the latest Pwidgets 2.5.8 in an updated Tahr 6.0.4 (32 bit).



Thanks...neither one works must be some cockpit error here ...so, In the interest of not beating my forehead into a slope and reducing blood loss, I'll give up.
Back to top
View user's profile Send private message Visit poster's website 
Moat


Joined: 16 Jul 2013
Posts: 913
Location: Mid-mitten

PostPosted: Fri 18 Dec 2015, 05:38    Post subject:  

tlchost wrote:
...so, In the interest of not beating my forehead into a slope and reducing blood loss, I'll give up.


Here's a .pet of it all combined (attached below), to help ya' avoid such terrible pain. Smile The .pet should just install and work!

Bob
Weather_Station_Forecast-1.0.pet
Description  Includes Eurostile and pcompass fonts
pet

 Download 
Filename  Weather_Station_Forecast-1.0.pet 
Filesize  65.59 KB 
Downloaded  225 Time(s) 
Forecast_Tahr.jpg
 Description   Installed and running in updated Tahr 6.0.x (no-PAE, 32 bit) with Pwidgets 2.5.8
 Filesize   11.72 KB
 Viewed   657 Time(s)

Forecast_Tahr.jpg

Back to top
View user's profile Send private message 
tlchost

Joined: 05 Aug 2007
Posts: 2093
Location: Baltimore, Maryland USA

PostPosted: Fri 18 Dec 2015, 10:29    Post subject:  

installs and works fine...thanks very much.

thom
Back to top
View user's profile Send private message Visit poster's website 
jeffneedle

Joined: 20 Sep 2013
Posts: 149

PostPosted: Sat 19 Dec 2015, 18:28    Post subject:  

Hi. Just tried installing pwidgets. No problem with install. I added weather2, shows up in the list on screen, but returning to the desktop doesn't show any weather widget.

Using Tahr 6.0.4. Thanks.
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2596

PostPosted: Sat 19 Dec 2015, 20:32    Post subject:  

Tahr 6.0.2 with 6.0.3 patch applied and 4.3.2 recent kernel dropped in (32 bit PAE, Celeron D single core 2GB ram).

I extracted the pet and did a manual install as I run a read only pup (pfix=ram booted, no savefile) that runs 100% in ram (including Libre Office etc) and I prefer the exact same pup to boot each and every time.

I've recently added zram swap (as I don't like the idea of swap writes to disk and otherwise have no swap partition) and the tray freemem icon wasn't showing the correct amount of free space. So I disabled that tray icon and added pwidget to show both CPU and RAM on the desktop.

Thanks.

I have a different puppypin for each desktop, so each desktop can have different icons/icons arrangements, and wallpapers, as well as the more usual different windows on each desktop. I just had to add a call to pwidgets -S to each desktop (as otherwise the pwidget would 'vanish' when changing desktops) i.e. my ~/.jwm/jwmrc-personal desktop tag now contains

<!-- Number of virtual desktops -->
<Desktops width="3" height="1">

<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin2;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin3;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin4;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin5;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin6;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin7;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin8;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin9;pwidgets -S</Background></Desktop>
<Desktop><Background type="command">/usr/local/bin/rox -p /root/Choices/ROX-Filer/PuppyPin10;pwidgets -S</Background></Desktop>

</Desktops>


And its all working great - change desktop and the CPU and RAM widget flashes up on each desktop. Nice bit of extra animation to go alongside the animated drive icons (vbar) that pop out at you when you hover over them.
d.jpg
 Description   
 Filesize   41.16 KB
 Viewed   597 Time(s)

d.jpg

e.jpg
 Description   
 Filesize   36.25 KB
 Viewed   599 Time(s)

e.jpg

c.jpg
 Description   
 Filesize   47.77 KB
 Viewed   616 Time(s)

c.jpg

Back to top
View user's profile Send private message 
jeffneedle

Joined: 20 Sep 2013
Posts: 149

PostPosted: Sat 19 Dec 2015, 23:21    Post subject:  

Thanks for the response. Looks like it's more trouble than it's worth.
Back to top
View user's profile Send private message 
Mayou

Joined: 17 Apr 2014
Posts: 106

PostPosted: Sun 17 Jan 2016, 11:42    Post subject: sensors Missing
Subject description: CPUtemp-1.7.pet: 81 K
 

for temperature icon down the screen
console told me no sensors, but this pet works well : CPUtemp-1.7.pet: 81 K
# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
# sensors-detect
No i2c device files found.
#
CPUtemp-1.7.pet
Description 
pet

 Download 
Filename  CPUtemp-1.7.pet 
Filesize  80.46 KB 
Downloaded  180 Time(s) 
Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 913
Location: Mid-mitten

PostPosted: Thu 24 Mar 2016, 21:13    Post subject:  

Uggh! I can't believe my eyes, but it's looking like I may have to...

As of the last few days, Yahoo has changed their weather API, making it no longer open to the public without an authorization "key" of some sorts - breaking all of the Pwidgets weather widgets that rely on Yahoo -

Quote:
To increase the security measure and better serving our YDN customers, weather data source will enforce OAuth 1 starting March 15, 2016. Please update your API calls with OAuth 1 enabled (via the OAuth /v1/yql end point if using YQL) using your Yahoo App key and secret.


https://developer.yahoo.com/weather/

https://community.apigee.com/questions/20551/apigee-tutorial-yahoo-oauth-problem.html

I booted my Precise today and noticed Weather Station Forecast was not reporting - a check of /root/.pwidgets/temp/wever-temp showed "Please provide valid credentials. OAuth oauth_problem".

This has broken Vovchik's Yweather Puppy app as well - http://www.murga-linux.com/puppy/viewtopic.php?p=676079 - which after a few minutes seems to become locked in an endless loop, spiking one CPU core @ 100% until killed.

Anybody else experiencing this issue with the Yahoo weather widgets?

How immensely disappointing, if true!!! Evil or Very Mad Sad Evil or Very Mad Exclamation Grrrr... makes me wanna kick something/somebody...

Bob
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 211 of 215 [3216 Posts]   Goto page: Previous 1, 2, 3, ..., 209, 210, 211, 212, 213, 214, 215 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1432s ][ Queries: 12 (0.0767s) ][ GZIP on ]