Bug 431552

Summary: Ability to give custom names to sensors
Product: [Plasma] plasmashell Reporter: Frank Steinmetzger <dev+kde>
Component: System MonitorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: ahiemstra, bugseforuns, nate, notmart
Priority: NOR    
Version: 5.20.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.23
Sentry Crash Report:
Attachments: My current setup of temperature sensors

Description Frank Steinmetzger 2021-01-13 16:53:39 UTC
Created attachment 134809 [details]
My current setup of temperature sensors

Dear devs,

It would be great if a sensor can be given a customised name.

My rationale: I set up a temperature graph which monitors my CPU, mainboard and GPU. However, the names of the sensors are rather generic and non-speaking, some are even the same between several devices (see screenshot).

The cleanest solution currently would be to have a separate widget per device, but this would nullify the cool stacking feature of the line graph.

Thanks
Comment 1 Bug Janitor Service 2021-07-08 10:14:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/174
Comment 2 David Redondo 2021-07-21 12:08:42 UTC
Git commit 5ce5e7e8456d4a3b456df8c0d5e6ff72d049eb00 by David Redondo.
Committed on 09/07/2021 at 12:44.
Pushed by davidre into branch 'master'.

Allow renaming of sensors

Users can now change the displayed name of sensors on a per face basis.
Saving/loading works the same as the sensor colors.
Resetting of the labels can be done by setting an empty label.
Related: bug 429157, bug 433950, bug 391500
FIXED-IN:5.23

M  +92   -31   faces/Choices.qml
M  +24   -0    faces/ConfigSensors.qml
M  +32   -0    faces/SensorFaceController.cpp
M  +10   -0    faces/SensorFaceController.h
M  +1    -0    faces/SensorFaceController_p.h
M  +1    -0    faces/facepackages/barchart/contents/ui/BarChart.qml
M  +3    -3    faces/facepackages/horizontalbars/contents/ui/FullRepresentation.qml
M  +1    -0    faces/facepackages/linechart/contents/ui/LineChart.qml
M  +1    -0    faces/facepackages/piechart/contents/ui/PieChart.qml
M  +2    -2    faces/facepackages/piechart/contents/ui/UsedTotalDisplay.qml
M  +1    -0    faces/facepackages/textonly/contents/ui/CompactRepresentation.qml
M  +1    -0    faces/facepackages/textonly/contents/ui/FullRepresentation.qml
M  +3    -2    faces/facepackages/textonly/contents/ui/GroupedText.qml
M  +2    -2    faces/import/ExtendedLegend.qml
M  +24   -2    sensors/SensorDataModel.cpp
M  +10   -0    sensors/SensorDataModel.h

https://invent.kde.org/plasma/libksysguard/commit/5ce5e7e8456d4a3b456df8c0d5e6ff72d049eb00