Giter Club home page Giter Club logo

vitals's Introduction

Hi there ๐Ÿ‘‹

vitals's People

Contributors

abdilra7eem avatar adrianbroher avatar alex-volga avatar alsoijw avatar amivaleo avatar ansonantony avatar arastais avatar bobby1030 avatar coadmunkee avatar corecoding avatar daudix avatar farsx avatar fjsevilla-dev avatar gweebg avatar isdipesh avatar jakubzet avatar jose1711 avatar junquera avatar lev741 avatar mejans avatar nokse22 avatar pkomur avatar polter-rnd avatar unsolvedcypher avatar ushakovvasilii avatar vistaus avatar w-flo avatar warmsun0220 avatar wsxy162 avatar yomama78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vitals's Issues

Fixed widths (No jumping)

How can I make the widget have a fixed width, either entirely or for each information displayed? When displaying the network upload/download, values change often and move the widgets on the top bar, creating an unwanted visual effect.

Wanted monitoring(s) not appearing in the Tray

While I enabled a couple of monitorings to be active, only two are visible in the tray bar.

I can see all the active ones and their sensor readings all fine in dropdown menu, but not in tray bar.

Here is a screenshot to analyze:
screenshot from 2018-12-22 22-10-48

Icon to Text Spacing / Padding

Either icon sizes are different, or text between icon spacing should be user-configurable.

When enabling either Memory, Processor, System, or Network icon indicators, the spacing is too close between the icon and the text. The values are almost touching the icon.

Temperature has perfect spacing, Storage is slightly off, but not as bad as the aforementioned.

JS-ERROR when opening settings

JS ERROR: Error: Wrong type undefined; object GtkWidget expected
                                                       buildPrefsWidget/<@/usr/share/gnome-shell/extensions/[email protected]/prefs.js:123:9
                                                       main@resource:///org/gnome/shell/extensionPrefs/main.js:633:5
                                                       @<main>:1:43

Object.value and String.includes is not a function

This extension fails in Gnome 3.22.2 because Object.value and String.includes is missing.

If this helps to other, using some polyfill here and there, like:

if (!String.prototype.includes) {
  String.prototype.includes = function(search, start) {
    'use strict';
    if (typeof start !== 'number') {
      start = 0;
    }
    
    if (start + search.length > this.length) {
      return false;
    } else {
      return this.indexOf(search, start) !== -1;
    }
  };
}

and

if (!Object.values) Object.values = o=>Object.keys(o).map(k=>o[k]);

I can run the extension.

Small appreciable changes

It would be very nice if you could choose what to display on the bar

Example CPU Temperature and Fan

So you can always keep an eye on them.

Single Panel Icon

Hi there,

Could you please change the default three dots icon (...) to something relevant to sensors or monitoring?
i think a tiny ECG of a heart beat is nice

Storage is not displayed

Hello, I would like to say that the extension is great, the best I've seen for monitoring.
However, something special happens to me, storage is not displayed.
Does anyone know why this happens? Thank you.

image

Default info config

It would be nice to configure the default info shown in the panel. For example, show network speed and I could eliminate NetSpeed extension.

Please add indicator spacing

The default no-spacing indicator is somewhat too compact
image
Expecially when adding public ip address, the top bar seems really messy

Thanks for your work :)

[Feature Request] Second Fan Monitor

i have a Dell 7559 which have two integrated fans. your extension only show one fan.
Screenshot from 2019-05-15 03-49-08
on the other side lm-sensors shows both fans and other extensions on gnome also shows both fans in there extensions.
Screenshot from 2019-05-15 03-52-44

please add both fans monitor system.

Missing Mhz Text in Arch Linux

Hello, I noticed that on Arch Linux the Mhz text does not appear, is it required to install any particular font ? I have a manjaro system with the same extension and it is working perfectly, just wondering if I am missing anything.

Thank you for your time.

image

General icon on the panel

Hi,

