Commit Graph

439 Commits

Author SHA1 Message Date
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
Vasilii
c60527fe7c Merge pull request #169 from amivaleo/master
Added italian translation
2020-05-16 08:05:10 +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
Vasilii
758a5c55bd Merge pull request #168 from user501254/patch-1
Switch to `gnome-extensions prefs` on Gnome Shell 3.36
2020-05-03 09:44:18 +03: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
Vasilii
96fddd790c Merge pull request #158 from EUA/master
Added 2nd sensor and detection for nvme-cli.
2020-01-13 21:23:39 +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
Erdem U. Altinyurt
cab232cb4e Merge pull request #1 from UshakovVasilii/master
Sync with upstream
2020-01-10 03:40:07 +03:00
Vasilii
d1abae6ad9 Merge pull request #157 from jonasmalacofilho/remove-object-actor
Remove deprecated use of Actor.actor
2019-12-16 20:27:41 +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
UshakovVasilii
f83688a197 update gnome version 2019-09-29 10:59:43 +03:00
Vasilii
87a5d56036 Merge pull request #152 from jonasmalacofilho/construct-freon-item-through-register-class
Fix issues with GNOME 3.4
2019-09-27 15:45:41 +03:00
Jonas Malaco
b821805f2a Construct FreonItem through GObject.registerClass
GNOME/gjs@72062b5e03 ("object: Throw if constructing an unregistered
object inheriting from GObject") started to enforce proper GObject
inheritance through registerClass:

> When a class inherits from a GObject class, it must be always registered
> using GObject.registerClass, however gjs was accepting this silently [...]

Closes: #146 ("Broken on 3.34")
See also: [GNOME/gjs/doc/Mapping.md]

[GNOME/gjs/doc/Mapping.md]: 57ba268072/doc/Mapping.md
2019-09-26 16:58:34 -03:00
Vasilii
4def20a227 Merge pull request #151 from l3nn4rt/enable-at-index
Enable extension at the right index
2019-09-24 17:00:52 +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
Vasilii
c11c596715 Merge pull request #149 from l3nn4rt/fix-gschema
re-compile gschemas on every build
2019-09-23 16:38:45 +03:00
Vasilii
2469f3c47f Merge pull request #150 from l3nn4rt/panel-box-index
Panel box index
2019-09-23 16:37:57 +03: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
l3nn4rt
ac768a748c Add panel-box-index to preferences grid
It does nothing; it's placed next to the `position-in-panel` ComboBox
and binded to the settings gschema.

Note: gschema compilation needed.
2019-09-23 13:43:30 +02:00
l3nn4rt
81d2e97f7e Add a central column to the preferences grid
Shift all items in column 2 to column 3; column 2 is now empty, so there
is no visual change to the preferences window.

Note: gschema compilation needed.
2019-09-23 13:24:21 +02:00
l3nn4rt
1115b6a3e4 Do not track gschemas.compiled
Better to rebuild this every time
2019-09-23 12:48:46 +02:00
l3nn4rt
1e43e21011 Fix missing gschema compilation 2019-09-23 12:42:24 +02:00
Vasilii
88efb77d4f Merge pull request #145 from alex-volga/master
Added lines for translation that are missing.
2019-09-22 11:28:19 +03:00
Volha Alex
fbe95b3b4f Added lines for translation that are missing. Update ru and uk_UA translations. 2019-09-19 18:02:04 +03:00
Vasilii
0d411fab73 Merge pull request #140 from paulorichards/nvme
Added nvme support through nvme-cli
2019-07-24 13:57:23 +03:00
Paulo Richards
ef8c77c4e8 added nvme support through nvme-cli 2019-07-21 19:51:55 -04:00
Vasilii
c55abb74b8 Merge pull request #133 from iovxw/patch-1
fix regular expression syntax error
2019-05-23 14:29:34 +03:00
iovxw
a006cea782 fix regular expression syntax error 2019-05-23 18:05:28 +08:00
UshakovVasilii
e559cb3e4c fix for wrong lm_sensors error output #66 2019-05-17 14:04:14 +03:00
UshakovVasilii
e169842b3d fix for incorrect lm_sensors out #114 2019-05-17 07:53:45 +03:00
UshakovVasilii
fa73baec2a fix invalid lm_sendsors JSON format #114 2019-05-15 16:17:13 +03:00
UshakovVasilii
888ce3643e remove error from command output #114 2019-05-12 18:53:28 +03:00
UshakovVasilii
d5b37692d9 desplay menu if lm_sensors is not intstalled. fix #89 2019-04-04 08:11:09 +03:00
UshakovVasilii
985b5093d8 fix amdgpu fan and voltage for lm_sensors #130 2019-03-31 21:54:00 +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
Vasilii
fe7f6987eb Merge pull request #123 from jonasmalacofilho/fix-rounded-down-temps
Fix temperatures being rounded down instead of to the closest integer
2019-03-07 08:31:49 +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
Vasilii
88567ab5c2 Merge pull request #121 from jonasmalacofilho/fix-missing-sensors
Accept more than nine hwmon sensors of each type
2019-01-27 08:15:52 +01:00