LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2006, 06:03 AM   #1
floydking
Member
 
Registered: Nov 2005
Location: Wales, u.k.
Distribution: Suse 11.1
Posts: 66

Rep: Reputation: 15
Question My Trash Can Has Vanished!


Hi!
Yesterday my 'Trashcan' suddenly vanished and I haven't been able to trace it since! Although I'm still able to right click and send things to the 'Trashcan' and I'm also able to go on to 'Konqueror's' main screen to delete stuff completely from there, the 'Trashcan's' presence is no longer on my desktop. I have tried to make a copy from 'Konqueror's' main screen, but there seems to be no way to do this.
A minor problem I know, but I would still be glad to have any ideas please.
 
Old 04-13-2006, 06:36 AM   #2
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Rep: Reputation: 30
1)Go to ~/Desktop/
2)create file named trash.desktop
3)open this file in a text editor
4)put following code in it:
Code:
[Desktop Entry]
Type=Link
URL=trash:/
Encoding=UTF-8
Icon=trashcan_full
EmptyIcon=trashcan_empty
Name=Trash
Comment=Contains removed files
OnlyShowIn=KDE
5)save and voila!

Remember, you can always access your trash from konqueror if you type trash:/ in the address bar
 
Old 04-13-2006, 07:27 AM   #3
floydking
Member
 
Registered: Nov 2005
Location: Wales, u.k.
Distribution: Suse 11.1
Posts: 66

Original Poster
Rep: Reputation: 15
That's great! Thankyou!
 
Old 06-16-2006, 06:45 AM   #4
Iuconnu
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
Related query

I have been asked to alias "rm" such that content is sent to the trash can instead of being deleted outright.
So I need to know where trash is kept.
I thought it was simply ~/Desktop/trash, but this directory is empty, while the trashcan contains quite a lot of stuff. I.e. where is the stuff that is inside trash:/

Also, is there any facility to remove files from trash if they exceed a certain age? Alternatively, does anyone have a script I can tie to cron that can do the same?

Oh yes, installed OS is Suse 9.3 - 10.1
 
Old 01-29-2007, 04:53 PM   #5
MonkeeOfEvil
LQ Newbie
 
Registered: Aug 2005
Location: Houston, Tx.
Distribution: Ubuntu 6.10
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by Iuconnu
I have been asked to alias "rm" such that content is sent to the trash can instead of being deleted outright.
So I need to know where trash is kept.
I thought it was simply ~/Desktop/trash, but this directory is empty, while the trashcan contains quite a lot of stuff. I.e. where is the stuff that is inside trash:/

Also, is there any facility to remove files from trash if they exceed a certain age? Alternatively, does anyone have a script I can tie to cron that can do the same?

Oh yes, installed OS is Suse 9.3 - 10.1
your trash should be located at: /home/username/.Trash


edit: oh crap, this is an oooold thread. Sorry, someone sent me a link pointing to this thread. Woops...sorry for digging up old stuff
 
Old 01-29-2007, 05:21 PM   #6
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
Quote:
Originally Posted by MonkeeOfEvil
your trash should be located at: /home/username/.Trash


edit: oh crap, this is an oooold thread. Sorry, someone sent me a link pointing to this thread. Woops...sorry for digging up old stuff
In my opinion that is not a problem since there was an unanswered question in the thread that now has a response.
 
  


Reply

Tags
trashcan



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
via sound has vanished davidsrsb Slackware 3 12-07-2005 12:08 AM
one of my threads vanished rusty_slacker LQ Suggestions & Feedback 13 01-11-2005 02:30 PM
I changed the trash can icons but now the full trash can icon doesn't show? Why? Ausar Linux - Newbie 6 08-04-2004 01:59 PM
My Display has vanished. Hayz Linux - Newbie 3 11-17-2003 12:06 AM
ftpaccess vanished? raymond Linux - General 1 11-09-2002 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration