Re: gmc and 'trash'




> I'm using a checkout of mc from late last night..
> I'm trying to use a symlink to /dev/null as a trashcan, where I can drag
> items to it and have them deleted.  I've set the default drop option to
> 'rm -rf %s' and tried with the 'use default' button checked.  Neither seem
> to work.  I know I'm doing something wrong, but what command could I put
> in the default drop to make it either remove the files when dropped on, or
> bring up the GMC "delete" dialog?

Well, make a link from /bin/rm to your ~/desktop/Trashcan file.

Then with the properties, make the drop action be "rm -f %q"

[ btw, a real trashcan is in the works now ]

Best wishes,
Miguel.
-- 
miguel@gnu.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]