This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Remove outdated plasmoid from system

Tags: None
(comma "," separated)
colinw
Registered Member
Posts
13
Karma
0
Hi double question -

1) I was looking for a battery applet that showed the amount remaining graphically in the panel, so that I wouldn't have to do anything (other than look there) to get an idea of my battery life. Is there one?

2) I installed an outdated plasmoid called Enhanced Battery Monitor, and then tried to remove it. I removed it from the system tray by deselecting it in the system tray settings. However, I need to remove it more, because every time I start KDE it puts a box on the desktop that says the applet won't work because the old QtQuick version is missing, and I have to hold click on the box to get the controls and then x it out to get rid of it. Obviously, not an acceptable situation.
User avatar
google01103
Manager
Posts
6668
Karma
25
you may need to edit the plasma-desktop-appletsrc file to remove it

there may be 2 or more sections in the file that will need to be removed they should be contiguous and start with something like
Code: Select all
[Containments][n_1][Applets][n_2]

there will also be a line
plugin=xxxxxxxxxxxxxx
which should be the name of the applet

this thread should help viewtopic.php?f=66&t=122084&p=315682&hilit=kquitapp+google01103#p315682


OpenSuse Leap 42.1 x64, Plasma 5.x

colinw
Registered Member
Posts
13
Karma
0
Update:
From here: https://techbase.kde.org/Development/Tutorials/Plasma5/QML2/GettingStarted,
There are some developer-level commands for managing installed plasmoids as well:
To get a list of installed Plasma packages call
plasmapkg2 --list
To remove:
plasmapkg2 --remove org.kde.tutorial

google01103 wrote:you may need to edit the plasma-desktop-appletsrc file to remove it

there may be 2 or more sections in the file that will need to be removed they should be contiguous and start with something like
Code: Select all
[Containments][n_1][Applets][n_2]

there will also be a line
plugin=xxxxxxxxxxxxxx
which should be the name of the applet

this thread should help viewtopic.php?f=66&t=122084&p=315682&hilit=kquitapp+google01103#p315682


Great, thanks! Combining this with the linked thread worked with a few changes. The file is now at ~/.config/plasma-org.kde...plasma-dekstop-appletsrc.

I searched for the short name of the applet "enbattery" and it occured in two places, one in a line like you describe above (where I could delete the whole section) and the next in another (contiguous) section where just "enbattery" appeared at the end of the list, so removed it from the list. Restarted X, and at first kwin_x11 was going at like 100% (probably unrelated) so I killed it, then restarted X again and it was fixed. Thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]