{"id":484,"date":"2008-01-27T16:23:01","date_gmt":"2008-01-27T21:23:01","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/2008\/01\/27\/gnomes-trash-folder\/"},"modified":"2008-01-27T16:23:01","modified_gmt":"2008-01-27T21:23:01","slug":"gnomes-trash-folder","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2008\/01\/27\/gnomes-trash-folder\/","title":{"rendered":"Gnome&#8217;s Trash Folder"},"content":{"rendered":"<p>Gnome (the desktop environment, not <a href=\"http:\/\/423smith.com\/wp-content\/gnomes.jpg\">the creepy garden fixtures<\/a>) has a &#8220;Trash Folder,&#8221; which is the functional equivalent of the Windows Recycle Bin. This is slightly problematic for those of us who are used to file &#8220;deletion&#8221; on Linux instantly unlinking the file, who don&#8217;t expect that the files are being moved somewhere. Especially as the developers made the icon a little more obscure, putting it in the very bottom right corner of the taskbar, where I overlooked it for quite some time. Now that I know it&#8217;s there, it&#8217;s easy to purge, just like I empty the trash bin.<\/p>\n<p>But for geeks like me, you&#8217;ll be happy to know that the &#8220;Trash Bin&#8221; is nothing more than a directory, ~\/.Trash. Thus you can empty it fairly easily, with &#8220;rm -rf ~\/.Trash\/*&#8221;\u00a0 And you can use all the routine Linux filesystem tools: &#8220;ls&#8221; to show what&#8217;s in it, and &#8220;du -sh ~\/.Trash&#8221; to list its contents and show the total size.<\/p>\n<p>Update: Newer distros are putting it in ~\/.local\/share\/Trash\/files\/ instead of ~\/.Trash<\/p>","protected":false},"excerpt":{"rendered":"<p>Gnome (the desktop environment, not the creepy garden fixtures) has a &#8220;Trash Folder,&#8221; which is the functional equivalent of the Windows Recycle Bin. This is slightly problematic for those of us who are used to file &#8220;deletion&#8221; on Linux instantly &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2008\/01\/27\/gnomes-trash-folder\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,13,18,24],"tags":[],"class_list":["post-484","post","type-post","status-publish","format-standard","hentry","category-computers","category-linux-tips","category-ocd","category-rants-raves"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=484"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}