isDipesh / gnome-shell-extension-sensors

Gnome shell extension: Shows CPU temperature, HDD temperature, voltage and fan RPM
https://motorscript.com/gnome-shell-extension-sensors/
161 stars 153 forks source link

hddtemp running as daemon #43

Closed farsx closed 11 years ago

farsx commented 11 years ago

Hello, I made a small patch to detect if hddtemp is running as daemon and if so it detects listening TCP port and gets data using nc. I implemented it as another option for hddtemp detection without changing the code but in the future we could use just one.

The problem with the direct call of hddtemp binary is that it needs root permissions to access disk devices (at least on Debian).

isDipesh commented 11 years ago

Thanks, pulled in!