Commit Graph

85 Commits

Author SHA1 Message Date
Nicolas Frenay
f2c0c94d89 Add AMD PPT average power sensor (#249) 2022-11-09 11:18:02 +03:00
Sync1211
2dfe76624f * Fixed incorrect class name for nvidiabumblebee being used in _updateDisplay() (#238) 2022-05-16 17:00:26 +03:00
joickle
dab4b63c2e Add space to rpm (#231) 2022-04-08 16:06:19 +03:00
Thomas Debesse
f3afa64c8b prefs: revamp the preference window and make various providers selectable independently, ref #223 (#226) 2021-11-21 15:29:06 +03:00
Thomas Debesse
e4bc02da10 freeipmiUtil: implement IPMI reading using ipmi-sensors from FreeIPMI project (#220)
Also add an option tu use sudo non-interactively.
2021-11-20 09:27:18 +03:00
Vasilii
308dfb9fbe Revert "prefs: revamp the preference window and make various providers selectable independently, ref #223 (#224)" (#225)
This reverts commit a5488c23c3.
2021-11-20 09:27:08 +03:00
Thomas Debesse
a5488c23c3 prefs: revamp the preference window and make various providers selectable independently, ref #223 (#224) 2021-11-20 09:13:58 +03:00
Thomas Debesse
c66b63d92d bikeshedding: fix some indentation discrepancies (#222) 2021-11-18 17:03:05 +03:00
Thomas Debesse
65fd12d1c4 extension: only display liquidctl fan and voltage if related options are enabled (#219) 2021-11-18 14:19:26 +03:00
Thomas Debesse
e8848c2baa sensorsUtil: read drivetemp sensors as disk temperature sensors (#217) 2021-11-17 16:10:36 +03:00
Adam
a11b1ea1de fix average and temperature sensors (#214)
* fix average and temperature sensors

Get length except for any temp equal to 0

* fix average of temperature (liquidctl sensors)
2021-10-18 08:36:29 +03:00
Jonas Malaco
1730654c55 liquidctlUtil: add support for sensors from liquidctl (#202)
Requires liquidctl v1.7.0 or later, or a current git snapshot.
2021-07-20 13:01:50 +03:00
Ashesh Singh
a3eb96ff7c Left align Pop-up menu items (#205)
* Left align FeronItem

* Left align static Pop-up menu items
2021-05-27 12:12:56 +03:00
Valentin
626a79be6e remove redeclaration of _onDestroy() 2021-05-23 16:23:22 +03:00
ignapk
96af75371a use ClutterActor's expand/align properties
BoxLayout meta child (expand/align) properties have long been depracated and recently fully removed in gnome shell 3.37.2 (!1274), in favor of ClutterActor's ones.

Embrace the change to provide compatibility with upcoming gnome shell 3.38 release
2020-08-16 15:21:34 +02:00
Andrew Gaul
9240372a1c Exclude negative temperatures from average
These are unlikely to be valid and ruin the average.  I observed -263
degC for temp1 on an Intel NUC8.
2020-08-04 22:18:52 +09:00
hlechner
dc88f1bb01 add an option to hide/show the degrees celsius or degrees fahrenheit on panel 2020-07-20 20:32:14 -03:00
l3nn4rt
a9154daa64 Create styleshell.css
Add padding to panel labels if icons not shown
2020-06-17 17:44:10 +02:00
Arngren
d6a4cff1fd Changed the gpu and temperature symbolic icons 2020-05-28 12:49:59 +02:00
Ashesh Singh
93216cb920 Switch to gnome-extensions 2020-05-01 22:20:39 -05:00
Jonas Malaco
dbcd29a5a6 Remove deprecated use of Actor.actor
In Gnome 3.34 accessing <object>.actor results in a warning:

Usage of object.actor is deprecated for Freon_FreonMenuButton
get@resource:///org/gnome/shell/ui/environment.js:249:29
_init@[...]/freon@UshakovVasilii_Github.yahoo.com/extension.js:96:9
enable@[...]/freon@UshakovVasilii_Github.yahoo.com/extension.js:637:17
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:148:13
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:280:21
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:490:13
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:469:9
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:499:13
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:530:13
init@resource:///org/gnome/shell/ui/extensionSystem.js:48:9
_initializeUI@resource:///org/gnome/shell/ui/main.js:242:5
start@resource:///org/gnome/shell/ui/main.js:138:5
@<main>:1:31

The actor property is no longer needed, as Freon_FreonMenuButton already
is an Actor.

Additionally, we only support old Gnome versions on the Freon versions of the
same era, so we do not need to worry about backwards compatibility (see #153).

Reported-by: @49studebaker
Fixes: #156 ("JS WARNING: " [...])
Related: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487 ("this.actor = this removal")
2019-12-15 13:27:11 -03:00
l3nn4rt
387b7cbe23 Enable extension at the right index
Bug: enabling does spawn the extension at wrong index.

Fix: update the position when enabling.
2019-09-23 20:20:43 +02:00
l3nn4rt
39d844a324 Update extension position with panel-box-index
Let the user to chose where to place the extension button within each
panel box.
From the left (with default orientation, otherwise from the right) as:
- 0, first
- 1, second
- ...
- -1, last

Note: gschema compilation needed.
2019-09-23 14:21:00 +02:00
Paulo Richards
ef8c77c4e8 added nvme support through nvme-cli 2019-07-21 19:51:55 -04:00
UshakovVasilii
d5b37692d9 desplay menu if lm_sensors is not intstalled. fix #89 2019-04-04 08:11:09 +03:00
UshakovVasilii
98630647dd update for gnome-shell 3.32 #126 2019-03-20 22:11:27 +03:00
UshakovVasilii
6f9d334cef update for gnome-shell 3.32 #126 2019-03-20 10:28:11 +03:00
Vasilii
b08fce4ac8 Merge pull request #124 from jonasmalacofilho/visualize-stale-hot-sensors
Visualize hot (on panel) sensors that became stale
2019-03-07 08:33:12 +03:00
Jonas Malaco
470a8e6a78 Visualize hot (on panel) sensors that became stale
When a hwmon module was unloaded or crashed any sensors it had that were
also pinned to the panel (i.e. a 'hot sensor') retained the value
they had last, hiding the failure.

To fix that, this first clears all hot labels, replacing them with a
placeholder, before checking the new sensor data.  The placeholder
chosen is ⚠ (\u26a0 warning sign), after some experimentation with other
alternatives.

For consistency, the placeholder used on initialization is also
changed.
2019-03-02 17:35:08 -03:00
Jonas Malaco
dd635f2948 Fix temperatures being rounded down instead of to the closest integer 2019-03-02 10:10:41 -03:00
Erdem U. Altinyurt
8ecea4e639 Required changes for custom SmartCtl for NVME. 2019-01-06 18:53:16 +03:00
Andrew Toskin
94281931e7 Reword labels for the bottom buttons of the top bar menu
I think it makes sense to call it the Freon wiki rather than the GitHub
wiki, because code hosting could change, and this wiki is specifically
all about Freon. And I think adding the "Go to" phrase both clarifies
what the button does, and also sorta invites the user to actually click
on the button.

And as for "Sensors Settings", this might be a little nit-picky, but you
don't *usually* pluralize a noun when it's acting as a modifier on
another noun.
2018-11-18 13:50:52 -08:00
UshakovVasilii
405a0905e5 add link to WiKi #113 2018-11-18 10:14:34 +03:00
UshakovVasilii
9ecff76238 fix double voltages minus, resolve #110 2018-11-01 17:58:22 +03:00
Thomas Ingvarsson
1e75360300 [WIP] Add debug logging, fixes #103
To enable more debug logging without custom builds while still
maintaining a minimal syslog impact by default

- Add a settings variable 'debug', hidden from the user
- Use dconf to write/read it (suggest adding to the README and/or
  wiki). Only for debugging purposes really
- When 'debug' is set it will enable the possibility of extra logging
- The new 'debug' function also adds in some meta data such as unique
  syslog id instead of gnome-shell, file/func/line id to easier locate
  in code
- Changed the Render all MenuItems and a couple of outcommented
  updated logs to use the new debug function instead

Todo's before no longer WIP:
- Place it somewhere else than in this, cause I presume it wont be
reachable everywhere then
- Consider replacing regular log with something like this as well (to
gain the neat meta data (extension prefix, file, func, line))
- Think some more on the usage of log domains and if possible to turn
of more logging that way instead of dconf variable
2018-09-23 18:23:19 +02:00
UshakovVasilii
5f2569c186 fix gjs errors #98 2018-09-18 13:19:09 +03:00
UshakovVasilii
bf029d7eed update UI every 250ms if necessary, resolve #74 2018-01-20 08:26:50 +03:00
UshakovVasilii
c7a0aa9ec7 fix settings menu item 2017-12-07 09:43:50 +03:00
UshakovVasilii
68fe27d9f3 use average and max temperature as default #60 2017-12-07 09:18:16 +03:00
UshakovVasilii
51333f7151 use system keys for lcale depend sensors, resolve #77 2017-12-07 08:52:13 +03:00
UshakovVasilii
8d5fca31e1 do not update sensors in background #74 2017-12-03 11:54:34 +03:00
UshakovVasilii
9116d624be destroy label after link cleanup for prevert set_label on not exist actor fix #71 2017-11-22 16:42:19 +03:00
UshakovVasilii
f9756b2430 fix undefined property warning 2017-06-13 09:14:52 +03:00
UshakovVasilii
2dbddc7d85 fix status label for gnome 3.18 2015-10-09 10:12:23 +03:00
UshakovVasilii
5378922d2d fill display name if label is different only 2015-05-05 10:01:04 +03:00
UshakovVasilii
c1ae9ce317 fix same name problem 2015-05-05 09:37:49 +03:00
Vasilii
7425f71fc4 Merge pull request #9 from aromanos/master
Handle sensors of radeon & nouveau drivers as GPUs
2015-05-04 14:05:29 +03:00
aromanos
a15349b29c Handle sensors of radeon & nouveau drivers as GPUs 2015-05-01 19:01:11 +02:00
UshakovVasilii
6b01b4bf82 rid full rerander with grouping and temperature sensors count less 3, fix #8 2015-05-01 15:48:14 +03:00
UshakovVasilii
4cd7302da4 fix total sensor count detection, close #6 2015-04-17 14:18:12 +03:00