LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ubuntu trash (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-trash-870851/)

Bob32 03-24-2011 09:14 PM

ubuntu trash
 
hello,

how can I get a warning before sending a file to the trash, as in Windows ?
There must be a way to do that, at least programmatically, as Linux is open source. I'm just looking for the easiest.
Thanks

corp769 03-25-2011 04:51 AM

The option to change that is under file management preferences. When you open a folder with nautilus, go to edit, preferences, and click on the behavior tab.

Josh

Bob32 03-25-2011 02:18 PM

No it's not.
There is an option to confirm before deleting or emptying the trash, but not sending to the trash.
This is really annoying because on some keyboards, the delete key is close to others and might be pressed by accident. And if one ends up with a lot of files from the trash from 6 months ago, you might not remember if you meant to send this to the trash or not, just like you don't analyze your real life trash before putting it away.

Bob32 03-26-2011 01:43 PM

help?

tredegar 03-26-2011 02:46 PM

Quote:

help?
Because sending files to "Trash" is easily recoverable (by restoring them) there is no need to "Confirm sending to trash".

There is a need to "Confirm Delete", as this can indeed happen by a mis-click.

When you empty the trash, you are prompted "are you sure?". This is sensible.

I never send files to trash (because I want them deleted, not just moved) but I am prompted for the delete. This gives me a moment to reconsider.

Quote:

And if one ends up with a lot of files from the trash from 6 months ago, you might not remember if you meant to send this to the trash or not, just like you don't analyze your real life trash before putting it away.
So do you have an argument with the truck driver when they come to take your household trash away?
"Stop! Wait! I haven't checked my rubbish for things I did not mean to throw out."

You should not be throwing stuff out anyway. It is wasteful of resources, you should be recycling, which is what delete does ;)

corp769 03-26-2011 02:47 PM

And to add to that, I did some research, and I have found a patch file to do this, as it has not yet been implemented. But I'm pretty sure the OP doesn't want to compile from source ;)

Bob32 03-26-2011 04:51 PM

As a matter of fact, I'd like that. How would you do that ?

corp769 03-26-2011 04:58 PM

https://bugs.launchpad.net/ubuntu/+s...53/comments/72

Bob32 03-27-2011 12:48 AM

But how do I use it ?
Meaning, how to build from source, where to find the source, etc. ?

Aquarius_Girl 03-30-2011 09:09 AM

Quote:

Originally Posted by Bob32 (Post 4303367)
There is an option to confirm before deleting or emptying the trash, but not sending to the trash

This is just to tell you that I am using Konqueror as my file manager and in the
Settings menu -> Configure Konqueror -> File management -> General, there IS an option for the setting the trash "confirmation" thing. I am not using Nautilus file manager, see if you can shift to Konqueror, it is easier than writing a patch!

Is it necessary for you to use Ubuntu?, you can shift to Kubuntu, Konqueror can work there very easily.

corp769 03-30-2011 12:35 PM

Quote:

Originally Posted by Anisha Kaul (Post 4308501)
This is just to tell you that I am using Konqueror as my file manager and in the
Settings menu -> Configure Konqueror -> File management -> General, there IS an option for the setting the trash "confirmation" thing. I am not using Nautilus file manager, see if you can shift to Konqueror, it is easier than writing a patch!

Is it necessary for you to use Ubuntu?, you can shift to Kubuntu, Konqueror can work there very easily.

Good to know, now I know that for the next time something comes up like this. Thanks Anisha.

Aquarius_Girl 03-30-2011 12:41 PM

Quote:

Originally Posted by corp769 (Post 4308699)
Good to know, now I know that for the next time something comes up like this.

Actually, this option is SET by default in the Konqueror, and I was finding it irritating :D and thus I looked up and found the option to get rid of it!

corp769 03-30-2011 12:41 PM

Quote:

Originally Posted by Anisha Kaul (Post 4308706)
Actually, this option is SET by default in the Konqueror, and I was finding it irritating :D and thus I looked up and found the option to get rid of it!

LOL, Well then there you go, two problems solved at once!

And I noticed you are on your slackware machine - I haven't seen you use it yet, so that's why I called you out... :D

Aquarius_Girl 03-30-2011 12:51 PM

Quote:

Originally Posted by corp769 (Post 4308707)
And I noticed you are on your slackware machine - I haven't seen you use it yet

Some of my virtual friend(s) here at LQ are Slackware fanatics, I got inspired by them, the Slackware community is extremely friendly, polite and encouraging and I was pushed into Slackware and I am not repenting now.

corp769 03-30-2011 01:06 PM

Yeah I still need to install slackware on my one desktop....

brianL 03-30-2011 01:17 PM

If you want KDE on Ubuntu, run:
Code:

sudo apt-get install kde

Aquarius_Girl 03-31-2011 12:38 AM

Quote:

Originally Posted by brianL (Post 4308747)
If you want KDE on Ubuntu

Getting Kde on Ubuntu is not the problem, the problem is changing the default file manager there, this thread was never solved: http://www.linuxquestions.org/questi...9-04-a-771430/ or perhaps I didn't try too hard,

But may be now the things might have changed!

Aquarius_Girl 03-31-2011 01:48 AM

Quote:

Originally Posted by Bob32 (Post 4303367)
There is an option to confirm before deleting or emptying the trash, but not sending to the trash.

I just checked Gnome, there is an option saying "Ask before emptying the trash or deleting files"

Well, then when I pressed the delete key on a folder, it should have asked me, right? It didn't ask! Seems there is a bug.

brianL 03-31-2011 03:52 AM

Quote:

Originally Posted by Anisha Kaul (Post 4309210)
Getting Kde on Ubuntu is not the problem, the problem is changing the default file manager there, this thread was never solved: http://www.linuxquestions.org/questi...9-04-a-771430/ or perhaps I didn't try too hard,

But may be now the things might have changed!

I was commenting on this:
Quote:

Originally Posted by Anisha Kaul (Post 4308501)
Is it necessary for you to use Ubuntu?, you can shift to Kubuntu, Konqueror can work there very easily.

I should have quoted it before. :redface: :)

Aquarius_Girl 03-31-2011 04:04 AM

Quote:

Originally Posted by brianL (Post 4309333)
I was commenting on this:
I should have quoted it before.

I knew you were commenting on that, but my reason for asking the OP to shift to Kubuntu was my inability to change the default file manager in Ubuntu and I thought you were asking him to install Kde since Konqueror is dependent on Kde, hence my above post.

But now I realize that after installing Kde he can "throw away" Gnome totally, I am a tube-light which needs a starter.


All times are GMT -5. The time now is 12:48 AM.