LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-10-2012, 12:49 PM   #1
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
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.

Last edited by fogpipe; 05-10-2012 at 01:20 PM.
 
Old 05-10-2012, 02:37 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 05-10-2012, 02:45 PM   #3
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by TobiSGD View Post
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.

Last edited by fogpipe; 05-10-2012 at 02:46 PM.
 
Old 05-10-2012, 02:50 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by fogpipe View Post
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.
 
Old 05-10-2012, 03:20 PM   #5
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
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.

Last edited by fogpipe; 05-10-2012 at 03:22 PM.
 
Old 05-10-2012, 03:21 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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.
 
Old 05-10-2012, 03:21 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Thanks I'll take a look.
 
Old 05-10-2012, 03:35 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by fogpipe View Post
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.
 
Old 05-11-2012, 08:40 PM   #9
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by TobiSGD View Post
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.
 
Old 05-11-2012, 09:12 PM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
The reason I read this thread was:
Quote:
Originally Posted by craigevil View Post
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 View Post
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.
 
Old 05-12-2012, 08:52 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by fogpipe View Post
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”
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable automount under xfce cccc Debian 3 01-23-2019 08:36 AM
[SOLVED] How to disable capslock in Xfce shadogamon Linux - Hardware 4 02-08-2012 11:38 AM
Disable remove from panel on the trash zappadragon Linux - Newbie 4 08-25-2010 01:29 PM
KDE Trash can showing in xfce Hern_28 Slackware 2 07-10-2007 08:16 AM
Broken Trash can in Xfce Steve50 Debian 4 12-25-2006 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration