Bug 446897 - Add "Format or Edit in Partition Manager"action that will appear in the Disks & Devices applet
Summary: Add "Format or Edit in Partition Manager"action that will appear in the Disks...
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Nate Graham
URL:
Keywords:
Depends on: 434855 446899
Blocks:
  Show dependency treegraph
 
Reported: 2021-12-12 21:38 UTC by Nate Graham
Modified: 2022-01-10 22:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 22.04


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.