LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   When I click the "Trash" icon ,I encounter an error.My trash bin is broken! (https://www.linuxquestions.org/questions/linux-newbie-8/when-i-click-the-trash-icon-i-encounter-an-error-my-trash-bin-is-broken-4175528322/)

mirage1993 12-15-2014 08:04 AM

When I click the "Trash" icon ,I encounter an error.My trash bin is broken!
 
1 Attachment(s)
My OS is CentOS6.4,when I double click the "Trash" icon, I encounter an error.
like this picture
Attachment 17130

I have searched many information,but it's in vain.
How can I do to solve this problem.
Thanks!

smallpond 12-15-2014 08:51 AM

Run this command in a terminal window and post the output:

Code:

cat ~/Desktop/trash.desktop

mirage1993 12-15-2014 08:59 AM

Quote:

Originally Posted by smallpond (Post 5284898)
Run this command in a terminal window and post the output:

Code:

cat ~/Desktop/trash.desktop

The output is "No such file or directory"...

joe_2000 12-15-2014 09:45 AM

Quote:

Originally Posted by mirage1993 (Post 5284899)
The output is "No such file or directory"...

It seems to be spelled with an uppercase T. Maybe try

Code:

cat ~/Desktop/Trash.desktop

EDDY1 12-15-2014 10:33 AM

http://ubuntuforums.org/showthread.php?t=1698960

mirage1993 12-15-2014 07:26 PM

Quote:

Originally Posted by joe_2000 (Post 5284918)
It seems to be spelled with an uppercase T. Maybe try

Code:

cat ~/Desktop/Trash.desktop

In fact ,This file is also not exist

---------- Post added 2014-12-16 at 09:27 ----------

Quote:

Originally Posted by EDDY1 (Post 5284938)

I have read this post.But , in fact ,Trash.Desktop is not exist on my system

EDDY1 12-15-2014 11:36 PM

I just checked my trash it's at /home/.local/share/Trash

mirage1993 12-16-2014 01:52 AM

Quote:

Originally Posted by EDDY1 (Post 5285311)
I just checked my trash it's at /home/.local/share/Trash

yes,you are right
Now,I can only empty my Trash by
Code:

rm -rf ~/.local/share/Trash/*

EDDY1 12-16-2014 11:34 AM

If the trash exists then all you need is a link to it.


All times are GMT -5. The time now is 12:29 AM.