{"id":3263,"date":"2014-05-04T10:00:29","date_gmt":"2014-05-04T10:00:29","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=3263"},"modified":"2014-05-07T11:02:48","modified_gmt":"2014-05-07T11:02:48","slug":"delete-permanetly-context-menu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2014\/05\/delete-permanetly-context-menu\/","title":{"rendered":"&#8216;Delete&#8217; Permanently in Context Menu in Ubuntu \/ Elementary OS Luna"},"content":{"rendered":"<p><b>Want to delete files or folders from your file browser bypassing trash? Well, this tutorial will show you how to add &#8216;Delete&#8217; (Permanently) option to your context menu in Ubuntu Nautilus or Elementary OS Pantheon.<\/b><\/p>\n<p>&nbsp;<\/p>\n<p><b>For Ubuntu Nautilus File Browser:<\/b><\/p>\n<p>1. Open your file browser.<\/p>\n<p>2. Go to menu: Edit -> Preferences<\/p>\n<p>3. Under behavior tab, check the box where it says &#8220;Include a Delete command that bypasses Trash&#8221;<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash.png\" alt=\"Ubuntu Delete files bypassing Trash\" width=\"560\" height=\"400\" class=\"aligncenter size-full wp-image-3264\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash-300x214.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>Once done, you&#8217;ll find an option &#8220;Delete&#8221; in context menu:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash1.png\" alt=\"Ubuntu Delete Files bypassing Trash\" width=\"560\" height=\"259\" class=\"aligncenter size-full wp-image-3265\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash1.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/Nautilus-delete-bypassing-trash1-300x138.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p><b>For Elementary OS Luna:<\/b><\/p>\n<p>Thanks to <i>Trisailing<\/i>, he left a comment in another post with below steps:<\/p>\n<p>1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run command to create and edit the config file:<\/p>\n<pre style=\"border:none;\">sudo scratch-text-editor \/usr\/share\/contractor\/Delete.contract<\/pre>\n<p>2. Copy and paste below lines into empty file:<\/p>\n<blockquote><p>[Contractor Entry]<br \/>\nName=Delete permanetly<br \/>\nIcon=pantheon-files<br \/>\nDescription=Delete files, skip trash<br \/>\nMimeType=application;audio;chemical;image;message;model;multipart;text;video;x-conference;x-epoc;x-world<br \/>\nExec=rm -r<br \/>\nGettext-Domain=pantheon-files<\/p><\/blockquote>\n<p>Add <b>inode<\/b> to the value list of <b>MimeType<\/b> will allow to delete folders. But (Thanks to @Trisailing) if you click Delete permanently on a blank space it will delete all files and folders in the current directory. Use it at your own risk!<\/p>\n<p>3. Save the file. Log out and back in.<\/p>","protected":false},"excerpt":{"rendered":"<p>Want to delete files or folders from your file browser bypassing trash? Well, this tutorial will show you how to add &#8216;Delete&#8217; (Permanently) option to your context menu in Ubuntu Nautilus or Elementary OS Pantheon. &nbsp; For Ubuntu Nautilus File Browser: 1. Open your file browser. 2. Go to menu: Edit -> Preferences 3. Under [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1067,435,855],"class_list":["post-3263","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-delete-bypassing-trash","tag-elementary-os-luna","tag-ubuntu-14-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/3263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=3263"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/3263\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=3263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=3263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=3263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}