Bug 446897

Summary: Add "Format or Edit in Partition Manager"action that will appear in the Disks & Devices applet
Product: [Applications] partitionmanager Reporter: Nate Graham <nate>
Component: generalAssignee: Nate Graham <nate>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 22.04
Bug Depends on: 434855, 446899    
Bug Blocks:    

Description Nate Graham 2021-12-12 21:38:42 UTC
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.
Comment 1 Bug Janitor Service 2021-12-12 22:05:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/partitionmanager/-/merge_requests/14
Comment 2 Nate Graham 2022-01-10 22:25:34 UTC
Fixed by me with https://invent.kde.org/system/partitionmanager/-/commit/4703517c755d2b62a64fc65af51d39660fc93836 in partition manager 22.04.