Questions tagged [trash]

The Trash/Wastebasket/Rubbish Bin is a place for files that have been removed from their original folder, but are still available to easily restore if the user made a mistake or changes their mind.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Cannot delete or restore files from Trash

When I try to delete a file from Trash I get the message Error while deleting There was an error getting information about "file.txt". Timeout was reached If I remove the file using the rm ...
0 votes
1 answer
22 views

I want to remove broken files from an USB-Stick

I tried setting up a backup on my USB-Stick but at some point it got randomly unmounted and now I have a folder with broken files. I also can't use the trash on the stick anymore because it says that ...
1 vote
2 answers
58 views

How can I find the files that Filelight isn't showing? DiskFree shows 227GB used; Filelight shows only 89GB used

Ubuntu 20.04, with KDE installed on top. I'm running low on space on my root drive. Which isn't that big of a deal because I can always just move things to the other drives on my system. Normally, I'd ...
0 votes
0 answers
33 views

could not display content of trash:///

Basically i deleted kinda of every "trash" file through Fsearch - the app (by a mistake), and now even if i recreated .local/share/Trash/expunged-files-info, if i try to access the trash ...
0 votes
1 answer
34 views

Unable to send files to trash in hard drive. "File1 can't be put in the trash. Do you want to delete it immediately?" option coming

I have a hard drive(NTFS) which is shared between my dual booted ubuntu and windows 11. he problem is when I try to delete something in hard drive it asks to permanently delete. But in /home, I am ...
0 votes
1 answer
77 views

How can I completely purge trash service with their functionality from ubuntu 20.04?

How can I completely purge trash service with their functionality from ubuntu 20.04? I want to fully remove this service daemon with program files and package if it exist. All advises about that ...
0 votes
1 answer
76 views

Trash Folders In ZFS Snapshots Recognized As Official Trash

When I run gvfs-ls trash:// or go to Trash in nautilus, I see the trash from my ZFS snapshots. This should not be happening. I'm sure this is impacting performance issues I have been seeing lately. ...
0 votes
2 answers
369 views

accidentally removed folder as a root

