pcputemp - yet another tray temp monitor

Moderator: Forum moderators

Post Reply
User avatar
01micko
Posts: 134
Joined: Mon Jul 13, 2020 4:08 am
Location: Qld
Has thanked: 5 times
Been thanked: 63 times
Contact:

pcputemp - yet another tray temp monitor

Post by 01micko »

pcputemp supersedes poorercputemp

It is basically the same but with improved font to resemble sans and updated temperature ceiling so it now cuts off at 127 degrees C, however only an icon that resembles a flame is displayed at temps over 99 degrees. This is purely for easiness of code and it is highly unusual for cpu to reach over 100 degrees and still be functioning, but certainly is possible, :shock:

The script to load a module has been reworked with more sane logic and should pick the right sensor for your cpu - perhaps some k10temp boards may get it wrong but mine works (ryzen) so I'll take a look if you have a late model athlon64 or ryzen if the wrong sensor is picked up.

Here's how it looks ..
pcputemp.png
pcputemp.png (53.78 KiB) Viewed 1629 times
Note that temp is now displayed in the tooltip.

I've built pets for slacko-6.3x (should work in xenial, stretch 32 and later), slacko64-6.9x (should work in scpup64 and lxpup-sc64), bionic64-8x (should work in fossa64), raspup buster and Barry's pyro aarch 64 for raspberry and rockchip boards. The source code has a build script to generate a pet.

