psensor not showing sensor data in label in Xubuntu 18.04
Solution 1:
Consider trying the xfce4-sensors-plugin
. It can be installed via xfce4-goodies
package. That may better suit your needs. From Terminal Emulator:
sudo apt install xfce4-goodies
Note It may be necessary to logout/login for Xfce Desktop to be updated.
After installation complete. Right click on Panel. From the menu select: Panel > + Add New Items. In Add New Items dialog: search or scroll to "Sensor plugin".
Click to highlight "Sensor Plugin". Left click "+Add" to add to Panel.
Right click newly added "Sensors" plugin, select "Properties" to configure to your needs.
Potential Security issue
Upon adding the plugin to the Panel a popup "Hddtemp Information" appears.
It explains and offers a "dirty" suggestion to use the hddtemp
executable file.
from Terminal Emulator:
sudo chmod u+s /usr/sbin/hddtemp
What that does is enable the setuid bit on the file. Giving any user that uses that file the same privileges as the "Owner" of that file (in this case root). Basically like using the sudo
command. Potentially allowing users access to other "Owner" files through use of the executable.
For a typical user this may be a non-issue. For others it might be a serious concern.
If this is a well designed program this will not be an issue. I am not the developer of this application so I do not claim to know any of the details of this. This an Xfce plugin, so feel free to contact the Xfce developers or have a look through the code your self if you have any concerns.
docs.xfce.org