I did sudo -i and rm -r folder ...I typed the wrong folder and deleted a folder I didnt want to delete. Bad practice I know :( Where did the folder end up? Any chance of retrieve? I am not sure where ...
0 votes
0 answers
35 views

Trash location unlinked from /home/username/.local/share/Trash and no icon on Desktop

As pointed out in the title I can no more interact with the Trash using the graphical interface. Indeed when I go to the Trash with the nautilus GUI I get the following message This location could ...
2 votes
0 answers
21 views

Is using snap and using "move to trash" mutually exclusive when using home directories on alternative partitions

I slowly started to accept that Ubuntu is forcing its users to use snap instead of apt (which I've used for 20+ years and like). Having been around for a few years, I'm offloading my home directories ...
0 votes
1 answer
53 views

Windows files stuck in Ubuntu trash

I have a dual boot (ubuntu/windows8.1) system. In ubuntu's file manager, popped into the windows partition and deleted a lot of files in some of the user's directories. However, I couldn't delete them ...
0 votes
1 answer
482 views

Recover a file after empty Trash

How can I recover a file from Trash after I deleted it permanently from there? I've tried many tools like "extundelete" and "foremost" but without success. If someone could give me ...
0 votes
0 answers
83 views

Wastebasket not enabled for NFS mounted folders

I have been unable to find a relevant answer to this problem, although it's the sort of thing that is commonly reported on the web. I recently migrated my existing HDD drives to a new Synology NAS ...
  • 1
1 vote
0 answers
32 views

Ubuntu had my trash recovered after reinstalling

So I removed Ubuntu from my computer and installed Windows 11. I didn't empty my trash before I removed ubuntu. After that, I reinstalled Ubuntu, but, the trash had items in it?! I open the trash and ...
-1 votes
1 answer
446 views

How to locate trash directory containing files deleted from php application on ubuntu

Need to locate the trash directory where deleted files from a php application are stored. Can anyone help with the trash directory on an ubuntu server machine online?
  • 1
1 vote
0 answers
12 views

Shift + delete sends to trash for desktop files [duplicate]

I'm on Ubuntu 20.10. When I use shift+delete in the file manager, I get a confirmation dialog asking if I want to permanently delete the files, and if I click yes, they're permanently deleted. However,...
0 votes
0 answers
147 views

How to enable or force files sent to “trash folder” when user deletes any files over FTP client (ubunut18.04 server OS)

We have linux server with OS as "Ubuntu 18.04 Server", we use bitvise ssh client or other ftp client to access our server. So deleted files should be send to "trash folder" when ...
  • 1
0 votes
1 answer
125 views

restore __pycache__ folder from trash ubuntu 18.04

I accidentally removed pycache folder in my computer running ubuntu 18.04 lts and when I try to restore it gives me the error message Item in the trash may not be modified How to fix this?
0 votes
0 answers
312 views

I can't able to find Trash directory in my Ubuntu 20.04 Server? Is that not existing by default?

I have installed fresh Ubuntu Server image version 20.04 in the nested azure VM. I have copied certain files in /var/.../files/ directory and deleted those files using rm * command. After copied the ...
  • 101
1 vote
1 answer
118 views

The item cannot be restored from trash

I don't know why all my files and folders in home location starts appearing on desktop so,I deleted all the files and folders on desktop as i thought that they are temporary after the deletion of ...
  • 415
1 vote
1 answer
86 views

Ubuntu mate 20.04 I am unable to delete the Trash files. I have tried sudo rm -rf ~/.local/share/Trash etc but the files remain

As in the title I have used the file manager with admin permissions and cannot delete files using shift delete. I have tried all the suggestions on Ask Ubuntu without success. help
0 votes
0 answers
49 views

No access to trash:// neither to recent:// from file manager

When I try to access trash from file manager (Nautilus or Nemo), I get an error message The folder contents could not be displayed Sorry, could not display all the contents of "trash": ...
6 votes
2 answers
702 views

Why do I only Have the Option to Delete Files Permanently?

I have noticed that when interacting with files on other drives, I only have the option to delete files permanently, and I don't have the option to send them to the trash instead. This creates a ...
  • 233
6 votes
5 answers
6k views

Ubuntu 21.04 remove trash, user and drive icon from desktop?

I want to remove the trash icon, the home icon as well as the drives from my desktop. I've removed them in Ubuntu 20.04, but after updating, they were there again: I tried: gsettings set org.gnome....
  • 373
0 votes
0 answers
138 views

No trash files in Trash or .Trash-$UID after deleting

When I delete files they do not end up in the Trash, ~/.local/share/Trash or the Trash-$UID folder (partition). The folder exists, but the expunged, files and info folder in them are always empty. I ...
  • 101
1 vote
1 answer
115 views

Trash Bin does not work properly

If I show the trash icon in the desktop, there will be nothing on the desktop. In addition, if I right-click the trash bin on the dock, there is no option to empty it. I am running Ubuntu 20.10. ...
2 votes
1 answer
368 views

Why does ubuntu's "move to trash" option not exist?

I tried to delete the file on the secondary hard disk, but there is no "Move to trash" option. What is the solution?
  • 209
2 votes
1 answer
182 views

Enabling Ubuntu dock on GNOME adds unremovable trash icon

Here's what my favorites bar (only shows on the applications panel) looks like this without Ubuntu dock enabled: But when I enable Ubuntu dock, here's what my favorites bar looks like If I right ...
  • 133
0 votes
0 answers
26 views

The screen is black using latest VNCview 6.21.118 X64(Jan 14 2021) to connect build server Ubuntu

The screen is black with only "trash" and "documents" using latest VNCview 6.21.118 X64(Jan 14 2021) to connect build server Ubuntu 16 Dev Server on MacBook Pro. I used the line ...
0 votes
1 answer
358 views

i ran this command " sudo rm -r -f /home/fille/Desktop/"

i ran this command " sudo rm -r -f /home/fille/Desktop/" desktop is gone including the trash bin and i get this error when i try to create a new folder from my desktop," see image 1 &...
0 votes
1 answer
734 views

Deleted everything in Jupyter, cannot recover files from Trash

I promise I already searched for this! The problem I am facing is that I deleted all of my directories, or at least all of the ones that showed up in Jupyter Notebook. Why, you ask? Because I am a ...
0 votes
1 answer
278 views

Is it possible to schedule trash cleaning?

I was wondering if it is possible to do this, because I have to delete a lot of files during job day, and I prefer to do it on interface and no using sudo rm, so if it's possible... how? For example, ...
0 votes
1 answer
215 views

How to point Terminal to an external hard drive, and then manually delete its Trash

I am fairly new to Linux, Ubuntu, etc. I am running LUbuntu 18.04.5 on an i386 machine. Please note that I need to be given explicit instructions whenever I have to use Terminal (command line). I want ...
  • 163
3 votes
1 answer
1k views

How do you access an external USB hard drive and empty its Trash folder?

I am fairly new to Linux, Ubuntu, etc, I am running lUbuntu 18.04.5. Please note that I need to be given explicit instructions whenever I have to use Terminal (command line). With my being so ...
  • 163
1 vote
1 answer
808 views

Recycle Bin in Kubuntu

good to everyone. Happy New Year. I have a few months in the linux world and Xubuntu 20.04 and later Xubuntu 20.04.1 are my default operating systems on my Acer mini laptop. I have another PC to which ...
0 votes
1 answer
359 views

Cannot delete files from trash

I am not able to delete 2 png files from trash. However I am able to delete other files. When i click on empty in the trash nothing is happening and when i select both the files and click on remove ...
0 votes
1 answer
538 views

Gsettings Remove Desktop Icons Ubuntu 20.04 LTS

I used to use gsettings set org.gnome.desktop.background show-desktop-icons false to remove desktop icons from Ubuntu 18.04. But this no longer works on Ubuntu 20.04. Why is it not working? Edit I ...
0 votes
1 answer
435 views

What are the contents of contents of ~/.local/share/Trash/expunged …?

I see the other thread on deleting the contents of ~/.local/share/Trash/expunged, I would like to know what those files are, I have 1 massive 108GB gz compressed file. Is that data? if I decompress ...
  • 14.3k
1 vote
0 answers
40 views

Deleted files don't appear in trash bin of mounted / external drives

I am using Ubuntu Studio 20.04 LTS. Apart from my home folder, I am using two extra physical hard-drives (/mnt/WORK and /mnt/SAVE). Now, whenever I delete files on these drives by hitting "del&...
0 votes
0 answers
49 views

Files (nautilus) show files in Trash that not exists any more

My Files window (nautilus) in Ubuntu 20.04.1 LTS show some files in Trash folder and alert with not have sufficient permissions to delete message when I try delete them, and simultaneously in terminal ...
  • 253
3 votes
1 answer
200 views

What happens when we move files/folders to trash as root user?

So, earlier this day, I've mistakenly moved to trash a file of around 80M as a root user from nautilus. And then after realizing about what a mistake I made I had no choice left but to ask here at ...
2 votes
2 answers
351 views

How to mount individual user directories (Downloads, Pictures, etc) to different hard drives

I have my system running on a BTRFS partitioned SSD. I understand that some directories within the /home/user/ directory would benefit from being on the SSD, like .local, .config .Applications, etc. ...
1 vote
3 answers
2k views

How to recover deleted files from Trash on NAS?

I have inadvertently deleted a large number of files from a directory on a file server (Synology DiskStation NAS). I deleted them using Double Commander on a client PC running Ubuntu Studio 18.04. If ...
  • 306
0 votes
1 answer
106 views

Failing to configure automount on ntf partition on Ubuntu 20.04

let me give some context: I have a dual booting system (ubuntu 20.04 + Windows 10, over UEFI). Both SOs in the same disk (ssd nvme on m.2 port). Additionally a have a shared partition (same disk) with ...
1 vote
0 answers
90 views

Restoring files from trash in Space File Manager

I'm using Space File Manager in my Ubuntu 18.04 as a substitute for Nautilus File Manager. But SpaceFM doesn't have an option to move deleted files to trash. Instead it deletes them permanently. I ...
1 vote
1 answer
205 views

Edit "Places" in main menu, Ubuntu 18.04 with Gnome Classic

When I left-click on the "Main Menu" icon on my control panel (if that's what we call it) it pulls up a menu with sub-menus for "System Tools" etc. but also one called "Places&...
2 votes
1 answer
47 views

Script does not empty trash containing .deb files [duplicate]

This script works with any file except .deb files? Anyone know why? #!/bin/bash find /home/andy/.local/share/Trash/expunged/ -type f -exec rm {} \; find /home/andy/.local/share/Trash/files/ -type f -...
  • 2,648
2 votes
0 answers
178 views

Trash Bin icons missing. How to get them back?

In Ubuntu 18.04, when my Trash Folder is empty, Nautilus shows this: The default Trash bin icon seems to have disappeared. Not only that, but the Trash bin icon in the shortcut menu on the left of ...
  • 1,870
1 vote
1 answer
182 views

Empty trash every 30 minutes

I would like my trash emptied every 30 minutes. I installed Autotrash, but it specified days of age. Is there an alternative?
  • 2,648
0 votes
1 answer
171 views

Added trash can to panel but it opens Gimp

I added Trash to my panel using Add To Panel. When I open it, it opens Gimp saying, Gimp Message Opening 'trash:' failed. Can not recursively copy directory. What is causing that and can it be fixed?
  • 2,648

1
2 3 4 5
7