Password Protect on Trash Bin?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Incentive I.C

Password Protect on Trash Bin?

Post by Incentive I.C »

When I click empty trash is there a way i can make it make me put in my password so I can be sure i wont delete anything by accident.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29607
Joined: Wed Jul 06, 2011 3:58 am

Re: Password Protect on Trash Bin?

Post by xenopeek »

I don't think that's trivial to do, probably requires changes to your file manager. How about instead you adopt the habit to open the Trash folder, look through the list of files, and only then click the Empty Trash button there. That's what I do.
Image
kukamuumuka

Re: Password Protect on Trash Bin?

Post by kukamuumuka »

One chewing gum solution is to make a sudo Trash script .. :lol:

Code: Select all

find . -name "Trash*"
nano ~/trash.sh
chmod +x ~/trash.sh
... the contents
#! /bin/sh
gksudo caja ~/.local/share/Trash/files
Locked

Return to “Software & Applications”