/usr/share/doc/safe-rm/examples/safe-rm.desktop is in safe-rm 0.10-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Desktop entry for safe-rm right-click menu
[Desktop Entry]
Version=1.0
Type=Service
Name=safe-rm
Comment=A small safeguard against accidental removal of important files
Actions=add;
X-KDE-ServiceTypes=all/allfiles,inode/directory,KonqPopupMenu/Plugin
[Desktop Action add]
Exec=bash -c 'for i in "$@" ; do echo "$i" >> ${HOME}/.safe-rm; done' dummy %F
Name=Add to safe-rm protection list
|