Commit Graph

202 Commits

Author SHA1 Message Date
UshakovVasilii
4aafc9f670 remove po folder 2022-03-27 20:00:10 +03:00
KuroeHanako
05c7aa96d8 Add Korean Translation (#229) 2022-02-22 17:19:40 +03:00
Shem Pasamba
010c363d9b Add 42 since it works there too (#228) 2022-02-05 12:26:11 +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
dbf90c6145 smartctlUtil: do not reference error when not failing, do not return empty data if none (#221)
The `smartctl -j --scan` command may not fail and list drives properly
while `smartctl -j --info /dev/sda` may fail because of missing
permissions.

This error was making the extension on fail entirely when smartctl
was selected as a disk temperature sensor provider while the
user does not have enogh permission to do so.

Also makes sure smartctl can be properly called if path contains
a whitespace.
2021-11-18 17:02:41 +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
Jonas Malaco
84021045ee sensorsUtil: read nvme sensors as disk temperature sensors (#218)
Extend e8848c2baa ("sensorsUtil: read drivetemp sensors as disk
temperature sensors (#217)") to also identify NVMe temperature sensors.
2021-11-18 07:54:34 +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
UshakovVasilii
3c3d01a54a add shell version 41 2021-09-30 09:22:38 +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
Vasilii
89b6f71528 Merge pull request #204 from ashessin/patch-1
Ease GNOME shell version in metadata.json
2021-05-25 06:26:57 +03:00
Ashesh Singh
5e42baea87 Update metadata.json 2021-05-23 18:02:15 -05:00
Valentin
626a79be6e remove redeclaration of _onDestroy() 2021-05-23 16:23:22 +03:00
Jonas Malaco
824282e0d6 sensorsUtil: prevent re-parsing of the JSON output 2021-04-28 06:38:29 -03:00
Jonas Malaco
cb33301cc7 commandLineUtil: toggle _updated after the callback returns
The callback can be used to process the received data a single time, and
in that case this._updated should only be toggled after the callback has
completed, since other methods may depend on its side effects.

In other scenarios the order does not matter (either way).
2021-04-28 06:38:29 -03:00
Andy Holmes
e37b6c6c6e commandLineUtil: refactor to use GSubprocess
This means doing all IO in a background thread, rather than popping
lines synchronously off a pipe.
2021-04-25 21:49:36 -07:00
Audrey Toskin
e29ce35aae More consistent .mo file names
Every other compiled locale file uses the name "freon.mo" under the
relevant language-specific directory, so Turkish should too.
2021-04-20 10:52:21 -07:00
brianegan
8e24564722 Update to Gnome Forty 2021-04-01 14:14:05 +02:00
Heimen Stoffels
ef8614ab3a Added Dutch translation 2020-11-01 14:13:56 +01:00
Muha Aliss
3ba5d03f90 Turkish translations added 2020-10-29 16:24:11 +03:00
Michael Ott
3029f4f7b8 fix "Error meta is null on Gnome 3.38" 2020-10-08 20:22:49 +02:00
UshakovVasilii
6b8d1693dd fix metadata 2020-10-03 13:40:26 +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
Vasilii
c6d5c57490 Merge pull request #179 from hlechner/hide-degrees-option
add an option to hide/show the degrees celsius or degrees fahrenheit on panel
2020-07-28 08:54:01 +03: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
uno20001
a9422c8741 update Hungarian translation, create mo file 2020-07-17 18:16:00 +02:00
l3nn4rt
a9154daa64 Create styleshell.css
Add padding to panel labels if icons not shown
2020-06-17 17:44:10 +02:00
Vasilii
de00783c89 Merge pull request #172 from FrithjofArngren/master
Change the gpu and temperature symbolic icons
2020-06-03 15:59:00 +03:00
Bowie Chen
144498ac0b Updated zh_TW localization 2020-05-31 11:53:53 -07:00
Arngren
d6a4cff1fd Changed the gpu and temperature symbolic icons 2020-05-28 12:49:59 +02:00
Vasilii
3a88a99dcc Merge pull request #170 from uno20001/hungarian_translation
Hungarian translation
2020-05-16 08:05:19 +03:00
uno20001
2389a3aedb Hungarian translation 2020-05-12 14:15:38 +02:00
Jimmy
3faacb55bb Delete a.dat 2020-05-12 12:03:46 +02:00
Jimmy
7fd46cc244 Added italian translation 2020-05-12 12:03:18 +02:00
Jimmy
cfcc27d7df Create a.dat 2020-05-12 12:02:38 +02:00
Jimmy
76955ca501 Added italian translation 2020-05-12 12:01:58 +02:00
Ashesh Singh
fa474d0d4e Update gnome version 2020-05-01 22:23:05 -05:00
Ashesh Singh
93216cb920 Switch to gnome-extensions 2020-05-01 22:20:39 -05:00
Vasilii
ae99cc74c4 Merge pull request #162 from jonasmalacofilho/optimize-nvidia-temps
Switch to nvidia-smi to reduce CPU load when fetching GPU temperatures
2020-02-26 07:43:40 +03:00
Jonas Malaco
4833a2e190 Switch to nvidia-smi to reduce CPU load when fetching GPU temperatures
At least on one Intel systems (i7-8700K/delidded/watercooled) the
display of the GPU temperature of NVIDIA cards caused perceptible spikes
in CPU utilization, frequency and temperature of individual cores.

This was eventually tracked down to nvidia-settings being substantially
slower and, more importantly, computationally intensive than nvidia-smi.

Switch the nvidiaUtil implementation to use nvidia-smi.  In the process,
simplify the label parsing and label vs. temperature code because
nvidia-smi allows us greater control over the output.
2020-02-21 10:03:49 -03:00
Erdem U. Altinyurt
b6e56f0f4a Rewriten smartctl for all devices, (using nvmeUtil as a template). 2020-01-10 03:52:48 +03:00
Erdem U. Altinyurt
98b787e44f Added 2nd sensor and detection for nvme-cli. 2020-01-10 03:41:42 +03: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