Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to new system monitor app #6

Closed
david-cortes opened this issue Oct 20, 2021 · 6 comments
Closed

Switching to new system monitor app #6

david-cortes opened this issue Oct 20, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@david-cortes
Copy link

The ksysguard app that this widget uses has been deprecated. Would be helpful to move to the new system activity app so that it would launch something similar to Ctrl+Esc when clicking the widget.

@david-cortes david-cortes added the bug Something isn't working label Oct 20, 2021
@orblazer orblazer added enhancement New feature or request and removed bug Something isn't working labels Oct 20, 2021
@orblazer
Copy link
Owner

Hello, you have an source of that deprecation ?

@david-cortes
Copy link
Author

If you go to the bugzilla page (https://bugs.kde.org/enter_bug.cgi), you'll notice that it says "ksysguard: | System monitoring tool [up to Plasma 5.21]" while the new one says "plasma-systemmonitor: | Plasma's system monitoring tool [Plasma 5.21+]". If you read the blog posts from KDE team members they have also mentioned multiple times that they want to replace ksysguard, and it's for example no longer being packaged in the latest KDE updates in debian.

@orblazer
Copy link
Owner

orblazer commented Oct 21, 2021

Ok, But for make that change i need to find how i can detect what plasma version is run (for retro compatibility).

And for that i don't know how i can to that..

@orblazer orblazer added the help wanted Extra attention is needed label Oct 21, 2021
@david-cortes
Copy link
Author

One way to do it is this:

plasmashell --version

Outputs:

plasmashell 5.23.0

Another way would be to first try to launch plasma-systemmonitor, and if that fails, switch to ksysguard.

By the way, I think also the libraries used for getting the usage statics were replaced with new ones, not just the app that opens when clicking it.

@orblazer
Copy link
Owner

Yes i know how to get plasma version, but i just don't know how i can have this information in QML for that line :

kRun.openService("org.kde.ksysguard")

@thecmdrunner
Copy link

System managers from other DEs come to mind, but installing them just for one applet will be impractical.

Maybe look over at the BTop and their implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants