You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Don't click the wrong menu item...

Author (Read 2672 times)

0 Members and 1 Guest are viewing this topic.

Re: Don't click the wrong menu item...
« Reply #4 on: March 31, 2015, 11:40:19 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
It's always better to have a safety feature when deleting files.
You have two options:
1. Use keyboard shortcut by pressing Shift+Delete
It will ask you for confirmation.
2. If you want to use your right-click mouse menu to permanently delete files, then use this as a command for the thunar custom actions:
Code: [Select]
zenity --question --title="Remove..." --text="Do you wish to permanently\nremove the selected file(s)?"; if [ $? = 0 ] ; then rm -r %F ; fi
 

Re: Don't click the wrong menu item...
« Reply #3 on: March 31, 2015, 02:21:59 AM »
 

JmaCWQ

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 44
    • View Profile
Thanks, I do use them when I have a lot of copying/cutting/pasting to do.
I normally use the mouse if it's only a one-time thing like it was supposed to be yesterday.
I removed the Delete Immediately option from the right click menu so it can't happen again.
Back to having a prompt for yes or no that gives a chance to keep something if it's a mistake.
Ran Photorec immediately afterwards & it found everything except the files I wanted to keep that weren't backed up on another drive.
 

Re: Don't click the wrong menu item...
« Reply #2 on: March 30, 2015, 10:26:18 PM »
 

shengchieh

  • Forum Regular
  • ***
  • 155
    Posts
  • Reputation: 46
  • Linux Lite Member
    • View Profile
    • Tux's Links
Learn some shortcuts - easier and safer.  The ones I use alot are

ctrl-c copy
ctrl-v paste
ctrl-x cut

There are others - learn as you go.

Sheng-Chieh
 

Don't click the wrong menu item...
« Reply #1 on: March 30, 2015, 02:26:56 AM »
 

JmaCWQ

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 44
    • View Profile
Hey All,

Just a heads-up so people don't make the same stupid mistake I just did.
If you have the Delete-Immediately command in the right-click menu make sure you don't hit it by mistake on the desktop when trying to hit Paste (right below it).
If you do you'll lose everything you had on the desktop & there doesn't appear to be a way to stop it once it starts  >:(
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section