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

Removing widget from "Widgets" dialog

Tags: None
(comma "," separated)
bdcomp
Registered Member
Posts
2
Karma
0
Hi,

I am wondering if it's a bug - there is no way to remove a widget from the "Widgets" dialog (right click on desktop -> Add Widgets)?

Kubuntu 18.04.1 64bit
KDE Plasma 5.12.6
User avatar
Rog131
Registered Member
Posts
828
Karma
10
There should be the uninstall button for the user installed plasmoids:

Image

If it is not working: Examine if the problem is local - viewtopic.php?f=14&t=38828
- If it not local problem: file a bug report to your distribution or/and KDE.


KPackage Manager

Plasma 5 has kpackagetool5
Code: Select all
$ kpackagetool5 --help
Usage: kpackagetool5 [options]
KPackage Manager

Options:
  -v, --version                       Displays version information.
  -h, --help                          Displays this help.
  --hash <path>                       Generate a SHA1 hash for the package at
                                      <path>
  -g, --global                        For install or remove, operates on
                                      packages installed for all users.
  -t, --type <type>                   The type of package, corresponding to the
                                      service type of the package plugin, e.g.
                                      KPackage/Generic, Plasma/Theme,
                                      Plasma/Wallpaper, Plasma/Applet, etc.
  -i, --install <path>                Install the package at <path>
  -s, --show <name>                   Show information of package <name>
  -u, --upgrade <path>                Upgrade the package at <path>
  -l, --list                          List installed packages
  --list-types                        List all known package types that can be
                                      installed
  -r, --remove <name>                 Remove the package named <name>
  -p, --packageroot <path>            Absolute path to the package root. If not
                                      supplied, then the standard data
                                      directories for this KDE session will be
                                      searched instead.
  --generate-index                    Recreate the plugin index. To be used in:
                                      conjunction with either the option -t or
                                      -g. Recreates the index for the given type
                                      or package root. Operates in the user
                                      directory, unless -g is used
  --remove-index                      Remove the plugin index. To be used in:
                                      conjunction with either the option -t or
                                      -g. Recreates the index for the given type
                                      or package root. Operates in the user
                                      directory, unless -g is used
  --appstream-metainfo <path>         Outputs the metadata for the package
                                      <path>
  --appstream-metainfo-output <path>  Outputs the metadata for the package into
                                      <path>


Example: list installed plasmoids and manual removal of a plasma widget

Code: Select all
$ kpackagetool5 --list -t Plasma/Applet
Listing service types: Plasma/Applet in /home/rog131/.local/share/plasma/plasmoids/
eu.blumenstingl.martin.keystateplasmoid
org.kde.plasma.systemmonitor.net
org.kde.weatherWidget
org.mail.show
potd
screen.on.off


Code: Select all
$ kpackagetool5 -t Plasma/Applet -r potd
Empty filename passed to function
kf5.kpackage: Generated  "/home/rog131/.local/share/plasma/plasmoids//kpluginindex.json"  ( 6  plugins)
Successfully uninstalled
bdcomp
Registered Member
Posts
2
Karma
0
Thanks for your detailed reply.

While I am not understand the rational, it looks like system widget can't be uninstalled from Widget Explorer https://bugs.kde.org/show_bug.cgi?id=397235


Bookmarks



Who is online

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