Something like this: [Desktop Entry] X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND StorageVolume.usage == 'FileSystem' ] Type=Service Actions=open; [Desktop Action open] # %f gives StorageAccess.filePath, %d gives Block.device, %i gives UDI Exec=partitionmanager "%d" Icon=partitionmanager Nate=Reformat or Edit with Partition Manager That way people will have a quick way to get to Partition Manager from the Disks & Devices Plasma applet.
A possibly relevant merge request was started @ https://invent.kde.org/system/partitionmanager/-/merge_requests/14
Fixed by me with https://invent.kde.org/system/partitionmanager/-/commit/4703517c755d2b62a64fc65af51d39660fc93836 in partition manager 22.04.