Giter VIP home page Giter VIP logo

harddiskled's People

Contributors

apienk avatar biji avatar dsommers avatar jssotomdz avatar laurento avatar remulocosta avatar smcv avatar totto16 avatar

Stargazers

 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

harddiskled's Issues

Does not appear to work under Fedora 25

Hi. I installed this extension, but when, for example, showing the contents of my NAS which contains a lot of data, the bytes count remained 0.
Cheers ... Ruud

Add support for GNOME 46

Fails with the following error in Gnome 46.0.

Mar 21 18:32:56 linux gnome-shell[22033]: Extension [email protected]: TypeError: this.layoutManager.add is not a function

       Stack trace:
	 enable@file:///home/sid/.local/share/gnome-shell/extensions/[email protected]/extension.js:222:28
	 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38
	 loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:478:32
	 async*reloadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:526:20
	 async*_onVersionValidationChanged@resource:///org/gnome/shell/ui/extensionSystem.js:672:24
	 async*_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:740:18
	 @resource:///org/gnome/shell/ui/init.js:21:20

Gnome 46 upgrade reference:

https://gjs.guide/extensions/upgrading/gnome-shell-46.html

Release 19 seems to self-identify as version 17

The hard disk led version 19 release contains the following in it metadata.json file:
"""
"version": 17
"""
Not sure if that's intentional but thought I'd report it so that it could be fixed in a future release if it's indeed a mistake (which it seems to be).

[feature request] Option to hide the HDD icon

I have a small 13" laptop, with a quite cluttered panel. This extension can be quite large, would it be possible to add an option to hide the HDD icon ? I'd like to have just the blinking green dot, nothing else.

machine with multiple disks

Is the extension supported with multiple disks ? I don't think so because then there'd be multiple HDD indicators.

Can you make the block device, that you read from /proc/diskstats, to be configurable ?
Also, can you add support for reporting for multiple block devices ?

There are many use cases.

  1. BTRFS volume with multiple block devices
  2. LVM with multiple block devices
  3. RAID with multiple block devices.
  4. Above 3 stacked together.
  5. Ram block devices
  6. Many more use cases.

So, easiest would be if you could add some UI to let the user feed in the block device(s).

rrs@learner:/tmp$ cat /proc/diskstats 
   8       0 sda 23511 437 383717 162066 2349 321156 2586618 476146 0 58643 638190
   8       1 sda1 130 0 8560 173 0 0 0 0 0 146 173
   8       2 sda2 294 432 13025 590 2 0 2 0 0 236 590
   8       3 sda3 126 0 8528 160 0 0 0 0 0 133 160
   8       4 sda4 122 0 8496 156 0 0 0 0 0 126 156
   8       5 sda5 211 0 16669 433 0 0 0 0 0 380 433
   8       6 sda6 182 0 11282 293 7 1 64 6 0 210 300
   8       7 sda7 22348 5 312861 160043 2164 321155 2586552 473430 0 55616 633450
   8      16 sdb 177329 1327 10311435 207976 73864 56649 2610248 71246 0 65936 279173
 179       0 mmcblk0 551 112 20088 1303 0 0 0 0 0 743 1303
 179       1 mmcblk0p1 248 112 3268 450 0 0 0 0 0 300 450
 179       2 mmcblk0p2 246 0 12652 653 0 0 0 0 0 423 653
 254       0 dm-0 178534 0 10310562 235283 122632 0 2610248 585903 0 72800 821416
 254       1 dm-1 22298 0 311970 161733 323415 0 2586552 912315770 0 56876 912477640
 254       2 dm-2 238 0 10816 180 322953 0 2583592 912312993 0 17203 912313220
 254       3 dm-3 21939 0 300186 161476 450 0 2960 3120 0 39700 164600
   7       0 loop0 81 0 2352 33 0 0 0 0 0 30 30
   7       1 loop1 0 0 0 0 0 0 0 0 0 0 0
   7       2 loop2 0 0 0 0 0 0 0 0 0 0 0
   7       3 loop3 0 0 0 0 0 0 0 0 0 0 0
   7       4 loop4 0 0 0 0 0 0 0 0 0 0 0
   7       5 loop5 0 0 0 0 0 0 0 0 0 0 0
   7       6 loop6 0 0 0 0 0 0 0 0 0 0 0
   7       7 loop7 0 0 0 0 0 0 0 0 0 0 0
 253       0 zram0 296 0 2368 0 1 0 8 0 0 0 0
2016-12-17 / 18:19:16 ♒♒♒  ☺  

document how mode works

In its current form, I have no clue on what the mode feature is supposed to do. All I see is no dot, small dot and large dot. But what is its purpose is unclear. A simple description of how this software is supposed to work, would be nice to have in a README file.

[feature request] : Separate info for read and write IO

It would be nice if there were separate information for ?B/s "read" and ?B/s "written". For example, numbers following a green dot will show only the amount of data that was read and numbers following a red dot will show only the amount of data that was written. The current information, AFAIK, consolidates the amount of data read and written in that period; for this consolidated information a yellow dot may be more appropriate.

Support for NodeJS

Hi all, I am just wondering would it be possible to wrap this in NodeJS and dispatch as socket or something?
I do not know how Gnome works, I am looking for something to run as a service to monitor multiple drives activity.

[feature request] : lock the mode (small dot, big dot, or IO speed)

Great extension
But would it be possible to add a setting to lock the mode (small dot, big dot, or IO speed). I like the small dot, but sometimes I inadvertently click on it, then I have to click again 2 times to get my small dot back.
Would be great if we could lock it once and for all.

Please consider tagging releases

Thanks for this great extension! Would you consider creating tags in git so that releases can be tracked? I'm the packager for this extension in Debian (that also makes its way into Ubuntu/Mint/etc) and it would make it easier to make sure we have the latest release package rather than manually checking the commit history. Thanks!

relies on deprecated Uint8Array.toString conversion

With GNOME Shell 40 and gjs 1.68.4, I get this warning:

Sep 24 13:24:41 momentum gnome-shell[3371]: 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 toString() ["self-hosted":544:0]
                                            1 parseStat() ["/usr/share/gnome-shell/extensions/[email protected]/extension.js":110:19]

If you're willing to depend on gjs 1.70 (GNOME 41), it seems the recommendation is now to use TextDecoder: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1946

Or the next best thing is to use gjs' non-standard imports.byteArray.toString, available since gjs 1.54 (GNOME 3.30): https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1407

can't install hdd led gnome in ubuntu 20.10

can't install hdd led gnome in ubuntu 20.10

how to check what the error is?
 
https://extensions.gnome.org/extension/988/harddisk-led/
 
Your native host connector do not support following APIs: v6. You should probably upgrade native host connector or install plugins for missing APIs. Refer to the documentation for instructions.
 
https://askubuntu.com/questions/1403688/although-gnome-shell-integration-extension-is-running-native-host-connector-is/1403711#1403711

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.