Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
So I was using nautilus this morning and trashed my desktop folder where I had all of my important stuff ( sudo commands, on line instructions, pictures, letterheads, everything ) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676

    Dumbest Thing I Ever Did!!


    So I was using nautilus this morning and trashed my desktop folder where I had all of my important stuff ( sudo commands, on line instructions, pictures, letterheads, everything ) and unlike windows Ubuntu does not have a system restore.
    This Really Hurts!!
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    PhotoRec and/or TestDisk are usually good tools for recovering lost data:

    http://www.cgsecurity.org/wiki/PhotoRec

    http://www.cgsecurity.org/wiki/TestDisk

    You can't always recover your lost data with them, but they work quite often. Good instructions for using them can be found on their webpages above. I prefer running such utilities from a liveCD, like the Parted Magic LiveCD, or other similar live utility disk.
    oz

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,304
    Your data may be in the trash Lucky, if you don't have a trash applet use the file manager to look for /home/lucky/.Trash which is a hidden folder. It may be at /home/trash/.local/share/Trash, which is also hidden. Assuming that lucky is your username. Hopefully, you'll find your things in there.

    Yeah it hurts but I don't know anyone who hasn't done it at some point.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  4. #4
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    Oz, the tar file gets corrupted while downloading.

    Elija what is the terminal command to open my files?
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  5. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,304
    Use nautilus. Press Ctrl + h to see hidden files. There will be a lot of them. You should see a .Trash or .local/share/Trash. You can simply drag and drop files out. There may even be a shortcut to your trash in the left pane of nautilus.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  6. #6
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    Thank Elija! I used sudo nautilus and then pressed contol + h and I found the " desktop " folder at root/.local/share/Trash/files
    but I keep getting the message that I do not have permission to handle them. Is there a way to overcome that?
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  7. #7
    Linux Newbie reginaldperrin's Avatar
    Join Date
    Oct 2010
    Location
    Christchurch, New Zealand
    Posts
    122
    Quote Originally Posted by cousinlucky View Post
    I keep getting the message that I do not have permission to handle them. Is there a way to overcome that?
    You can start nautilus as root from the terminal by typing "gksudo nautilus". This should give you the appropriate permissions to do what you want.

    Hope this helps

  8. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,159
    Lucky,

    I don't think I can add anything to the advice that the others are giving you. Hope you get it sorted out, PDQ!

    -RM
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  9. #9
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    elija had it right here.
    Unless you removed them via a terminal command, your files should be available for recovery.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  10. #10
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    I just re-read all of your replies, Lucky.
    Open a terminal. You will be in your /home directory.
    Code:
    cd .local/share/Trash
    Once there, do
    Code:
    ls -a
    Anything with nautilus in the name, you can cp back to your home directory.


    sudo nautilus is not needed.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •