Many new features now available including 2-Factor authentication
Started by Toonman, October 30, 2014, 11:27:50 AM
0 Members and 1 Guest are viewing this topic.
QuoteI've written a "file manager action" to add "Delete" to the right-click context menu (as well as "move to Trash"), but there is no "easy" way to get it to prompt for confirmation .. so I can tell you how to add it, but it will NOT give you any chance to change your mind, it wil just delete the file/folder without confirmation.Still wanna know how ?
sudo gedit /usr/share/file-manager/actions/delete-file.desktop
[Desktop Entry]Name = DeleteTooltip = Delete file or folderIcon = gtk-deleteProfiles = on_folder;all_files;[X-Action-Profile on_folder]Name = DeleteMimeTypes=inode/directory;all/allfiles;SelectionCount = 1Exec = rm -rf %f