I recently had a bad experience with the app i2c-tools and had to purge it from my system and rescript the conky widget that got it's data from i2c-tools to use a different resource
Now I have learned that there is an i2c version built into mint by default, and it is referenced in the conky manual:
Code: Select all
i2c (dev) type n (factor offset)
I2C sensor from sysfs (Linux 2.6). Parameter dev may be omitted
if you have only one I2C device. Parameter type is either 'in'
or 'vol' meaning voltage; 'fan' meaning fan; 'temp' meaning tem‐
perature. Parameter n is number of the sensor. See
/sys/bus/i2c/devices/ on your local computer. The optional argu‐
ments 'factor' and 'offset' allow precalculation of the raw in‐
put, which is being modified as follows: 'input = input * factor
+ offset'. Note that they have to be given as decimal values
(i.e. contain at least one decimal place).
Can anyone help me with the usage of this conky command please?
Thanks for reading,
Logan