[Pkg-xfce-devel] Bug#806465: xfce4-sensors-plugin: Please print temperature values without decimals
I like vertical panels, cramming multiple sensors in one place and so on.
Therefore I like to hide the temperature units to save screen space.
To get rid of the decimals as well I always patch the code like this and
rebuild the package:
@@ -655,7 +655,7 @@ sensors_set_text_panel_label (t_sensors
- tmpstring = g_strdup_printf("%s<span foreground=\"%s\" size=\"%s\">%.1f</span>", myLabelText,
+ tmpstring = g_strdup_printf("%s<span foreground=\"%s\" size=\"%s\">%.0f</span>", myLabelText,
//myLabelText = g_strconcat (myLabelText, tmpstring, NULL);
Would you please consider applying this or some similar patch to the official
This would spare me the inconvenience of rebuilding and holding the package.
I run several Intel platforms of different generations and none of them seems
to have sensors which report values with sub-degree accuary. So at least from
my point of view this decimal is pointless anyway.
Even if there are systems that report more accurate values I still doubt these
values would actually be meaningful, due to the sensor's placement within the
measured hardware components.