Is there a way to show only a general icon the on the panel instead of having labels/refreshing numbers/etc?
I would like to have only a system-monitor icon on the top panel, without any additional info (meaning: no numbers).

Is this something you would like to code/to have as a feature? :)

Me is null error

Hello,
I'm running under Ubuntu 18.04 and when I install your Gnome extension, it works perfectly.
But when I open a new Gnome shell session, Vitals do not work anymore.
Into the Gnome console (Alt-F2 + 'lg') the following error appears for this extension : Me is null
When I uninstall and re-install the extension it works again until I quit my session and re-login.

Extension misbehaving when calling gnome-shell --restart

This extension doesn't behave well when using gnome-shell --replace

Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
                                                    _queryNetwork@/usr/share/gnome-shell/extensions/[email protected]/sensors.js:301:17
                                                    wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                    query@/usr/share/gnome-shell/extensions/[email protected]/sensors.js:83:17
                                                    wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                    _querySensors@/usr/share/gnome-shell/extensions/[email protected]/extension.js:430:9
                                                    wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                    _initializeTimer@/usr/share/gnome-shell/extensions/[email protected]/extension.js:172:9
                                                    wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                    _init@/usr/share/gnome-shell/extensions/[email protected]/extension.js:87:9
                                                    wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                    enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:475:18
                                                    _enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:132:9
                                                    loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:178:17
                                                    _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:312:50
                                                    _loadExtension@resource:///org/gnome/shell/misc/extensionUtils.js:244:5
                                                    scanExtensions/<@resource:///org/gnome/shell/misc/extensionUtils.js:250:9
                                                    collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:25:17
                                                    scanExtensions@resource:///org/gnome/shell/misc/extensionUtils.js:249:5
                                                    _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:312:5
                                                    _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:340:13
                                                    init@resource:///org/gnome/shell/ui/extensionSystem.js:355:5
                                                    _initializeUI@resource:///org/gnome/shell/ui/main.js:215:5
                                                    start@resource:///org/gnome/shell/ui/main.js:124:5
                                                    @<main>:1:31

and it spams a lot of

Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.

Hide top bar icons

Hello.
With many extension loaded on the panel it starts to run out of space. It would be helpful if there was an option to hide the icons from the panel. For example, I use this extension to watch my CPU temperature, so a simple "50ยฐC" is enough for me. The thermometer icon does not give me any more information.

Thanks.

Only update when opened/clicked

Hi, thanks for the great extension! For decreasing power consumption, I would like to suggest a setting where the values are updated only when the user clicks the panel icon. I don't display any of the sensors on the panel, so being able to quickly see the system vitals in the menu without needlessly updating every second would be helpful.

How to select specific sensors for GNOME panel?

Fantastic extension, thank you so much. How does one select which sensors appear in the top panel? It has RAM and voltage by default, how does one change this? There doesn't appear to be an option in the settings.

Centos 7 corrupted after install (help wanted)

Please I need some help. After trying to Restart GNOME Shell (Alt+F2, r, Enter) my system is corrupted and I get a black screen with cursor after Starting Gnome Display Manager. Can you please help me fix it? Thank you.

Public IP toggle

Add separate toggle to include public IP address per panthaloon

Not getting fan speed

Running Ubuntu 18.04 w/ Gnome 3.28.2 (ubuntu prepackaged version) on a macbook pro 8,1 (13inch Early 2011)

Vitals is not display fan speed in either drop down and clicking on "fan" does nothing.

the package "psensor" and term-command "sensors" are returning the exhaust fan RPM value. Other sensors to be working/displaying beautifully.

When I run "PSensor" it gives me a response for the actual sensor being used, which pretty much matches with term-command "sensors":
lmsensor applesmc-isa-0300 exhaust

Let me know if I am posting in the wrong spot or of any more information needed
screenshot from 2018-09-06 19-16-43
screenshot from 2018-09-06 19-21-26

How to localize this extension?

