Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-04-09 19:31:08

wisemagic
Member
From: Louisiana U.S.A.
Registered: 2011-09-17
Posts: 37
Website

Sensors applet and HDDTemp

Running/testing Manjaro Xfce.
It’s showing as Xfce 4.13

The Sensors applet no longer shows Hddtemp, although it is installed and works fine in the terminal.

Anyone had this issue or know of a fix?

Last edited by wisemagic (2019-04-10 00:29:34)

Offline

#2 2019-04-09 22:52:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Sensors applet and HDDTemp

hddtemp requires root privileges to run. The panel applet runs under your user account and doesn't have access. A dirty hack is to setuid via:

sudo chmod u+s /usr/bin/hddtemp

This will allow the sensor plugin then to access hddtemp. Note that depending on how security conscious you are, this is a potential security risk due to privilege escalation.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-04-10 00:12:33

wisemagic
Member
From: Louisiana U.S.A.
Registered: 2011-09-17
Posts: 37
Website

Re: Sensors applet and HDDTemp

Yes, I have done that. It has no effect on the issue.

Offline

#4 2019-04-10 00:30:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Sensors applet and HDDTemp

Hmmm. What version of the xfce4-sensors-plugin do you have installed? If you run the "Sensor Viewer" app, does it show you hard drive temperature?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2019-04-10 00:43:10

wisemagic
Member
From: Louisiana U.S.A.
Registered: 2011-09-17
Posts: 37
Website

Re: Sensors applet and HDDTemp

Arch Linux

xfce4-sensors-plugin 1.3.92-1

https://www.archlinux.org/packages/extr … rs-plugin/


The "Sensor Viewer" app doesn't have a hard drive entry to select from.

Offline

#6 2019-04-10 01:13:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Sensors applet and HDDTemp

Did you start the hddtemp service?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2019-04-10 01:45:28

wisemagic
Member
From: Louisiana U.S.A.
Registered: 2011-09-17
Posts: 37
Website

Re: Sensors applet and HDDTemp

Thanks,

No, the service wasn't running. That is part of the problem. I'll get it corrected and load at boot.

The other part of the problem is that I have 2 drives, and only one is showing. I'll work on it.

Thanks for pointing me in the right direction smile

Offline

#8 2019-04-10 02:16:48

wisemagic
Member
From: Louisiana U.S.A.
Registered: 2011-09-17
Posts: 37
Website

Re: Sensors applet and HDDTemp

Thanks ToZ,

Service is loading at boot and showing both hard drives now smile

The original hddtemp.service  was

[Unit]
Description=Hard drive temperature monitor daemon

[Service]
ExecStart=/usr/bin/hddtemp -dF /dev/sda

[Install]
WantedBy=multi-user.target

I changed

ExecStart=/usr/bin/hddtemp -dF /dev/sda

to

ExecStart=/usr/bin/hddtemp -dF /dev/sda /dev/sdb

and enabled the service at boot.

Solved the problem smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 558.17 KiB (Peak: 559.02 KiB) ]