What to do if you can't use the trash in Lubuntu 18.04.

A few months ago, I quit Windows altogether and moved to Lubuntu 18.04, but for some reason I couldn't use the trash can, so here's what to do at the time.

phenomenon

When I tried to move the file to the trash, I got an error for some reason (I forgot to write down the content of the important error). It was a phenomenon that I could not move the file to the trash.

Very easy remedy

The remedy was very simple. That is, delete the trash folder as root and recreate the trash folder with normal privileges.

Open file manager with root privileges

Normally, the trash directory is located in "~ / .local / share", so open it first. For Lubuntu, the standard file manager is PCManFM, so you can do the following:

sudo pcmanfm ~/.local/share

Delete the Trash folder.

There is a "Trash" folder there. That is the trash folder in question. Delete that folder. At this time, since the trash can is not functioning normally, it can be completely deleted by pressing the Delete key while pressing the Shift key, so it is completely deleted by this method.

Recreate the Trash folder.

Now move to the "~ / .local / share" directory with normal permissions. If you can move it, create a folder named "Trash" there. This is the end.

Try it to work.

Log out, log in again, and put the appropriate files in the trash. If it works, you should have the data there and empty the trash.

Recommended Posts

What to do if you can't use the trash in Lubuntu 18.04.
What to do if you can't use scikit grid search in Python
What to do if you can't log in as root
What to do if you can't use WiFi on Linux
What to do if you can't hit the arrow keys in the Python interactive console
What to do if you can't find PDO in Laravel or CakePHP
What to do if you can't pip install mysqlclient
What to do if you get "coverage unknown" in Coveralls
What to do if you can't sort files with subscripts
How to install and use pyenv, what to do if you can't switch python versions
What to do if you can't install pyaudio with pip #Python
What to do if you get a minus zero in Python
What to do if you can't build your project with Maven
What to do when you get "I can't see the site !!!!"
What to do if pipreqs results in UnicodeDecodeError
What to do if you can't find well with grep's -f option
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if you get a "No versions found" error in pipenv
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
What to do if a UnicodeDecodeError occurs in pip
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if a version error occurs in the selenium Chrome driver
What to do when you can't bind CaboCha to Python
What to do if the Microsoft Store opens even if you run python on Windows
What to do if you get `No kernel for language python found` in Hydrogen
What to do if the print command itself causes an error in Maya python
What to do if you get "(35,'SSL connect error')" in pycurl (one of them)
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if the progress bar is not displayed in tqdm of python
What to do if you don't want to use Japanese column names when using ortoolpy.logistics_network
What to do if Python does not switch from the System version in pyenv
What to do if you get the error ʻERR_FEATURE_UNAVAILABLE_ON_PLATFORM` when using ts-node-dev on Linux
What to do if you run python in IntelliJ and end with an error
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if the package dependency cannot be repaired
What to do if pip gives a DistributionError in Homebrew
What to do if a 0xC0000005 error occurs in tf.train.start_queue_runners ()
If you want your colleagues to use the same language
What to do if you lose your EC2 key pair
What to do if yum breaks
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
[* CentOS 6.10] What to do if you cannot add the IUS Community Project repository on CentOS 6.5 (VirtualBox)
Make a note of what you want to do in the future with Raspberry Pi
What to do if you get Swagger-codegen in python and Import Error: No module named
What to do if you get a Cannot retrieve metalink for repository error in yum
What to do if you get an error when running "certbot renew" in CakePHP environment
What to do if you get an Undefined error when trying to use pip with pyenv
What to do if you get a UnicodeDecodeError with pip install
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if the inode is exhausted on EC2 Linux
What to do when the value type is ambiguous in Python?
What to do if you can't create a virtual environment using venv even though you're following the Django official website
What to do if the library doesn't load when you run it in PyCharm, even though it works fine on terminal
What to do if you have corrected the mistake in the IP address of the zone file but cannot connect to the DNS server
What to do if you cat or tail a binary file and the terminal is garbled
What to do if you get angry with'vertices' must be a 2D list ... in matplotlib arrow
CommandNotFoundError: Your shell has not been properly configured to use What to do if you get'conda activate'
[Django] What to do if the model you want to create has a large number of fields
What to do if you get an error saying c compiler cannot create executables in configure
What to do if you get a must override `get_config` error when trying to model.save in Keras