Hi!
I saw that you have a "po" folder with two different pot files.
I've been localizing other extensions and I'd like to localize this extension too, in my native language (italian). Where to put the files and which names should I use?

Thanks. :)

Warning at start start on gnome-shell 3.30

Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array). (Note that array.toString() may have been called implicitly.) 0 File.prototype.read/</<() ["/home/terence/.local/share/gnome-shell/extensions/[email protected]/helpers/file.js":21]

Request: 1. Max temp 2. Public ipv6 support 3. location for ipv4 (Nat. flag or short USA/GB/CA ..)

You guys did an awsome job there. Finally an extension that works properly. Thanks for that one!

I would like to pull a request. Or in that case three requests:

  1. An option for the Maximal temperature detected by any sensors would be awsome.
    The average option is great, but sometimes a blocked fan can go up in temperature without
    noticing it and having all sensors listed doesn't fit in my task bar.
    So getting the highest temperature would be awsome and all out of one extension. Yours! :-)

  2. Since I travel a lot with my IP (vpn/ssh tunnel/proxy) it would be awsome
    to be able to select from different servers like in the public ip extension
    because some servers reply the ip v4 and some the ipv6 so i have to run
    the IP Finder extension too where the development stopped to see both, the ipv4 and the ipv6
    (https://extensions.gnome.org/extension/1677/public-ip/)
    Screenshot from 2019-06-02 14-56-07

  3. In that favor it would also be cool to get a location indicator like a US-flag or the letters USA or CA or a flag or both to select additionally to the ipv4 and the ipv6 addresses just to get proof
    the vpn is connected to the chosen country wihout curling the location in an extra step.

  4. It would be great to have also a local network ip indicator like 192.168.0.8 shown in the bar
    too for administrative reasons.

I am just learning some c++ and am actually not able to include my requests in the extension myself but would do the work myself when I developed the skills to do that.
It would be great just to have one extension to get it all not 4 or 5 that may or may not work properly. I actually don't know how difficult it would bee to add all that points - but even one or two of them would be great.
That being said: Thanks in advance guys - keep up with that good work - i really appreciate it!

hide empty groups

currently empty groups show up in the menu, with a expander arrow which actually does nothing. see the second and third item in this example:

image

it would be nice if those are just completely left out since there is no information.

Hide metric

Selecting a metric that has a tick doesn't hide it from the panel. Is there a different workflow for that?
Workaround for now: disable -> enable extension and enable wanted metrics to be shown on panel

Thresholds, Alarms and Colors

Could you perhaps add an option to set thresholds for certain values so that they come up in the panel only when they reach a set value first, and perhaps turn red or flash when a set extreme is reached?

EXAMPLE: don't display the CPU temp (or display the little icon only, so we're able to click on it to access the drop down), start to display the temp if it reaches 50degrees, turn red if reaches 75degrees. (perhaps flash if it reaches 90degrees)... Same for CPU, Memory, etc...

But as the first step, even hiding all below certain values would be nice already. This would keep the panel nice and tidy when all is alright with the system while functionality would be preserved.

Thank you, great extension btw.!

Add ping to Network section

You could configure what address to ping and it would report the time it took to get a pong and display a red exclamation point if it fails.

nvidia support?

It would be cool to add metrics from nvidia-smi to the tool

Hiding buttons in the extension window

Hi,

I would like not to have have buttons on the bottom (refresh, system-monitor, settings).
Will you add a toggle in the setting menu for hiding them?
In the extension.js file, I only need to comment the following two lines:

//        this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
//        this.menu.addMenuItem(item);

I don't know how to insert the toggle. :(

Let me know if you like this idea.

Customize labels

The ability to change labels for items that get their info from lm-sensors so I don't see in my case for example nct6793 fan1, fan 2 etc... or under Voltage nct6793 in0, in1 etc... I know what they are from my lm-sensors custom config but the ability to change them would be nice.

Or maybe it's already possible and I just don't know how.
Thanks anyway for your extension.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.