Ask Ubuntu Asked by The Student on November 6, 2021
My Trash bin is not opening. It just shows the “loading” mouse cursor forever.
Any idea what can be wrong?
–update (after the answer)
After emptying the trash solved also a problem that used to occur when I remove the pendrive, saying that “computer:/// could not be localized” or something like this..
I had more than 20.000 items (files or folders) in the trash, leading to the same problem
First I copied a file I wanted to restore from ~/.local/share/Trash/files/
using Dolphin or Thunar (nautilus and nemo failed) into the place where I want it to be restored.
I installed
sudo apt install trash-cli
then you can plot all files into trashList.txt using:
trash-list >> trashList.txt
(Terminaloutput would be unusable, since trash contains too many files, therefore redirecting to trashList.txt)
If you want to delete files older than 366 days you can use
trash-empty 366
Alternatively you can install autotrash
pip install --user autotrash
and delete files older than 365 days:
autotrash -d 365
This answer uses
Answered by JoKalliauer on November 6, 2021
I had the same problem and it solved deleting the nautilus hidden directory at user's home. Before deleting, you can rename it to see if the problem solve
cd
mv .nautilus/ .nautilusx
Answered by Ana cleto on November 6, 2021
Honestly, no idea.
You might have more success by loading it through a terminal. Most applications are quite vocal about their crashes and failures but nautilus
is comparatively silent. Perhaps running it like this killall nautilus && nautilus trash:///
might show you the problem.
You can forcibly delete everything in trash with this (but remember it will delete everything in there):
rm -rf ~/.local/share/Trash/*
If you want to rescue something from the trash, I suggest you browse it and pluck out what you need. You can do this from the terminal and you should also be able to do it via nautilus.
If you find the precise problem, or it persists, make sure you file a bug (ubuntu-bug nautilus
)
Answered by Oli on November 6, 2021
Three possibilities come to mind, I'll start with the easier first:
There are multiple approaches to clearing the problem:
trash-cli
which gives you command line programs such as list-trash
and empty-trash
, these are most likely "safest" in terms of keeping your trash can in proper form.$HOME/.local/share/Trash
which can be inspected and manipulated with ls
and rm
from the command line/var/log/kern.log
and /var/log/syslog
for complaints about hard errors on your harddrive.Answered by msw on November 6, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP