Linux Lite Forums

General => On Topic => Topic started by: Moltke on September 18, 2017, 01:08:10 PM

Title: CPU temp applet for the XFCE panel.
Post by: Moltke on September 18, 2017, 01:08:10 PM
Hi everyone! Hope you're all having a nice life! I'll start from the beginning; I've been having some overheating problems lately and I have to keep an eye on CPU temps behavior the whole time. I used to use sensors command to check on cpu temps, however, I had to open the terminal every time to do that, so I found and installed an applet for the xfce panel, but again, is the same story with the terminal and sensors command. I'd like an utility that shows cpu temps in the panel without the need of opening anything, something like core temp in Windows. Is there such a tool? So far I found nothing that works. I'm on Linux Lite XFCE flavor by the way. I'm not exactly new to Linux but I'm not expert neither. Thanks in advance for your help!  ;D
Title: Re: CPU temp applet for the XFCE panel.
Post by: trinidad on September 18, 2017, 03:27:34 PM
Research using conky for this. The LL widget is a conky window that you could modify to display temps.

TC
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 18, 2017, 05:30:15 PM
Research using conky for this. The LL widget is a conky window that you could modify to display temps.

TC
Hi! Thanks for your answer. I'll give a shot and see what I find. I installed multiload applet but it only shows CPU load, no temps  :-\  I'll keep searching, there must be a way to get it done  :D
Title: Re: CPU temp applet for the XFCE panel.
Post by: Artim on September 19, 2017, 05:38:50 AM
I wonder if Xfce-goodies has a temperature monitor.  Menu ->System ->Install/Remove Software (Synaptic Package Manager) and install Xfce-goodies.  When it's finished, right-click on your panel, choose Add Items, and you'll find the Xfce-goodies listed.  Perhaps there's a temperature monitor among them!
Title: Re: CPU temp applet for the XFCE panel.
Post by: FreddyM on September 19, 2017, 11:12:20 AM
Hallo

I use gkrellm
Title: Re: CPU temp applet for the XFCE panel.
Post by: trinidad on September 19, 2017, 11:24:17 AM
Experiment with this. Click show hidden files in Thunar, Find the Lite conky script file, not the lua script. Copy and save a backup. Then try modifying your own conky. Your sensors are already working so you should be able to post temps in conky. You may have to increase the window height. It's 450x350 right now. Try 550.

https://ubuntuforums.org/showthread.php?t=1814367

TC
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 19, 2017, 05:34:04 PM
I wonder if Xfce-goodies has a temperature monitor.  Menu ->System ->Install/Remove Software (Synaptic Package Manager) and install Xfce-goodies.  When it's finished, right-click on your panel, choose Add Items, and you'll find the Xfce-goodies listed.  Perhaps there's a temperature monitor among them!

I've already tried xfce goodies but it didn't work. When finishing installation it showed a conflict with menu whisker so I removed it. Although, I managed to install the sensors plugin alone but it shows on the desktop, and I'd like something that shows the CPU temps in the taskbar so I can check temps values at a glance. Thanks for taking the time to answer!

Hallo

I use gkrellm
Thanks! This might be it. It shows on the desktop but you can configure it to show only the info you want it to, temps in my case, which I did, resized the window as small as possible and for now it fits my needs. I don't know if it's possible to make it show temps in the taskbar, that'd be great! Thanks again! Thanks for taking the time to answer!

Experiment with this. Click show hidden files in Thunar, Find the Lite conky script file, not the lua script. Copy and save a backup. Then try modifying your own conky. Your sensors are already working so you should be able to post temps in conky. You may have to increase the window height. It's 450x350 right now. Try 550.

https://ubuntuforums.org/showthread.php?t=1814367

TC
The problem I found with conky is that it shows info on the desktop, and I'd like something that shows it in the taskbar. Thanks for taking the time to answer!
Title: Re: CPU temp applet for the XFCE panel.
Post by: TheDead on September 20, 2017, 01:06:22 PM
Hello!
Do sudo apt-get update and sudo apt-get-instell xfce4-sensors-plugin
Then, go in the preference of the bottom panel, go into elements (sorry Im in French... so something like "element" ;) )
Add the "Sensor" plug-in
Tada!
There is also a few option for the display after install, etc.

Cheers!
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 20, 2017, 08:59:45 PM
Hello!
Do sudo apt-get update and sudo apt-get-instell xfce4-sensors-plugin
Then, go in the preference of the bottom panel, go into elements (sorry Im in French... so something like "element" ;) )
Add the "Sensor" plug-in
Tada!
There is also a few option for the display after install, etc.

Cheers!
Bonjour/Bonsoir!  ;)
I've already installed KFCE4-sensors-plugin, the problem is it shows on the desktop and as far as I've seen there's no option to make it show the temps in the taskbar. I installed gkrellm which shows on the desktop too but you can resized the window as small as you like, so I did that and placed it on a corner configured to stay always on top so I can keep an eye on temps values at a glance. Thanks for taking the time to answer!  ;D
Title: Re: CPU temp applet for the XFCE panel.
Post by: firenice03 on September 21, 2017, 09:49:36 AM
If you can view the temp you should be able to pretty much add it where ever. Conky would be a great place to start as its already set up just need to add the extra..
Have a look at mine..
I've added Network Strength along with tweaking size and layout..


http://i.imgur.com/3la2s2u.png
Title: Re: CPU temp applet for the XFCE panel.
Post by: trinidad on September 21, 2017, 10:10:02 AM
I've liked the conky widget since it was added to Lite, and it is really versatile.

TC
Title: Re: CPU temp applet for the XFCE panel.
Post by: TheDead on September 21, 2017, 12:14:24 PM
OP wanted something in the taskbar to have it always visible.

@Moltke
The way I described installation, it IS in the taskbar ;)  See here :
https://imgur.com/a/n9M6K

Tell me if imgur link works or not,  first time upload there. Woot!

-Cheers!
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 21, 2017, 04:46:24 PM
OP wanted something in the taskbar to have it always visible.

@Moltke
The way I described installation, it IS in the taskbar ;)  See here :
https://imgur.com/a/n9M6K

Tell me if imgur link works or not,  first time upload there. Woot!

-Cheers!
Yes, I installed it from the install/remove software app, went to panel preferences but like I said, it shows a window on the desktop which displays the info, not exactly what I was looking for. However, I tried your way with same result :( but gkrellm is doing the job; I can see the info in a little window which stays always on top, check it here https://imgur.com/a/meItl :)  and this is how the xfce4-sensors-plugin looks like https://imgur.com/a/pxawj as you can see is a big window which I have to open every time if checking temps. should I mark this thread as solved? By the way, imgur link works fine.
Title: Re: CPU temp applet for the XFCE panel.
Post by: firenice03 on September 21, 2017, 05:17:57 PM

Maybe 1 last attempt... https://help.ubuntu.com/community/SensorInstallHowto
        search via Synaptic for sensors-applet


Perhaps this is more to your liking??
Title: Re: CPU temp applet for the XFCE panel.
Post by: TheDead on September 21, 2017, 05:24:26 PM
@Moltke
You're almost there, click the "Mostrar" checkbox in the xfce-sensor preferences for the wanted sensors. They will show in the taskbar.
BTW, mine show 100c because I'm in a Virtual Machine. :-P

Cheers!
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 21, 2017, 05:27:11 PM

Maybe 1 last attempt... https://help.ubuntu.com/community/SensorInstallHowto
        search via Synaptic for sensors-applet


Perhaps this is more to your liking??
Already installed. It shows in the desktop, but I didn't try  "editing the /etc/sensors.conf". Maybe I try that and see how it goes. Thanks!
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 21, 2017, 05:33:31 PM
@Moltke
You're almost there, click the "Mostrar" checkbox in the xfce-sensor preferences for the wanted sensors. They will show in the taskbar.
BTW, mine show 100c because I'm in a Virtual Machine. :-P

Cheers!
Didn't work. I checked "Mostrar" and close the window but it shows nothing. I have to open the window in order to see temps values :(
Title: Re: CPU temp applet for the XFCE panel.
Post by: bfb on September 22, 2017, 02:55:08 AM
use psensor ...install from synaptic and it sits in the panel. You can set warning levels
Title: Re: CPU temp applet for the XFCE panel.
Post by: trinidad on September 22, 2017, 10:01:44 AM
To make conky always show so that maximized desktop windows don't cover it up try: own_window_type panel

TC
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 22, 2017, 02:36:17 PM
use psensor ...install from synaptic and it sits in the panel. You can set warning levels

Hi @bfb
I've already tried psensor in another distro, however, I'm not sure I tried to make it show the info in the taskbar, I think I do and didn't work, but not entirely sure, so maybe I'll try that. Thanks for taking the time to answer! 
Title: Re: CPU temp applet for the XFCE panel.
Post by: trinidad on September 24, 2017, 07:28:04 AM
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_argb_visual yes
own_window_type normal 
own_window_hints undecorated,above,sticky,skip_taskbar,skip_pager

Choosing "above" instead of below in own_window_hints will make conky always show on top of other windows as long as own_window_type is normal. I forgot my setup is not the same as default.

https://imgur.com/a/JLWtz

TC
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on September 24, 2017, 08:34:32 AM
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_argb_visual yes
own_window_type normal 
own_window_hints undecorated,above,sticky,skip_taskbar,skip_pager

Choosing "above" instead of below in own_window_hints will make conky always show on top of other windows as long as own_window_type is normal. I forgot my setup is not the same as default.

https://imgur.com/a/JLWtz

TC
Hi @trinidad
Thanks for sharing your useful tips, however, I'm using Gkrellm which seems to fit my needs. It shows a small window in which I can keep track on cpu temps behaviour, besides, I ran conky, open a terminal and typed "htop" to compare conky vs gkrellm on resources usage  and the difference is quite a thing; conky uses 3.3% while gkrellm uses 0.7%, so I'm sticking with gkrellm  ;D. Take a look at Gkrellm working https://imgur.com/a/meItl in the image gkrellm is the small window showing temps right above the taskbar ;)
Title: Re: CPU temp applet for the XFCE panel.
Post by: Moltke on December 20, 2017, 12:19:39 PM
@Moltke
You're almost there, click the "Mostrar" checkbox in the xfce-sensor preferences for the wanted sensors. They will show in the taskbar.
BTW, mine show 100c because I'm in a Virtual Machine. :-P

Cheers!
Didn't work. I checked "Mostrar" and close the window but it shows nothing. I have to open the window in order to see temps values :(

Hi @TheDead 

I finally made it!  ;D It took me quite a while but hey, better late than never lol. You were right all the time, I just couldn't get it cause I didn't undestand/know how to customize XFCE panel by then, and now that I do feel a little bit like a fool actually since it was so easy; install xfce4-sensors-plugin> right-click on the panel and select "add a new item" > select sensors plugin applet > right-click on the new sensors applet and select properties > check show boxes for sensors you want it to show > select font size and unselect show title, voila! Check it out!

(https://i.imgur.com/ubBL9Tw.png)

However, it does take some space in my already populated panel so now I don't know if keep it or not. ::) :P
Well, I can finally mark this thread as solved. Thank you all for the time and help :)