expose the ability to hide the temperature units of the sensors #22

Open
sunweaver opened this Issue Mar 9, 2015 · 3 comments

Projects

None yet

4 participants

@sunweaver
Member
sunweaver commented Mar 9, 2015 edited

A feature request from a Debian user (DebianBug#778756):

Could you please expose the ability to hide the temperature units of the
sensors in the applet? This would help a lot for those that have limited
space on their screens.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9347354-expose-the-ability-to-hide-the-temperature-units-of-the-sensors?utm_campaign=plugin&utm_content=tracker%2F1631700&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1631700&utm_medium=issues&utm_source=github).
@sc0w
sc0w commented Jul 12, 2016 edited

https://github.com/mate-desktop/mate-sensors-applet/blob/master/sensors-applet/active-sensor.c#L589

I can't find the gsettings key, where is it?

If I set the var hide_units to true on active-sensor.c, it works

I think it is a good idea to put a checkbox on preferences

@raveit65
Member

I don't think there is a gsettings key for it, btw. i didn't find them.

@sc0w
sc0w commented Jul 13, 2016

I saw this:

http://wiki.mate-desktop.org/docs:mate-sensors-applet

Hide Units

The units for sensor values can also be hidden if desired by setting the boolean value /apps/sensors-applet/hide-units within the user's MateConf database. This can be achieved by the following command, where the value is specified as either true or false and is specified as the last parameter. In this case is the units will be hidden (the value is set to true):

mateconftool-2 -s /apps/sensors-applet/hide-units -t bool true

These values can also be set using the Configuration Editor.

mate-sensors-applet was migrated to gsettings with this commit: fbb7e89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment