Hi When you delete a file in Ubuntu it gives you no warning. Now I know that sounds pretty stupid and most of the time it is a time saver as you don't have to click 'Yes' at the 'are you sure' button, but it does mean things can accidentally get sent to the bin. Is there a way of getting it to ask before sending it to the bin? Simon -- --- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal. --- Asus EeePC 701SD running Ubuntu 10.10. Apple PowerBook G3 'Pismo' running OSX 10.4. Sony Ericsson Xperia X10 Mini Pro running 2.1
At Thu, 24 Feb 2011 15:31:25 +0000, Simon Royal wrote:
When you delete a file in Ubuntu it gives you no warning.
Is there a way of getting it to ask before sending it to the bin?
When you say "Ubuntu", what you probably mean is "Nautilus", which is the GNOME file manager. Google will be able to help you find out a) whether you can and b) how to enable delete confirmation in Nautilus. If I'm wrong about your meaning, $ alias rm='rm -i' may be of interest. Best, Richard -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Richard Lewis ISMS, Computing Goldsmiths, University of London Tel: +44 (0)20 7078 5134 Skype: richardjlewis JID: ironchicken@jabber.earth.li http://www.richardlewis.me.uk/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ------------------------------------ Every time you send an MS Office document, Bill Gates kills a kitten. ------------------------------------
On Thu, 24 Feb 2011 15:31:25 +0000 Simon Royal <mrsimonroyal@gmail.com> allegedly wrote:
Hi
When you delete a file in Ubuntu it gives you no warning. Now I know that sounds pretty stupid and most of the time it is a time saver as you don't have to click 'Yes' at the 'are you sure' button, but it does mean things can accidentally get sent to the bin.
Is there a way of getting it to ask before sending it to the bin?
Simon
Why do you care? If you delete from the GUI, the file simply goes to the wastebasket from whence you can retrieve it if you wish. Now rm of course would be different.... Mick --------------------------------------------------------------------- The text file for RFC 854 contains exactly 854 lines. Do you think there is any cosmic significance in this? Douglas E Comer - Internetworking with TCP/IP Volume 1 http://www.ietf.org/rfc/rfc854.txt ---------------------------------------------------------------------
On 24/02/11 15:54, mick wrote:
Why do you care? If you delete from the GUI, the file simply goes to the wastebasket from whence you can retrieve it if you wish.
Agreed a good UI principle is that no reversible action should be prompted for confirmation. If for whatever reason nautilus cannot put the files in the wastebasket (say it is a network volume) then ISTR it does indeed prompt. I think possibly this behaviour can be changed in gconf-editor.
Hi,
I think possibly this behaviour can be changed in gconf-editor.
I don't think it can, actually, I think Nautilus just confirms for full delete or empty trash, and I think that flavour of trash confirmation is enabled by default in recent Ubuntu Gnome. Simon - if you really want this functionality in Nautilus, one option might be to install trash-cli, write a script along the lines of #!/bin/bash if zenity --question --title Send to trash? --text "Are you sure you want to send the following items to the trash can? $*"; then trash -- $*; fi make it executable, and then try and bind the delete key to run that script - this last bit's the most likely to be problematic. I try to avoid using Nautilus where I can, and gregedit^gconf-editor doubly so, so I shan't advise how to do that in an OTOH email. As I say, I'd investigate the keybindings bit, first. Regards, Marcus Harris.
On 24/02/11 15:31, Simon Royal wrote:
Hi
When you delete a file in Ubuntu it gives you no warning. Now I know that sounds pretty stupid and most of the time it is a time saver as you don't have to click 'Yes' at the 'are you sure' button, but it does mean things can accidentally get sent to the bin.
Is there a way of getting it to ask before sending it to the bin? get "nautilus-actions" from the ubuntu repositories. it lets you configure the actions of nautilus and add more as you desire. accessed from system -> preferences -> nautilus actions config you may not be able to change the action of delete but you should be able to add a new action to do what you want.
see the home page at http://www.nautilus-actions.org/ -- nev
Simon Royal wrote:
Hi
When you delete a file in Ubuntu it gives you no warning. Now I know that sounds pretty stupid and most of the time it is a time saver as you don't have to click 'Yes' at the 'are you sure' button, but it does mean things can accidentally get sent to the bin.
That's the thing about Linux - it presumes you know what you are doing, and it makes you careful.
Is there a way of getting it to ask before sending it to the bin?
Switch to Eee's Tellytubby Linux - one of the things about it that annoys me most is the way it asks whether I want to do that... ...when I've just told it to do something - one of the reasons I'm dumping it. -- Tony Anson www.girolle.co.uk/
participants (7)
-
Anthony Anson -
Marcus Harris -
mick -
nev young -
Richard Lewis -
Simon Royal -
Wayne Stallwood