Giter Site home page Giter Site logo

win0err / gnome-runcat Goto Github PK

View Code? Open in Web Editor NEW
399.0 3.0 26.0 984 KB

😼 The cat tells you the CPU usage by running speed

Home Page: https://extensions.gnome.org/extension/2986/runcat/

License: GNU General Public License v3.0

Makefile 12.93% JavaScript 86.18% CSS 0.89%
gnome gnome-shell gnome-shell-extension cpu-monitoring proc-stat cats

gnome-runcat's Introduction

I'm a Software Engineer based in Moscow, Russia

Facts about me:

  • 🏒 I'm a frontend engineer at VK.com. I'm a former backend developer.
  • πŸ‘¨β€πŸ’» I'm a polyglot programmer: I usually write code in JavaScript/TypeScript, but I also use Python 3, Go, C, PHP, and more.
  • 🌍 I love open-source software. I'm a creator of RunCat GNOME Shell extension.
  • πŸ‘¨β€πŸŽ“ I'm a doctoral candidate in CS and have a lecturer/researcher qualification. I also worked at MIREA β€” Russian Technological University as a teaching assistant.
  • πŸ“Έ I love photography. Subscribe to my Instagram and Telegram live channel with photos.

Detailed information about myself can be found on my website: https://kolesnikov.se/about.html

gnome-runcat's People

Contributors

bouteilleralan avatar koolskateguy89 avatar luavixen avatar ry755 avatar win0err 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

gnome-runcat's Issues

Reserve space for two ciphers

Today I noticed that the icons in the right part of gnome-shell top bar (Gnome 43) were moving a bit all the time horizontally. It was caused by CPU % moving around 8-12%

Maybe it would be interesting to reserve the space of the extra ciphers to not show this movement πŸ€”

Thanks a lot

Stopped working after the recent update

Gnome 3.34. Everything was fine till the recent update. Now it doesn't work with the following message:

JS ERROR: Extension [email protected]: Error: Type name Gjs_PanelMenuButton is already registered
_init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/overrides/GObject.js:385:24
registerClass@resource:///org/gnome/gjs/modules/overrides/GObject.js:94:12
@/home/pha/.local/share/gnome-shell/extensions/[email protected]/panelMenuButton.js:12:23
@/home/pha/.local/share/gnome-shell/extensions/[email protected]/extension.js:6:7
_callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:348:13
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:278:22
callback@resource:///org/gnome/shell/ui/extensionDownloader.js:244:17
gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:108:13

Please let me know if I can provide more details.

A "sleeping" threshold

Now the poor cat has to run permanently, even if the CPU load is 1 - 2 - 3%.
What if some simple setting is implemented, make the cat sleeping for the low values of CPU load?
Let's say, a checkbox "sleep under 5%" or a input field "sleep under [...] %".

P.S. That is a great idea, such a widget. Thanks.

Can more hardware information be displayed?

Just like the version of mac os, show

  • CPU usage
  • Memory performance
  • Battery state
  • Disk capacity
  • Network connection

and many more

I don’t know the complexity of implementing this function, but it is really needed. I did not find a suitable software or plug-in on linux like runcat (as far as the gnome plug-in installation I currently test and use has prompted an error, and the experience It's really not as good as runcat), so if it can display more hardware information, it would be great, thank you very much for bringing runcat to the linux platform, waiting for your reply!

Merging v22 feature branch

Hey @win0err,
while thinking about adding multiple runner support to your extension, i saw there is already a PR merged.

Do you intent releasing these features?

Best regards

Add options other than the cat

It being a GNOME extension, I think there should also be a wanda the fish and Gegl (Genetically Large Engineered Goat).

Possibly one or both only as easter eggs :)

Destination directory

Adding the ability to change the location of the target directory.

If you run the command sudo make install then the installation will be in /usr/share/gnome-shell/extensions

After approval, I can send pull igor-dyatlov@1611532

Broken settings window appearance on Gnome 42.rc

After forcing this extension to install on Gnome 42.rc by adding "42" to metadata.json, the settings window looks wrong. The settings themselves still work, they just look a bit scrunched :P
Other than this cosmetic issue, the rest of the extension seems to work properly without any extra changes.

image

image

Proposal: Add Ram utilization and Idle threshold only for sleep

First of all, I was searching for a simple extension that shows cpu utilization and when I show that your extension also has and idle threshold setting I was amazed. I wanted to have something like that for a very long time. Great work!

  1. I'm not sure you want to add ram utilization to your extension, but it would be a great addition to have both metrics in a compact "block". A simple, static icon can indicate which percentage corresponds to cpu and which to ram utilization.

  2. It many not be as clean as you have it now, but you may be interested in adding the following option. Besides your current "Idle threshold", use the same metric to change org/gnome/settings-daemon/plugins/power sleep-inactive-ac-type to 'nothing'. Optionally, add a "default" behavior for when the value is below the threshold.

    I don't know if this makes since to anyone other than me, but sometimes I want my computer to lock and put the monitors to sleep, but I don't want my whole system to suspend. For example, when I am running a job in the background I wouldn't mind the energy savings from turning off my monitors, but I also don't want my program to stop running. Right now I have set sleep-inactive-ac-type='nothing' because I always forget to change it when I am running some simulations overnight and I am wasting a lot of extra energy.

runcat after screen inactivity

runcat stops running after the screen went dark by gnome power settings, have to restart runcat in the gnome extension once again. not so after a suspend of the linux box

Update stops and restarts randomly on Gnome 40.4.0

On Gnome 40.4.0 I noticed updating issue, extension seems to stop and restart updating itself randomly.
Load string is also trimmed at percentage sign and returns back to normal when clicked anywhere at the top bar.
I tried to take a screenshot but this operation also fixes the problem.

Debian bookworm, Gnome 40.4.0

Percentage position

20200421155154

Fedora 32, GNOME 3.36, default theme and font and I switched all other extensions

Upgrade runcat failed today

Hi guys, I saw the upgrade notice today and i open the gnome extension website to upgrade my runcat, but it failed, then I try to reinstall runcat but it also failed, is anybody here know what's going on? and how can i install the runcat latest version..
My system is Ubuntu 22.04 with gnome 42.4 in Wayland.

Launch gnome-system-monitor on click

I think it would be cool if you could click the cat to launch gnome-system-monitor with the resources tab open (-r commandline option), to get more detailed info on cpu usage as a quick shortcut.

Better support for multi-core CPUs

If you see only one indicator for total cpu load then it's harder to detect the case of a single program locking up and consuming 100% of a single core. There should be possibility of having one cat per core, or some other indication that a core is 100% busy.

can't open the extension

The settings of extension [email protected] had an error:

Error: Requiring Adw, version none: Typelib file for namespace 'Adw' (any version) not found

Stack trace:

@/home/seoyeon/.local/share/gnome-shell/extensions/[email protected]/prefs.js:6:5
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

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.