Conky! (Specifically, getting it to work on the F13-AMD)

Hi all

One’s not at home on one’s computer until one has one’s Conky running! (Well, one’s Linux computer. If one uses Conky. And for Windows, there’s Rainmeter.)

I’ve some questions, but, first, a present: useful for Conky is the ‘kruler’ programme, available in various repositories. (It’s in Mint’s / Ubuntu’s, anyway. And one needn’t be running Plasma.)

The questions (but we could use the thread for other conky-ology too)

  1. Where’s the file for the battery on the AMD F-13? (I don’t try to use Conky directly for this. Rather, I have a lua script that feeds into conky. But the script needs to know where to look.)

  2. Where’s the file for the brightness? (Again, I use a lua script).

EDIT: also, 3) CPU temperature? (I have been using Conky directly for this, but on the F13-AMD I might have to use a script.)

I’ve worked out how to read the battery. Indeed I just used my old way; it was just that, on the new install on the F13, I had to install some packages, those packages being, I think (and on Linux Mint), acpi and acpi-call-dkms. I’d post my code - it’s a lua script - but I don’t yet have my F13 loaded with my passwords database, or connected to my other computers (and I type this on a different computer) so doing that right now is a pain. EDIT: and within Conky itself, one wants ${battery BAT1}.

EDIT: I’ve worked out how to read the brightness too. I think one needs the same packages, and the path is: /sys/class/backlight/amdgpu_bl1/actual_brightness. To to a percentage, multiply that value by (100 / 255).

On reading CPU temperature, see here (which contains the meat of a work-around and also tracks progress towards Conky being able to read the temperature natively).