There are also some cli options
  • l - (that is lower case L all on it's own) - use the light theme
  • d - use the dark theme
  • <1 to 10> - an integer one to ten to adjust the refresh rate in seconds of the icon/tooltip - defaults to 5
  • <string> - the name of another module if you have obscure hardware
Do not precede the options with a dash or hyphen.

TODO - make a manpage with the above info EDIT: see here

See next post for packages and source code
Last edited by 01micko on Wed Sep 02, 2020 11:00 am, edited 3 times in total.
User avatar
01micko
Posts: 134
Joined: Mon Jul 13, 2020 4:08 am
Location: Qld
Has thanked: 5 times
Been thanked: 63 times
Contact:

Re: pcputemp - yet another tray temp monitor

Post by 01micko »

Here are all the latest packages and source code.


pcputemp-0.3-aarch64-pyro64.pet For Barry's Arm64 pi3 and rockchip distro
pcputemp-0.3-armhf-raspup.pet for my raspup buster release
pcputemp-0.3-i686-slacko.pet - may suit precise and xenial pups too
pcputemp-0.3-x86_64-bionicpup64.pet should fit fossa64 as well
pcputemp-0.3-x86_64-slacko64.pet also the scpup64 and lx version
pcputemp-0.3.tar.gz Source code
Last edited by 01micko on Wed Sep 02, 2020 11:10 am, edited 1 time in total.
User avatar
01micko
Posts: 134
Joined: Mon Jul 13, 2020 4:08 am
Location: Qld
Has thanked: 5 times
Been thanked: 63 times
Contact:

Re: pcputemp - yet another tray temp monitor

Post by 01micko »

reserved for later
Last edited by 01micko on Wed Sep 02, 2020 11:11 am, edited 1 time in total.
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: pcputemp - yet another tray temp monitor

Post by 666philb »

hi @01micko

the number two doesn't render properly for me, all other numbers are fine though.
two.png
two.png (8.6 KiB) Viewed 1577 times
User avatar
norgo
Posts: 248
Joined: Mon Jul 13, 2020 6:39 pm
Location: Germany
Has thanked: 5 times
Been thanked: 92 times
Contact:

Re: pcputemp - yet another tray temp monitor

Post by norgo »

Slacko64 700 no problems detected up to now
Attachments
temp.png
temp.png (1.1 KiB) Viewed 1564 times
User avatar
rockedge
Site Admin
Posts: 5479
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1775 times
Been thanked: 1958 times
Contact:

Re: pcputemp - yet another tray temp monitor

Post by rockedge »

runs great in Fossapup64, digit "2" is cut off as was posted above. Small script in ~/Startup and replaced the stock tray indicator.
User avatar
01micko
Posts: 134
Joined: Mon Jul 13, 2020 4:08 am
Location: Qld
Has thanked: 5 times
Been thanked: 63 times
Contact:

Re: pcputemp - yet another tray temp monitor

Post by 01micko »

Thanks @666philb and @rockedge . The bug exists in buster too, because of more strict checking of svg files. It's a copy/paste typo actually.. I missed a zero at the end of a string :oops:

new pets and source in the second post.
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: pcputemp - yet another tray temp monitor

Post by 666philb »

number two now working thanks! :thumbup2:
User avatar
davids45
Posts: 48
Joined: Mon Jul 06, 2020 2:09 am
Location: Chatswood, NSW
Been thanked: 8 times

Re: pcputemp - yet another tray temp monitor

Post by davids45 »

G'day,

I run old HP desktops which use a particular smsc module to monitor these temps - not coretemp.

In my collection of Pups, I haven't added pcputemp, just go with the one included by the deveoper of the Pup.

In most cases, on booting, I get a message on start-up that the various-Pups-included pcputemp does not run on my system.

But it later does once I load the necessary smsc module (that I use in Temp-CPU pwidgets (for 32-bit Pups) or conky (64-bit)).

I assume I'm not the only one with old computers that get this start-up error message which is, in effect, itself an error (erroneous) message ;) :D ?

Could the "does not work/run" box be modified to suggest the user checking their computer with sensors-detect or similar, or add a small 'Help' file to this effect?

And I apologise if this has been fixed in the latest version of pcputemp and I've been too lazy to test it :oops: .

David S.
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: pcputemp - yet another tray temp monitor

Post by taersh »

Hi.

Since the .desktop file calls the pcputemp binary, what is the pcputemp.sh for?

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
BologneChe
Posts: 393
Joined: Sun Aug 23, 2020 12:29 am
Location: Stoneham, Québec
Has thanked: 232 times
Been thanked: 89 times

Re: pcputemp - yet another tray temp monitor

Post by BologneChe »

When you use Puppy ... do you need the temperature? Take that bullshit off !!!

Born to lose; live to win

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: pcputemp - yet another tray temp monitor

Post by taersh »

BologneChe wrote: Sat Sep 05, 2020 2:22 am When you use Puppy ... do you need the temperature? Take that bullshit off !!!
Haha...

I'm doing video editing using Puppy. So, the main CPU gets very hot. An then: I need it!

However, repeating my question from page one of this topic:

Since the .desktop file calls the pcputemp binary, what is the pcputemp.sh for?

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
01micko
Posts: 134
Joined: Mon Jul 13, 2020 4:08 am
Location: Qld
Has thanked: 5 times
Been thanked: 63 times
Contact:

Re: pcputemp - yet another tray temp monitor

Post by 01micko »

@davids45
01micko wrote: Tue Sep 01, 2020 11:28 am There are also some cli options
  • l - (that is lower case L all on it's own) - use the light theme
  • d - use the dark theme
  • <1 to 10> - an integer one to ten to adjust the refresh rate in seconds of the icon/tooltip - defaults to 5
  • <string> - the name of another module if you have obscure hardware
Do not precede the options with a dash or hyphen.

TODO - make a manpage with the above info EDIT: see here
Try running this:

Code: Select all

pcputemp smsc47b397
on the cli (or whatever your actual module is - the bold part above should be self explanatory - and it was the same with pmcputemp and poorercputemp)

@taersh

The script pmcputemp.sh is purely to load a module and find if the sane temperature data exists. Nothing more. The .desktop file is a startup convenience. You can easily delete that and start it from /root/Startup/ - your choice.
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: pcputemp - yet another tray temp monitor

Post by taersh »

Thanks.

Usually I'm starting those .desktop files from /root/.config/autostart. When has this changed to /etc/xdg/autostart? In my Puppy .desktop files won't start from /etc/xdg/autostart.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
01micko
Posts: 134
Joined: Mon Jul 13, 2020 4:08 am
Location: Qld
Has thanked: 5 times
Been thanked: 63 times
Contact:

Re: pcputemp - yet another tray temp monitor

Post by 01micko »

taersh wrote: Sun Sep 06, 2020 1:24 am Thanks.

Usually I'm starting those .desktop files from /root/.config/autostart. When has this changed to /etc/xdg/autostart? In my Puppy .desktop files won't start from /etc/xdg/autostart.
/etc/xdg/autostart/ appeared in late 2018 iirc. /root/.config/autostart/ is still supported and that won't change. The build script in the source code will build for woof-ce based puppys with /etc/xdg/autostart/ if built in 2019 or later and /root/.config/autostart/ if 2018 or earlier. If the pet you downloaded works simply move the .desktop file. There is no need to run the script, just run the binary directly. It calls the script if there is no configuration file.
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: pcputemp - yet another tray temp monitor

Post by taersh »

Thanks.

Already done.

I had built/finished my Puppy with Woof-CE on 16. April 2019 from Bionic.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

witekjeden
Posts: 4
Joined: Mon Jan 18, 2021 4:52 pm

Re: pcputemp - yet another tray temp monitor

Post by witekjeden »

Hi.
@01micko linking doesn't work. Can you re-add the package? Thank you.

Post Reply

Return to “Utilities”