After adding SRM to the Nemo menu I noticed that there were already instructions in the forum for adding secure delete but I figured I'd go ahead and share how I added SRM in the event anyone is interested.
Just please be careful if you do this because SRM isn't going to ask you to confirm that you want to erase the file and/or directory. If anyone knows a way to include that safeguard I'd appreciate learning how to do that.
First make sure you have SRM installed.
Make a file called srm.nemo_action in the folder $HOME/.local/share/nemo/actions
Open the file with your favorite text editor, paste the stuff below.
----------------------------------------Do not include this line------------------------------------------
[Nemo Action]
Name=Secure Delete
Comment=Secure Delete
Exec=srm -rl %F
Icon-Name=package-purge
Selection=Any
Extensions=any;
--------------------------------------------Do not include this line-----------------------------------------------------
By default SRM overwrites files 37 times which is way too much and takes forever. With the switches -rl the overwrite is recursive and limits SRM to one zero write and one random write which is sufficient.
If there's anything I missed or if there is a better way to do this I'd love to hear it as I'm always open to learning.
Thanks,
Puff
Add SRM (Secure Remove) to Nemo menu
Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Jump to
- Important Notices
- ↳ Rules & Notices
- ↳ Releases & Announcements
- ↳ Main Edition Support
- ↳ Beginner Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Hardware Support
- ↳ Graphics Cards & Monitors
- ↳ Printers & Scanners
- ↳ Storage
- ↳ Sound
- ↳ Networking
- ↳ Virtual Machines
- ↳ Desktop & Window Managers
- ↳ Cinnamon
- ↳ MATE
- ↳ Xfce
- ↳ Other topics
- ↳ Non-technical Questions
- ↳ Tutorials
- Debian Edition Support
- ↳ LMDE Forums
- ↳ Beginner Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Hardware Support
- ↳ Networking
- ↳ Tutorials
- ↳ Other Topics & Open Discussion
- ↳ LMDE Archive
- Interests
- ↳ Gaming
- ↳ Scripts & Bash
- ↳ Programming & Development
- ↳ Cinnamon on Wayland
- Customization
- ↳ Themes, Icons & Wallpaper
- ↳ Compiz, Conky, Docks & Widgets
- ↳ Screenshots
- ↳ Your Artwork
- Chat
- ↳ Introduce Yourself
- ↳ Chat about Linux Mint
- ↳ Chat about Linux
- ↳ Open Chat
- ↳ Suggestions & Feedback
- International
- ↳ Translations
- ↳ Deutsch - German
- ↳ Español - Spanish
- ↳ Français - French
- ↳ Italiano - Italian
- ↳ Nederlands - Dutch
- ↳ Português - Portuguese
- ↳ Русский - Russian
- ↳ Suomi - Finnish
- ↳ Other Languages
- ↳ Čeština-Slovenčina - Czech-Slovak
- ↳ Magyar - Hungarian
- ↳ 日本語 - Japanese
- ↳ Polski - Polish
- ↳ Svenska - Swedish
- ↳ Українська - Ukrainian