Giter Club home page Giter Club logo

resources's People

Contributors

albertescanes avatar alex3236 avatar alexmelman88 avatar alfabravoteam avatar alsogamer avatar awumii avatar fliperama00 avatar garaevdi avatar gnuey56 avatar haggen88 avatar jeas560 avatar jojo2357 avatar justinas avatar kianmeng avatar l3nn4rt avatar lorduskordus avatar lukas-heiligenbrunner avatar melonenbiber avatar nokyan avatar norwayfun avatar odofad avatar peterdavehello avatar piekay avatar pktiuk avatar rudahximenes avatar scrambled777 avatar tuba2 avatar vistaus avatar vorons avatar yakushabb 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

resources's Issues

Feature request: manual dark mode override

Hello, thanks for making the amazing software! I would like to ask if it is possible to have a manual override to dark/light mode? I assume such info is probably queried from DE but in a bare WM environment (I am using i3-wm), having a programs just to put a global dark mode flag into the X session can be a hassle. It would be great if such option is available in the Preferences menu.

Edit: I am using version 1.2.1 and there is no such option as of now

image

App can't access theme icon from system folder

App can't access theme icon from system folder, only from user folder.

When I put net.nokyan.Resources.svg icons to the /usr/share/icons/Papirus folder they won't accessible. After logout and login app will still using original icon, but not right icon from active icon theme.

When I put same icons to the /home/meybo/.local/share/icons/Papirus folder, then app will display correct Papirus theme icon.

I want to also thank You for this fantastic system monitor app! This is much better, nicer and more functional than Gnome default system monitor app.

Wi-Fi / Ethernet Connection progress bar in left pane is not very relevant

Hey! I gave Resources a spin, and it looks superb!

One thing that jumped out at me however is the Wi-Fi and Ethernet Connection progress bars. It's not very relevant beyond telling you that, yes, the network is being used.

It looks like it's a percentage between the current usage and the highest usage, but without knowing the highest usage (as you wouldn't when looking at the side bar), it's not very relevant.

I think it would be better if the actual speed were displayed in the left bar, or at least have a notch for 1, 10, 100 or 1 Gbps, depending on in what ballpark the "highest" value is.

Add GitHub Actions Workflow

Does it make sense to add a GitHub Actions Workflow? It could:

  • build and test this repository code after each git push
  • automatically publish the package to Flathub after a git tag is pushed

Error on Debian: "thread 'main' panicked at src/ui/window.rs:209:71"

I attempted to run Resources on a Debian system, kernel 5.10.191-1 (2023-08-16) x86_64 GNU/Linux.

Flatpak was freshly installed. (I tested one other Flatpak app, VLC, just to make sure it was working and it was fine.)

I installed Resources directly from Flathub with flatpak install flathub net.nokyan.Resources. No errors or any indication of problems was given.

But, every time I go to start Resources (by running flatpak run net.nokyan.Resources), I get a series of errors concluding with the following:

 DEBUG resources::application::imp > GtkApplication<Application>::activate
thread 'main' panicked at src/ui/window.rs:209:71:
called `Result::unwrap()` on an `Err` value: IO error while reading marker: failed to fill whole buffer

Caused by:
    failed to fill whole buffer

(See resources-error.log)

Resources opens, but the window is mostly empty and there's no content. (See screenshot.)

Happy to do more testing or gather further information if desired. Looks like a neat project, but I'm not too familiar with Flatpak or how to debug what's going on.

resources-screen

Invalid size of SSD

image

SSD size is reported as 16TB (would love to have) but in fact it's 2TB.

System: Arch
SSH: Kingston KC3000 2TB

app shows no processes or system info in GUI, Rust panic on command line

Hello! I'm on Mint 21.2, here's my system info.

Details
System:
  Kernel: 5.15.0-86-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
    tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Micro-Star product: GF63 Thin 9SC v: REV:1.0 serial: 
    Chassis: type: 10 serial: 
  Mobo: Micro-Star model: MS-16R3 v: REV:1.0 serial: 
    UEFI: American Megatrends v: E16R3IMS.108 date: 03/26/2020
Battery:
  ID-1: BAT1 charge: 30.8 Wh (64.8%) condition: 47.5/51.3 Wh (92.5%) volts: 11.2 min: 11.4
    model: MSI Corp. MS-16R3 serial: N/A status: Discharging
