translated

This commit is contained in:
geekpi 2015-02-09 20:45:11 +08:00
parent cbe88e4252
commit 524c6888e9
2 changed files with 37 additions and 39 deletions

View File

@ -1,39 +0,0 @@
Translating---geekpi
Fix Cannot Empty Trash In Ubuntu 14.04 [Quick Tip]
================================================================================
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/02/empty-the-trash.jpg)
### Problem ###
The other day I ran in to an **issue while emptying trash in Ubuntu 14.04**. I right clicked on the trash icon and chose Empty Trash option, like I always do. It took some time with a progress bar showing that it was in the process of deleting the files in trash. But it just got stuck at it and I got ended with a frozen Nautilus File manager. I had to kill it via terminal.
But this was painful because the files in trash were still there. And my repeated attempts to delete the trash resulted in same frozen window.
### Solution ###
Honestly, I do not know what caused this issue in the first place. But I do have a solution for you if you too are facing issue in deleting the trash via GUI in Ubuntu 14.04 or 14.10.
Open a terminal and use the following command:
sudo rm -rf ~/.local/share/Trash/*
Now be careful in what you type. You are using the remove command with super user privileges. I trust you that you wont be deleting any other files or directory.
The above mentioned command is deleting all the files in Trash directory. In other words, it is emptying the trash in command line way. Once you use that command, youll see that the Trash has been emptied. If you delete any new files, you should not be having the same freezing Nautilus issue again.
### Worked for you? ###
I hope this little tip worked for you and you can empty the trash without any further issue in Ubuntu or any other Linux distribution. do let me know if you face any issue.
--------------------------------------------------------------------------------
via: http://itsfoss.com/fix-empty-trash-ubuntu/
作者:[Abhishek][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/abhishek/

View File

@ -0,0 +1,37 @@
在Ubuntu 14.04 中修复无法修复回收站[快速提示]
================================================================================
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/02/empty-the-trash.jpg)
### 问题 ###
**无法在Ubuntu 14.04中清空回收站的问题**。我右键回收站图标并选择清空回收站就像我一直做的那样。我看到进度条显示删除文件中过了一段时间。但是它停止了并且Nautilus文件管理也停止了。我不得不在终端中停止了它。
但是这很痛苦因为文件还在垃圾箱中。并且我反复尝试清空后窗口都冻结了。
### 方案 ###
老实说我不知道什么导致了这个问题。但是我有一个解决方案如果你在Ubuntu 14.04或者14.10遇到这个问题的话。
打开终端并使用下面的命令:
sudo rm -rf ~/.local/share/Trash/*
这里注意你的输入。你使用超级管理员权限来运行删除命令。我相信你不会删除其他文件或者目录。
上面的命令会删除回收站目录下的所有文件。换句话说这是用命令清空垃圾箱。使用玩上面的命令后你会看到垃圾箱已经清空了。如果你删除了所有文件你不应该在看到Nautilus崩溃的问题了。
### 对你有用么? ###
我希望这篇贴士对你有用今后你也不会在Ubuntu或者其他发行版中再遇到相同的问题。如果你遇到任何问题请让我知道。
--------------------------------------------------------------------------------
via: http://itsfoss.com/fix-empty-trash-ubuntu/
作者:[Abhishek][a]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/abhishek/