I use two machines where I installed dual boot Windows and Manjaro, I have exclusive access to Manjaro session but others can access Windows, the problem is that one NTFS partition (non system) is shared by the two systems as storage place for keeping data due to fear of sudden crash of any OS, and sometimes I delete some of my private files (docx, pdfs, jpegs) without using shred command (which always needs opening terminal and typing a command), this create some insecure feeling that others can recover them from Windows sessions and spy on the content without me knowing. What I like is if it's possible to add a really high secure delete (like Gutmann or DoD) to dolphin right click contextual menu, this way everyone can delete private files without requiring to keep typing shred commands on terminal. It would also be cool to have this option for Plasma Desktop. I tried searching service plugins for Dolphin and found one called "KDE-Services" which has not been updated since 2017-12-27, in fact I don't like to use third parties plugins provided by non authentic KDE developers, because they are always not well tested and not updated to comply with latest API changes in Dolphin or system.
This is a rather niche feature request, and given that the context menu is already rather full with options by default, I would propose the following option instead: https://stackoverflow.com/questions/59374606/how-to-add-shred-to-kde-context-menu-for-safe-delete-file-folder. Given that this solution does not require any code, there is no additional attack vector through the shred action.
(In reply to Julian Schraner from comment #1) > This is a rather niche feature request, and given that the context menu is > already rather full with options by default, I would propose the following > option instead: > https://stackoverflow.com/questions/59374606/how-to-add-shred-to-kde-context- > menu-for-safe-delete-file-folder. Given that this solution does not require > any code, there is no additional attack vector through the shred action. Cannot this be officially added to Dolphin services plugins and disabled by default, so user has choice to enabled it and have big menu or not ? like what we have with Git, SVN an Root_actions services plugins ?
Context menu extension are shared via GHNS. I haven't checked if such an extension is already there. If not, feel free to add it. I would suggest to not lauch the shred commands directly, but use a kdialog asking for confirmation first. You can launch bash scripts in Exec= line. Additionally, I would suggest to not name the action "Safe(ly) Remove", because it is misleading. You savely remove an USB stick to not destroy its files.