LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How can i disable xfce trash? (https://www.linuxquestions.org/questions/linux-desktop-74/how-can-i-disable-xfce-trash-944266/)

fogpipe 05-10-2012 12:49 PM

How can i disable xfce trash?
 
This is the all time dumbest feature i have ever seen in a file/desktop manager, instead of deleting files, picking delete from a right click menu merely moves them to ~/.local/share/Trash/files

I have tried linking ~/.local/share/Trash/files to /dev/null, but then when i try to delete a file xfce complains that it isnt a directory.

i suppose i could create a cron job, but there just has to be a way to turn this off. if i wanted to keep my trash, i'd still be using windows. i cant imagine that the developers are stupid enough to make this unchangeable.

TobiSGD 05-10-2012 02:37 PM

http://wiki.xfce.org/faq#file_manager
Feel free to either add this to feature to XFCE (or rather Thunar) or change the DE, if it is too stupid for you.

fogpipe 05-10-2012 02:45 PM

Quote:

Originally Posted by TobiSGD (Post 4675346)
http://wiki.xfce.org/faq#file_manager
Feel free to either add this to feature to XFCE (or rather Thunar) or change the DE, if it is too stupid for you.

Actually its just easier to go back to fluxbox. Its jsut idiotic not to give this kind of option to the user.

273 05-10-2012 02:50 PM

Quote:

Originally Posted by fogpipe (Post 4675353)
Its jsut idiotic not to give this kind of option to the user.

I have to agree on this one but use, and will continue to use, XFCE despite it.
Luckily for me I'm used to <Shift>+<Delete> from Windows so I've continued the habit.

fogpipe 05-10-2012 03:20 PM

Here is a sendto link that will appear in the thunar sendto menu. Place a file with this content
Quote:

[Desktop Entry]
Type=Application
Version=1.0
Name=Oblivion
Name[en_GB]=Oblivion
Icon=internet-mail
Exec=rm -rf %F
In your /usr/share/Thunar/sendto dir and save it as thunar-oblivion.desktop. I have tested it a couple of times and it works. But be careful, i assume no responsibility for either use or misuse of this info. Anything you delete with this script will be GONE FOREVER. Adjust icon setting to your liking.

craigevil 05-10-2012 03:21 PM

Dolphin and Konqueror have an option to not use Trash, a setting not unlike Windows not using recyclebin.

from a terminal you can do:
Code:

rm -rf ~/.Trash/*
just make sure you use the correct Path or you will end up removing something you didn't want to remove.

273 05-10-2012 03:21 PM

Thanks I'll take a look.

TobiSGD 05-10-2012 03:35 PM

Quote:

Originally Posted by fogpipe (Post 4675353)
Actually its just easier to go back to fluxbox. Its jsut idiotic not to give this kind of option to the user.

The better way would be to give the developers feedback about what their users want, instead of calling them stupid or idiotic and simply leaving. They also gave a solution as simple as yours to the problem. So the user has this option, just not as a checkbox in the settings dialog.
So I don't understand where actually the problem is.

fogpipe 05-11-2012 08:40 PM

Quote:

Originally Posted by TobiSGD (Post 4675385)
The better way would be to give the developers feedback about what their users want, instead of calling them stupid or idiotic and simply leaving. They also gave a solution as simple as yours to the problem. So the user has this option, just not as a checkbox in the settings dialog.
So I don't understand where actually the problem is.

Ok maybe stupid was the wrong word and in the interest of shortening the thread i wont elaborate. Im curious, what workaround did they recommend? From the posts i have read on the xfce forum, i get the impression that the topic has been somewhat heavily debated and that the developers like it the way it is and the subject is not up for discussion.

273 05-11-2012 09:12 PM

The reason I read this thread was:
Quote:

Originally Posted by craigevil (Post 4675371)
Dolphin and Konqueror have an option to not use Trash, a setting not unlike Windows not using recyclebin.

When I read the thread I thought:
Quote:

Originally Posted by TobiSGD (Post 4675385)
The better way would be to give the developers feedback about what their users want, ...

Then I read that, apparently, this has been mentioned before:
Quote:

Originally Posted by XFCE Developers
Can I disable the trash?

No, you can not. But you can do for example:...

Personally, I thank the developers for XFCE and am glad I can go on using it. I do find it an odd decision though.

TobiSGD 05-12-2012 08:52 AM

Quote:

Originally Posted by fogpipe (Post 4676356)
Im curious, what workaround did they recommend?

Have you actually read the site I linked?
Quote:

create custom action for permanent delete(like in gnome) with action: rm %f then in context menu you'll have button “permanent delete”


All times are GMT -5. The time now is 09:02 PM.