https://bugs.kde.org/show_bug.cgi?id=394130

            Bug ID: 394130
           Summary: Minimum/maximum values for custom command sensors do
                    not work
           Product: ksysguard
           Version: 5.12.5
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: frederick...@tsundere.moe
  Target Milestone: ---

Created attachment 112578
  --> https://bugs.kde.org/attachment.cgi?id=112578&action=edit
nvidia sensor script

I'm trying to improve
https://gist.github.com/frantic1048/41f56fd6328fa83ce6ad5acb3a4c0336 so that it
can show minimum/maximum values and units in Ksysguard.

According to https://techbase.kde.org/Development/Tutorials/Sensors, the info
command should have the format of `Display Name of the sensor TAB minimum value
TAB maximum value TAB units NEWLINE` so I tried modifying the memory line to
`print "gpu_memory\t0\t$totalMemory\tinteger\n";`

But this simply makes it disappear from Ksysguard.

How to correctly set minimum/maximum values of a sensor? And what are the
available "units" (I'd like to show "MiB" for GPU memory and °C for
temperatures)?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to