CPU:
  Info: quad core model: Intel Core i5-9300H bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
    L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 854 high: 900 min/max: 800/4100 cores: 1: 832 2: 882 3: 872 4: 856 5: 800
    6: 900 7: 800 8: 891 bogomips: 38400
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Micro-Star MSI driver: i915
    v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3e9b
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Micro-Star MSI
    driver: nvidia v: 535.86.05 pcie: speed: 5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1f91
  Device-3: Acer HD Webcam type: USB driver: uvcvideo bus-ID: 1-11:2 chip-ID: 5986:211b
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 102
  Monitor-1: eDP-1-1 mapped: eDP-1 model: AU Optronics res: 1920x1080 dpi: 142
    diag: 394mm (15.5")
  OpenGL: renderer: NVIDIA GeForce GTX 1650 with Max-Q Design/PCIe/SSE2
    v: 4.6.0 NVIDIA 535.86.05 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:a348
  Sound Server-1: ALSA v: k5.15.0-86-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a370
  IF: wlo1 state: up mac: 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0
    chip-ID: 10ec:8168
  IF: enp3s0 state: down mac: 
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8
    bus-ID: 1-14:3 chip-ID: 8087:0aaa
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address:  bt-v: 3.0 lmp-v: 5.1
    sub-v: 100
Drives:
  Local Storage: total: 476.94 GiB used: 183.37 GiB (38.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 SDAPNUW-512G-1032 size: 476.94 GiB
    speed: 15.8 Gb/s lanes: 2 serial:  temp: 48.9 C
Partition:
  ID-1: / size: 68.2 GiB used: 23.45 GiB (34.4%) fs: ext4 dev: /dev/nvme0n1p7
  ID-2: /boot/efi size: 296 MiB used: 35.8 MiB (12.1%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 180.4 GiB used: 79.94 GiB (44.3%) fs: ext4 dev: /dev/nvme0n1p9
Swap:
  ID-1: swap-1 type: partition size: 16.76 GiB used: 1.8 MiB (0.0%) priority: -2
    dev: /dev/nvme0n1p8
Sensors:
  System Temperatures: cpu: 60.0 C pch: 61.0 C mobo: N/A gpu: nvidia temp: 55 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2825 apt: 2803 flatpak: 22
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.metanet.ch/linuxmint victoria main upstream import backport
    2: deb http: //ubuntu.ethz.ch/ubuntu jammy main restricted universe multiverse
    3: deb http: //ubuntu.ethz.ch/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //ubuntu.ethz.ch/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https: //updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/slack.list
    1: deb https: //packagecloud.io/slacktechnologies/slack/debian/ jessie main
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
Info:
  Processes: 339 Uptime: 20m Memory: 15.46 GiB used: 5.3 GiB (34.2%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13

I can install and run Resources from the Software Manager, but the window shows no processes.
a screenshot of the issue
If I run flatpak run net.nokyan.Resources I get this output showing a Rust error.

flatpak run net.nokyan.Resources
 INFO  resources::application > Resources (net.nokyan.Resources)
 INFO  resources::application > Version: 1.0.3 ()
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication::startup
 DEBUG resources::application::imp > GtkApplication::activate
thread 'main' panicked at src/ui/window.rs:209:71:
called `Result::unwrap()` on an `Err` value: IO error while reading marker: failed to fill whole buffer

Caused by:
    failed to fill whole buffer
stack backtrace:
   0:     0x55adae73d68c - 
   1:     0x55adae76b9bc - 
   2:     0x55adae73985e - 
   3:     0x55adae73d474 - 
   4:     0x55adae73ef03 - 
   5:     0x55adae73ec1c - 
   6:     0x55adae73f4f9 - 
   7:     0x55adae73f3f7 - 
   8:     0x55adae73dbb6 - 
   9:     0x55adae73f142 - 
  10:     0x55adae769673 - 
  11:     0x55adae769b6a - 
  12:     0x55adae539b58 - 
  13:     0x55adae528509 - 
  14:     0x55adae70aecd - 
  15:     0x55adae7086fb - 
  16:     0x7fcea981fd07 - 
  17:     0x7fcea9821e17 - 
  18:     0x7fcea98224d3 - g_main_context_iteration
  19:     0x7fcea9a05a4d - g_application_run
  20:     0x55adae4fa346 - 
  21:     0x55adae4fa446 - 
  22:     0x55adae588afc - 
  23:     0x55adae5734d7 - 
  24:     0x55adae441c23 - 
  25:     0x55adae441bf9 - 
  26:     0x55adae732bab - 
  27:     0x55adae441bec - 
  28:     0x7fcea8ac908a - 
  29:     0x7fcea8ac914b - __libc_start_main
  30:     0x55adae441ae5 - 
  31:                0x0 - 
  

Smarter app grouping

For example: I have multiple Firefox profiles (by running Firefox with one of the following options: --ProfileManager, '-P' or '-p') but they all appear as one app.

Add process tree view

Like one in GNOME System Monitor. Processes have their children sorted in the tree:

image

Feature Request: support for Intel Arc GPUs

It would be great if Resources supports Intel Arc GPUs.

My research showed that the gpu utilization seems not to get exposed in the Linux /sys/.../gpu1 structure.
One might have a look how intel_gpu_top works and gets the gpu load and rebuild something similar in Rust or use this as a ffi lib?
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/blob/master/tools/intel_gpu_top.c?ref_type=heads

Thanks for your great work!

Edit:
Resources that might help:
https://github.com/Syllo/nvtop/tree/master#intel

Resources now shows around 20 loop devices.

Resources 1.1 used to show only my physical drives.
After 1.2 it now shows around 20 loop devices, probably used for snaps in ubuntu.
These loop devices are not physical drives and make finding real drives difficult.
Could you filter them?
They are located at /dev/loopX where X is a number.
This is probably related to issue #21.
Reference link
Thanks.

Search options *Feature Request*

When I fire up a sysmon type tool it's normally because something isn't playing nice. Being able to open it and have search already be visible and the active element is a real time saver. i.e. open and immediately type to filter the offending process so I can get down to MUR-DIDDLY-URDER!

So having options for "Always Show Search" along with "Always Focus Search (on launch)" and a "Show/Focus Search" key combo/short cut would all be fantabulous!

[Feature] Add Video Decoder and Encoder load to the GPU Panel

I recently found this app and like its design and usability a lot!

One thing that it misses compared to the similar app Mission Center is the ability to show the load of not just the GPU itself, but also of the video de- and encoding units of it. This is useful to troubleshoot if the video de- and encoding of the GPU gets actually used or if something is not working properly.

It could either be added as its own category or right below the memory usage graph. But this is just an suggestion, it being there would be the most important thing.

Doesn't show anything of use (Flatpak)

Hi,

Just installed the Flatpak version of the app (don't know if there's another anyway), but the app doesn't show anything of use (see photo).
image

Tried enabling some stuff in Flatseal, to no avail (but all necessary stuff should be enabled by default anyway, right?).

What could be the issue here?

  • A

unknown feature `hash_drain_filter`

info: latest update on 2023-07-27, rust version 1.73.0-nightly (0d95f9132 2023-07-26)
   Compiling resources v0.1.0 (/build/resources-git/src/resources)
error[E0635]: unknown feature `drain_filter`
 --> src/lib.rs:1:12
  |
1 | #![feature(drain_filter)]
  |            ^^^^^^^^^^^^

error[E0635]: unknown feature `hash_drain_filter`
 --> src/lib.rs:2:12
  |
2 | #![feature(hash_drain_filter)]
  |            ^^^^^^^^^^^^^^^^^

error[E0599]: no method named `drain_filter` found for struct `RefMut<'_, std::collections::HashMap<std::path::PathBuf, pages::drive::ResDrive>>` in the current scope
   --> src/ui/window.rs:229:14
    |
227 | /         imp.drive_pages
228 | |             .borrow_mut()
229 | |             .drain_filter(|k, _| !still_active_drives.iter().any(|x| *x == *k)) // r...
    | |             -^^^^^^^^^^^^ method not found in `RefMut<'_, HashMap<PathBuf, ResDrive>>`
    | |_____________|
    | 

error[E0599]: no method named `drain_filter` found for struct `RefMut<'_, std::collections::HashMap<std::path::PathBuf, pages::network::ResNetwork>>` in the current scope
   --> src/ui/window.rs:269:14
    |
267 | /         imp.network_pages
268 | |             .borrow_mut()
269 | |             .drain_filter(|k, _| !still_active_interfaces.iter().any(|x| *x == *k)) ...
    | |             -^^^^^^^^^^^^ method not found in `RefMut<'_, HashMap<PathBuf, ResNetwork>>`
    | |_____________|
    | 

error[E0599]: no method named `drain_filter` found for struct `Vec<Process>` in the current scope
   --> src/utils/processes.rs:560:14
    |
559 |           let non_system_processes: Vec<Process> = processes
    |  __________________________________________________-
560 | |             .drain_filter(|process| {
    | |             -^^^^^^^^^^^^ method not found in `Vec<Process>`
    | |_____________|
    | 

Some errors have detailed explanations: E0599, E0635.
For more information about an error, try `rustc --explain E0599`.
error: could not compile `resources` (lib) due to 5 previous errors
FAILED: src/debug 
/usr/bin/env CARGO_HOME=/build/resources-git/src/build/cargo-home /usr/bin/cargo build --manifest-path /build/resources-git/src/resources/Cargo.toml --target-dir /build/resources-git/src/build/src
ninja: build stopped: subcommand failed.

Update flatpak build instructions to install all required dependencies

I got this error when following the flatpak build instructions from the README:

$ flatpak-builder --user flatpak_app build-aux/net.nokyan.Resources.Devel.json
Downloading sources
Downloading https://git.savannah.nongnu.org/cgit/dmidecode.git/snapshot/dmidecode-3-5.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-- 100 79917    0 79917    0     0  95294      0 --:--:-- --:--:-- --:--:-- 95252
Initializing build dir
error: Requested extension org.freedesktop.Sdk.Extension.llvm16 not installed
Error: Child process exited with code 1

I installed florg.freedesktop.Sdk.Extension.llvm16:

andornaut@tron:resources$ flatpak install --user org.freedesktop.Sdk.Extension.llvm16
Looking for matches…
Similar refs found for ‘org.freedesktop.Sdk.Extension.llvm16’ in remote ‘flathub’ (user):

   1) runtime/org.freedesktop.Sdk.Extension.llvm16/x86_64/22.08
   2) runtime/org.freedesktop.Sdk.Extension.llvm16/x86_64/23.08

Which do you want to use (0 to abort)? [0-2]: 2


        ID                                         Branch      Op      Remote       Download
 1. [✓] org.freedesktop.Sdk.Extension.llvm16       23.08       i       flathub      110.8 MB / 114.4 MB

Installation complete.

I also followed @nokyan 's comment on #12 for good measure:

flatpak install --user org.gnome.Sdk org.freedesktop.Sdk.Extension.rust-stable org.gnome.Platform

Then the instructions from the README worked as expected:

flatpak-builder --user flatpak_app build-aux/net.nokyan.Resources.Devel.json
flatpak run --user net.nokyan.Resources.Devel

Can the flatpak build instructions in the README be updated to include all required dependencies?

Some icons don't appear on "Applications" and "Processes"

The icons of some apps do not show up on "Applications" and "Processes" panels. This issue persists even when I give Resources permission to access my entire home directory, so I don't think it's an issue with permissions. I'm also using the default icon theme (Adwaita).

Here are some screenshots of how it looks:

"Applications" panel Application info
image image

Thank you for developing Resources, it's truly great! 📈 💻

Feature Request: Add grid to graphs

I think graphs drawn by Resources need some grid in the background to make results a bit more readable.

Just like in resource monitor from gnome (or in windows)
image

Resources Crashes after Resume

When I suspend and then resume my laptop, Resources stops working.

My specs (not sure, what information is relevant, so I decided to provide you with as much, as possible):
Hardware Model: Lenovo ThinkPad X1 Carbon Gen 9
Processor: 11th Gen Intel® Core™ i7-1185G7 × 8
OS Name: Fedora Linux 38 (Workstation Edition)
Windowing System: Wayland
Kernel Version: Linux 6.5.6-200.fc38.x86_64

The error I am getting:

thread 'main' panicked at src/ui/pages/cpu.rs:263:32:
attempt to subtract with overflow
stack backtrace:
   0:     0x5601bfcc1d2c - <unknown>
   1:     0x5601bfcf005c - <unknown>
   2:     0x5601bfcbdefe - <unknown>
   3:     0x5601bfcc1b14 - <unknown>
   4:     0x5601bfcc35a3 - <unknown>
   5:     0x5601bfcc32bc - <unknown>
   6:     0x5601bfcc3b99 - <unknown>
   7:     0x5601bfcc3a51 - <unknown>
   8:     0x5601bfcc2256 - <unknown>
   9:     0x5601bfcc37e2 - <unknown>
  10:     0x5601bfcedd13 - <unknown>
  11:     0x5601bfcedda3 - <unknown>
  12:     0x5601bfac7e77 - <unknown>
  13:     0x5601bf9c855a - <unknown>
  14:     0x5601bfa6da13 - <unknown>
  15:     0x5601bfc8f56d - <unknown>
  16:     0x5601bfc8cd9b - <unknown>
  17:     0x7efe66c0bd07 - <unknown>
  18:     0x7efe66c0de17 - <unknown>
  19:     0x7efe66c0e4d3 - g_main_context_iteration
  20:     0x7efe66df1a4d - g_application_run
  21:     0x5601bf9d8496 - <unknown>
  22:     0x5601bf9d8596 - <unknown>
  23:     0x5601bfaf369c - <unknown>
  24:     0x5601bfa4932b - <unknown>
  25:     0x5601bf9c4c53 - <unknown>
  26:     0x5601bf9c4c29 - <unknown>
  27:     0x5601bfcb724b - <unknown>
  28:     0x5601bf9c4c9c - <unknown>
  29:     0x7efe65e3b08a - <unknown>
  30:     0x7efe65e3b14b - __libc_start_main
  31:     0x5601bf9c4b55 - <unknown>
  32:                0x0 - <unknown>

Display nothing in Applications and Processes sections on NixOS

On applications section, there is a only "System Processes 0B 0%" and on processes section, literary nothing.
Should I give this app to any additional permission by flatseal or something? Or this is because NixOS?
Thank you.

OS: NixOS 23.11.20231016.ca012a0 (Tapir) x86_64
resources: installed from flatpak ver. 1.1.0 stable

GNOME World

Have you considered submitting to GNOME World?

(Maybe you could replace gnome-system-monitor)

2 TB SSD progress bar goes up and down continuously

Hello! I don't know if this is the expected behavior, but it seems kind of confusing to me.
On the left sidebar, the progress bar for my SSD which has /, /home, and my swap partition mounted continuously fills and unfills in a similar way to the memory and processor progress bars. Those two are understandable, but even when I click on the tab for my SSD, it says "Total usage:" and bounces between 0% and up to 34%, which doesn't seem quite right.

I'm on Mint 21.2 and this SSD is a Samsung 980 Pro 2 TB.

ssd-weirdness-resources-2023-10-16_13.28.27.mp4

"Total usage" I would expect to mean used space, not transfer bandwidth, if that's what it is.

Optimization: remember the "Show usages of Logical CPUs" option.

When you reopen the app, you can remember the "Show usages of Logical CPUs" option in the "Processor" that you have set before. For me, I like to turn on this option, but every time I reopen the app, I have to open it again manually.

Addendum: I'm using ArchLinux and installed the app via AUR, I don't know if this happens with Flatpak or not!

Almost owrks in Linux Mint

Mostly all I get is a blank window, but something I did (and I am sorry I can't reproduce) let me see all the the things. I know it is not very specific, but it is what I experienced.

Headerbar style is inconsistent

The Applications and Processes stack pages have a raised Headerbar, but every other page has a flat headerbar. I would stick with raised throughout, since the Memory page can have a Adw.Banner for authentication.

Feature request: Hide certain network interfaces from showing in the app

Hi there, i love this app already, though i wish it was possible to hide certain network interfaces from showing up in the app, especially when, like me, you have a bunch of virtual interfaces created by/for docker containers.

image

My solution would be to implement a section in the settings pane named "Network Interfaces" with all of the ifaces/vifaces and a tickbox to the left.

mockup example
eg. something like this (which i know it's bad, but i'm not someone that knows how to make mockups, so....)

Some native apps not listed under 'Applications'

Hi,
I am using Resources on Linux Mint 21.2, and some of my apps are not displayed in the 'applications' tab when they are open. The processes for these apps still show up in the processes tab, but they are not recognised as apps.

The apps that don't show up are all installed natively (Flatpaks seem to work fine), and include LibreOffice and ClamTK. Resources seems to be able to detect other native apps, such as Firefox and Atril, without any issues.

Resources displaying Atril on the applications list, but not LibreOffice or ClamTK (I scrolled further down as well but they were not there either):
ksnip_20231017-051721

Add Dashboard Tab with Basic System Information

TL;DR;

I propose the addition of a new "Dashboard" tab to the 'resources' application. This dashboard would provide a quick overview of basic system metrics such as CPU, memory, network, disk usage, gpu, and battery status, all in one place.

Detailed Description

Currently, the application opens with the "Applications" tab as its "home" tab. While this is useful, I believe the addition of a comprehensive dashboard would significantly enhance the user experience. This dashboard would serve as a central point for monitoring key system parameters. Here are the suggested features for the dashboard:

  1. CPU Usage: Display the current CPU utilization percentage.
  2. Memory Usage: Show the amount of RAM in use and total available.
  3. Network Activity: Present real-time network upload and download speeds.
  4. Disk Usage: Provide information on current disk usage, including free and used space.
  5. Battery Status (when added): For laptops and portable devices, show the current battery level and estimated time remaining.

Justification

The addition of a dashboard would make it easier for users to get a quick snapshot of their system's health and performance without navigating through multiple tabs or sections. This feature is particularly useful for those who need to monitor their device's performance regularly, such as developers, IT professionals, and power users.

Conclusion

I believe this feature would be a valuable addition to the 'resources' application, providing users with a convenient way to monitor their system's key metrics at a glance.

I look forward to any feedback or thoughts on this proposal.

Oh and thank you very very much for the work you've done! I love it!

Crash while Ending a spurious Application

Hi,

I was trying Resources for the first time and did the following:

  • I saw a running application named "scrcpy" (it is a software that is installed as a snap package on my system, and that I use occasionally)
  • This application was not running on my system (I checked with "ps aux") and was shown as using 0 bytes of RAM.
  • I selected it and clicked "End Application"
  • I saw the following crash:
$ flatpak run net.nokyan.Resources 
 INFO  resources::application > Resources (net.nokyan.Resources)
 INFO  resources::application > Version: 1.1.0 ()
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup
 DEBUG resources::application::imp > GtkApplication<Application>::activate
[...]
thread 'main' panicked at src/ui/window.rs:404:45:
already mutably borrowed: BorrowError
stack backtrace:
   0:     0x555565c68d2c - <unknown>
   1:     0x555565c9705c - <unknown>
   2:     0x555565c64efe - <unknown>
   3:     0x555565c68b14 - <unknown>
   4:     0x555565c6a5a3 - <unknown>
   5:     0x555565c6a2bc - <unknown>
   6:     0x555565c6ab99 - <unknown>
   7:     0x555565c6aa97 - <unknown>
   8:     0x555565c69256 - <unknown>
   9:     0x555565c6a7e2 - <unknown>
  10:     0x555565c94d13 - <unknown>
  11:     0x555565c9520a - <unknown>
  12:     0x5555659a3359 - <unknown>
  13:     0x5555659f3d9b - <unknown>
  14:     0x7f41bedbbd07 - <unknown>
  15:     0x7f41bedbde17 - <unknown>
  16:     0x7f41bedbe4d3 - g_main_context_iteration
  17:     0x7f41befa1a4d - g_application_run
  18:     0x55556597f496 - <unknown>
  19:     0x55556597f596 - <unknown>
  20:     0x555565a9a69c - <unknown>
  21:     0x5555659f032b - <unknown>
  22:     0x55556596bc53 - <unknown>
  23:     0x55556596bc29 - <unknown>
  24:     0x555565c5e24b - <unknown>
  25:     0x55556596bc9c - <unknown>
  26:     0x7f41be03b08a - <unknown>
  27:     0x7f41be03b14b - __libc_start_main
  28:     0x55556596bb55 - <unknown>
  29:                0x0 - <unknown>

[1]+  Exit 101                flatpak run net.nokyan.Resources

AMD GPU Not Reading With Mesa Drviers

image
image
image

Is this standard default behavior? I looked through your documentation and couldn't find anything about AMD graphics cards. My GPU is a Radeon 7800XT.

Radeontop Output:
image

Flatpak install does not work on ubuntu lunar

I have install flatpak 1.14-4 on ubuntu lunar.

flatpak install org.gnome.Sdk//45 org.freedesktop.Sdk.Extension.rust-stable//23.08 org.gnome.Platform//45 org.freedesktop.Sdk.Extension.llvm16//23.08
flatpak-builder --user flatpak_app build-aux/net.nokyan.Resources.Devel.json

Note that the directories

'/var/lib/flatpak/exports/share'
'/home/ubuntu/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Looking for matches…
error: No remote refs found for ‘org.gnome.Sdk//45’
Can't load 'build-aux/net.nokyan.Resources.Devel.json': Failed to open file “/home/ubuntu/build-aux/net.nokyan.Resources.Devel.json”: No such file or directory

Applications & Processes Tabs are Blank with No Items

Hi,, I'm running the flatpak version of Resources, and this is what I get in the Applications & Processes tabs:

image

image

Is there something in Flatseal I need to change or is this a legitimate bug?

Terminal output:

 INFO  resources::application > Resources (net.nokyan.Resources)
 INFO  resources::application > Version: 1.1.0 ()
 INFO  resources::application > Datadir: /app/share/resources
 DEBUG resources::application::imp > GtkApplication<Application>::startup

(resources:2): Gtk-WARNING **: 19:01:00.612: Unknown key gtk-modules in /home/cameron/.var/app/net.nokyan.Resources/config/gtk-4.0/settings.ini
 DEBUG resources::application::imp > GtkApplication<Application>::activate
thread 'main' panicked at src/ui/pages/cpu.rs:275:18:
already borrowed: BorrowMutError
stack backtrace:
   0:     0x55a5272f8d2c - <unknown>
   1:     0x55a52732705c - <unknown>
   2:     0x55a5272f4efe - <unknown>
   3:     0x55a5272f8b14 - <unknown>
   4:     0x55a5272fa5a3 - <unknown>
   5:     0x55a5272fa2bc - <unknown>
   6:     0x55a5272fab99 - <unknown>
   7:     0x55a5272faa97 - <unknown>
   8:     0x55a5272f9256 - <unknown>
   9:     0x55a5272fa7e2 - <unknown>
  10:     0x55a527324d13 - <unknown>
  11:     0x55a52732520a - <unknown>
  12:     0x55a5270ff19d - <unknown>
  13:     0x55a526fff55a - <unknown>
  14:     0x55a5270a4a13 - <unknown>
  15:     0x55a5272c656d - <unknown>
  16:     0x55a5272c3d9b - <unknown>
  17:     0x7fac3971ad07 - <unknown>
  18:     0x7fac3971ce17 - <unknown>
  19:     0x7fac3971d4d3 - g_main_context_iteration
  20:     0x7fac39900a4d - g_application_run
  21:     0x55a52700f496 - <unknown>
  22:     0x55a52700f596 - <unknown>
  23:     0x55a52712a69c - <unknown>
  24:     0x55a52708032b - <unknown>
  25:     0x55a526ffbc53 - <unknown>
  26:     0x55a526ffbc29 - <unknown>
  27:     0x55a5272ee24b - <unknown>
  28:     0x55a526ffbc9c - <unknown>
  29:     0x7fac3895208a - <unknown>
  30:     0x7fac3895214b - __libc_start_main
  31:     0x55a526ffbb55 - <unknown>
  32:                0x0 - <unknown>

The system is an Arch Linux system and Resources was installed via Flathub.

Sort Applications/Processes in descending order first

When changing the sorting to a different column (clicking the Memory column header for example), the initial sort order is ascending. This doesn't really help for CPU/RAM usage as the search is usually done for the greediest processes, not the other way around. This does make sense for the Process name, PID and User columns, but would it be possible to change the Memory and Processor columns to sort descending at first instead?

Appimage?

Would it be possible to release an appimage on gitlab of your software for those who don't have/want to use flatpack or depend (be traced) on flathub?

Non-existent disk partitions are shown

My single-partition SSD is shown as the one valid /dev/sda partition and then several empty partitions (/dev/sdb, /dev/sdc...). I'm running Flatpak on Fedora 38:

partitions

The actual disk layout:

sda

Feature request: Show GPU Model in the left bar

I think it would be much better to have better description than GPU 1, GPU 2
image

It would be good to have name like GPU GTX 1080, GPU Intel, etc.

BTW. Great app, looks very nice and works well.

How do donate

This project is amazing and it is precisely what I was looking for. Now I can happily say that my Linux experience is fully complete and polished with great apps. As such, I would like to donate to this project but I do not see any sponsorship buttons.

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.