# How to solve "Action org.kde.kpmcore.externalcommand.init is not registered"?

**URL:** <https://discuss.kde.org/t/how-to-solve-action-org-kde-kpmcore-externalcommand-init-is-not-registered/40872>\
**Category:** Help\
**Tags:** partitionmanager, wayland, nixos\
**Created:** [October 23, 2025, 5:21am UTC](https://discuss.kde.org/t/how-to-solve-action-org-kde-kpmcore-externalcommand-init-is-not-registered/40872 "2025-10-23T05:21:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbontb-iaq](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/tbontb-iaq/32/26556_2.png) [@tbontb-iaq](https://discuss.kde.org/u/tbontb-iaq)\
**Post date:** [October 23, 2025, 5:21am UTC](https://discuss.kde.org/t/how-to-solve-action-org-kde-kpmcore-externalcommand-init-is-not-registered/40872/1 "2025-10-23T05:21:47Z")

</div>

I want to use the kde partition manager, but when I open it I just get a window with all the buttons grayed out and unclickable.

 ![image](https://discuss-cdn.kde.org/uploads/default/original/3X/d/2/d26d42ef27b82882c8fa92c12aadb3a11a59aa5e.png)

I’ve been able to use it before, and it should have popped up a window asking for admin permissions with my password, but for some reason it didn’t.

I tried launching it from the command line, but I got the same result.

Here’s the console output:

```auto
Loaded backend plugin: "pmsfdiskbackendplugin"
Encountered error while checking authorization, error code: PolkitQt1::Authority::E_CheckFailed "GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.kde.kpmcore.externalcommand.init is not registered"

```

---

<div class="post-metadata">

**Author:** ![marcovr](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/marcovr/32/32694_2.png) [@marcovr](https://discuss.kde.org/u/marcovr)\
**Post date:** [April 24, 2026, 9:56pm UTC](https://discuss.kde.org/t/how-to-solve-action-org-kde-kpmcore-externalcommand-init-is-not-registered/40872/2 "2026-04-24T21:56:27Z")

</div>

Since this post has the tag _nixos_, I assume you tried to run the KDE partition manager under NixOS?

Today I encountered exactly the same issue. While debugging, I found out that it is necessary to add the package `kdePackages.kpmcore` to the system packages for the polkit action to be picked up. It also works if `kdePackages.partitionmanager` is added to the system packages, as this implicitly adds kpmcore as well:

```auto
  environment.systemPackages = [
    pkgs.kdePackages.partitionmanager
  ];

```

With this configuration, it worked exactly as expected 🙂

---

<div class="post-metadata">

**Author:** ![tbontb-iaq](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/tbontb-iaq/32/26556_2.png) [@tbontb-iaq](https://discuss.kde.org/u/tbontb-iaq)\
**Post date:** [April 25, 2026, 2:27am UTC](https://discuss.kde.org/t/how-to-solve-action-org-kde-kpmcore-externalcommand-init-is-not-registered/40872/3 "2026-04-25T02:27:35Z")

</div>

It really works. Thank you very much.
