Allow blank strings as sensor names
I would like to show all 4 CPU cores in my XFCE4 panel plugin, because in some instances some of them are running rather hot but often not all at the same time. To keep the panel display compact, I would like to really name only the combined sensor, assigning it "CPU". And I can remove the name for a session, but as soon as I restart the panel in some way, everything is back to being named "Core 0" to "Core 3".
The relevant part of the output of sensors is
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +57.0°C (high = +84.0°C, crit = +100.0°C)
Core 0: +54.0°C (high = +84.0°C, crit = +100.0°C)
Core 1: +49.0°C (high = +84.0°C, crit = +100.0°C)
Core 2: +46.0°C (high = +84.0°C, crit = +100.0°C)
Core 3: +43.0°C (high = +84.0°C, crit = +100.0°C)
I think the configuration file .config/xfce4/panel/xfce4-sensors-plugin-19.rc
is already correct:
[Chip0_Feature0]
Address=0
Name=CPU
Color=#00B000
Show=true
Min=20
Max=80
[Chip0_Feature1]
Address=1
Name=
Color=#00B000
Show=true
Min=20
Max=80
[Chip0_Feature2]
Address=2
Name=
Color=#00B000
Show=true
Min=20
Max=80
[...]
I already tried to add some other non-printable character in place of nothing, but that didn't work, either. It then displays a box with a hex code... (Actually, I already tried a backspace char U+0008 because I find that the distance between adjacent progress bars is wider with v1.4.x than it was with older versions, but that didn't work...)
This is all with the xfce4-sensors-plugin 1.4.3-1 package on Debian unstable.