Ticket #3072 (new enhancement)

Opened 5 years ago

Last modified 5 years ago

Please add an option for delete to trash

Reported by: kanliot Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc: gotar@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

I have a slight disability and it means that the confirm dialog after the F8 delete, isn't really helpful to me. More often than not, I will confirm the delete without thinking about it. Usually after I delete something... is when I actually think about deleting it!

Please just a way to change F8 from "rm" to "move to recycle bin." I don't even need a full way to browse the recycle bin and all that stuff. I am not a new user to mc. I need mc because it supports the keyboard better than others.

Change History

comment:1 Changed 5 years ago by gotar

  • Cc gotar@… added

There are 2 things I use:

  1. unmap F8 from delete, make it work on ctrl-F8 instead (needs 2 keys, less risk of accidental invoking),
  2. LD_PRELOAD=/usr/lib/libtrash.so.3 /usr/bin/mc -P [...] in mc-wrapper.sh

comment:2 Changed 5 years ago by ossi

the correct way to implement this is using the XDG trash spec, see http://www.ramendik.ru/docs/trashspec.html.
a relevant patch has been posted in https://mail.gnome.org/archives/mc-devel/2006-May/msg00009.html.

Note: See TracTickets for help on using tickets.