Help needed getting SSD temperature displayed

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Help needed getting SSD temperature displayed

Post by trytip »

how many drives do you have? my conky code involves a bit of hacking and is for the old conky. hope it works for you?
sudo hddtemp /dev/sd[a-e] <<< temperatures of a bunch of drivers at once
sudo hddtemp /dev/sda temperature of one drive
but in the code you need one line per drive since it does use the cut feature and all drives have different names and different characters
the code for conky is : ${execi 300 sudo hddtemp /dev/sda | cut -c24-25}° this will get temperature and cut it to commit everything except the temperature but now you have to figure out where the cut should be

IMPORTANT: you will need to give special rights to allow the use of hddtemp with no password
%users ALL=NOPASSWD: /usr/sbin/hddtemp <<< etc/sudoers/ ADD
Image
Locked

Return to “Compiz, Conky, Docks & Widgets”