LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Recover Trash in KDE (https://www.linuxquestions.org/questions/linux-general-1/recover-trash-in-kde-303464/)

Cornholio 03-19-2005 03:24 AM

Recover Trash in KDE
 
Hi there!

I made a wrong click yesterday... "Move to trash" in the contextmenu of the trash-icon on the KDE Desktop. And zzzpppp it was gone from the desktop!

Can someone give me a hint how to get it back onto my desktop? Thanks

Sascha.

linmix 03-19-2005 04:06 AM

If you moved to trash you should be able to see it in you r trash-can (icon on desktop: double click --> will open and then drag back to the desktop)

If you don't see the Trash-can, open a terminal (konsole) and type:
$ cd ~/.Trash
$ ls -l

This will give you a list of what's in your trash-can. Then to move it back to where you want it:

$ mv [filename] [location]

e.g. "mv textfile.txt ~/Desktop"

Unfortunately there is no 'restore' function that will automatically put it back where it was, so you have to tell it that.

Cornholio 03-19-2005 04:20 AM

Thanks for your answer...

But I think I maybe have emptied it ... already :-) I found it in some menu KDE puts on the Desktop in a newer version (3.9....) "System" ... I thought I could copy it to the desktop but it didn't work ... but what worked was "Empty Trash" :-)

linmix 03-19-2005 04:23 AM

oops, empty trash is a very definitive move in linux. Undoing a delete is virtually impossible. Hope it wasn't too important!

Cornholio 03-19-2005 06:08 AM

There was nothing important in the trash ... except for the trash itself :-)

Originally I just wanted to empty it, but mis-clicked and moved the trash into the trash :-) And later I emptied it somewhere in konqueror ... I didn't have the idea to simply recover it... damn ... :-)

humble life 01-01-2007 08:36 AM

Quote:

Originally Posted by Cornholio
Hi there!

I made a wrong click yesterday... "Move to trash" in the contextmenu of the trash-icon on the KDE Desktop. And zzzpppp it was gone from the desktop!

Can someone give me a hint how to get it back onto my desktop? Thanks

Sascha.


This, quite simply, shouldn't be possible, I did the same thing, so it is possible, but it really, really shouldn't be possible.

(why create a desktop at all if you're not going to focus on it being a proper desktop?)

Anyhow....

johngreenwood 01-02-2007 01:58 AM

Isn't there anything in ~/.local/share/Trash/files

That seems to be where all my crap ends up after being deleted. Although, I usually just bypass the trash and just get rid of it altogether.

John


All times are GMT -5. The time now is 05:24 AM.