Ubuntu :: Empty Trash Command For Files (Desktop Recycle Bin)

Aug 28, 2010

I mount /home on a logical partition. Files and directories that I trash from here go nicely into the recycle bin, and I can right click on it and choose "Empty Trash" with no problem. Files off of the root directory in directories that I "own" (i.e. /mydir/*) do not play as nicely. I went ahead and followed instructions from another post, namely:

Code:
sudo mkdir /.Trash
sudo chmod 1777 /.Trash

And after trashing some files from /mydir, there is indeed a subdirectory with my uid (1000) and files that I trash from /mydir are going in there. However, the recycle bin on my desktop remains empty, and the only method I have for deleting said files is by deleting them from the /.Trash/1000 folders through the command line. So my question is: Is there anyway that I can trash files from /mydir, see them appear on the desktop recycle bin, and empty the trash without the need to rm them directly through the command line? Not sure if it will help, but here is my fstab:

Code:
# / was on /dev/sda1 during installation
UUID=4129f389-92be-459e-8bbc-928c1440f718 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=6a30914d-04a3-4b03-85bd-2bf16a68a41a /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=f388cf04-bbd6-4bf9-9d69-0778b0f158fd none swap sw 0 0

View 7 Replies


ADVERTISEMENT

General :: Command To Empty Recycle Bin?

Oct 15, 2010

Simple question but even google does not come up with an answer, seems to be too easy that someone else asked it ;). Could anyone tell me what is the shell command to empty the garbage bin under Linux?

View 3 Replies View Related

Fedora :: Trash Icon Stays Full On Empty Command - No Hidden Files

Apr 26, 2011

Using Fedora 14 with Gnome 2.3 Desktop utilizing Compiz and Emerald theme manager. When I empty the trash, the icon is still the FULL Trash icon. I tried using different Emerald Themes, and different Icon sets, but still the Trash Icon stays full. I checked the trash folder in $HOME/.local/share/trash and found nothing, no hidden files.

View 3 Replies View Related

Ubuntu :: Cannot Move Files To Trash / Recycle Bin Does Not Retain Stuff

Jul 23, 2010

When I try to move a file to trash, it doesn't retain anything. I drag a file to the trash bin icon, I open the trash bin, its' empty. How do I make my trash bin retain some trash?

View 1 Replies View Related

Ubuntu :: Empty Files In Trash-1000 On USB Drive?

Feb 14, 2010

Apologies if this has been asked before, which I'm sure it has from what I see googling around, but I cant understand this fully.

I have a piles of files in the .Trash-1000 folder on my flash drive that I want to delete. I can see them if I go in as root using the command line and entering "gksu nautilus" but it still wont allow me to delete them.

View 9 Replies View Related

Ubuntu Security :: Trashinfo Files Not Deleted When Empty Trash?

May 24, 2010

I don't know whether this is a bug or feature. But I find the fact that the Trash in Gnome doesn't delete trashinfo files a security liability.

I found in ./local/share/Trash/info thousands of .trashinfo files named exactly like the files deleted and each one contains the date of deletion.

I thought when I empty the trash bin every record of the files were removed. I understand that there are forensic ways to recover data and rm isn't very secure with journaled file systems, but forensic recovery isn't 100% and if the disk is written over several times the data is gone.

Here you have a permanent list of all the files you've deleted, without you knowing and the dates of deletion. IMO that's too much information.

Update: Weird after removing the files manually and then trying to delete files again using the trash I found no .trashinfo files, this time. So they were probably leftover files, but they didn't have a different owner/permission. Could this have been an issue and now fixed? (running Lucid)

View 1 Replies View Related

Ubuntu :: Deleting Files / Trash Empty / Disk Still Full

Sep 27, 2010

I've been getting this error message:"The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."a few times, and it turns out to be because of low disk space. No worry, I empty the trash uninstall unneeded programs and clean out the downloads folder that filled up my disk. And all is ok. But not this time.Since I can't use X, I delete stuff from the terminal, and also make sure to clean out the .Trash in both /home and /root. But still the disk is full. I delete more stuff, but it doesn't even seem to go to .Trash. It disappears, but no more disk space.

View 8 Replies View Related

Ubuntu :: Recycle Bin Wont Empty?

Feb 25, 2010

my recycle bin wont empty. i ran the command:sudo rm -r ~/.local/share/Trash/files/*and got the response:rm: cannot remove `/home/steve/.local/share/Trash/files/*': No such file or directory

View 1 Replies View Related

OpenSUSE :: When Move Something To Trash It Doesn't Show The Option Of Empty Trash

Mar 12, 2011

When I move something to Trash it doesn't show the option of "Empty Trash". I can use "move to Trash" and it just moving there like some ordinary folder, but shift+del give me an option for deleting the files. Using OpenSUSE 11.3 32bit.

View 6 Replies View Related

Fedora :: Recover Trash Can Files From Command Line

Oct 17, 2009

I have just accidently deleted /usr/lib as root, how do I restore it from the trash can from command line? Seeing as how no programs will now run. I can't seem to find /root/.Trash, no such folder seems to exist ,or did I just royally screw myself?

Edit:

First off where is the Trash folder for root in Fedora 11 I have googled and looked everywhere I can't get a straight answer. It is not in /root/.Trash for one.

View 2 Replies View Related

Ubuntu :: Delete Files In Trash That Is Older Than 10 Days With A Terminal Command?

Sep 27, 2010

Can I delete files in trash that is older than 10 days with a terminal command?

View 3 Replies View Related

Ubuntu :: Awn/docky Trash Never Empty

Aug 27, 2010

Look at the screenshot, I have only one file in trash but AWN and Docky counts 47+1 items. When it's empty it counts 47, and there's no way to really empty. But files are really gone. It doesn't happens with Cairo Dock (I don't know why).

View 1 Replies View Related

Ubuntu :: Unable To Empty Trash Bin

Jun 7, 2011

I'm running Ubuntu 10.04 and I'm having trouble emptying my trash bin. I've tried emptying the trash bin graphically but the items are still in there. I've also tried using nautilus to empty the trash but it didn't work either. I really need to free up some space because I'm down to 1.6 GBs of free space

View 9 Replies View Related

Debian :: Cannot Empty The Trash?

May 9, 2010

I cannot empty the Trash from my squeeze, even after squeeze restart as a root user.

Code:
# cd ~/.local/share/Trash
# ls -la

[code]...

View 1 Replies View Related

Ubuntu :: Trash Always Empty In Jaunty Jackalope?

Mar 6, 2010

Just installed 9.04 on a new machine. Files I delete just seem to disappear completely instead of going into Trash. This is not what happened on my older machine.

View 1 Replies View Related

Ubuntu Security :: Secure Empty Trash Bin

Sep 9, 2010

Is there a way to securely empty the trash bin without the need to type some shred command into consoles. My intentions is to be able to securely delete files when the 'Empty Trash' is used so to save the trouble of going to a console and doing some commands using shred.

View 5 Replies View Related

Ubuntu :: Evolution Won't Empty Trash On Exit?

Feb 10, 2011

Evolution 2.28.3 on Ubuntu 10.04 won't empty trash on exit even though this is specified in preferences. Neither will it expunge with right click on trash -> empty trash..e.Close Evolution and open your file browser. Go to /home/put-your-ubuntu-login-name-here/.evolution/mail/localThere are 2 files (Junk.cmeta and Trash.cmeta). I deleted the Trash.cmeta file and opened Evolution again.When you reopen Evolution, it creates a new Trash.cmeta file.

View 4 Replies View Related

OpenSUSE :: Error Trying To Empty Trash

Jan 11, 2011

Whenever i try to empty the Trash (As Root) it does so then gives me an error message saying that it can't delete a specific file. It's always the same file and it says:"The file or folder /home/.Trash-0/files/yesterday once more.mp3 does not exist."Having looked in this location logged in as root using both Dolphin and at the command line, this file doesn't exist.

View 9 Replies View Related

OpenSUSE :: How To Force Empty Trash Bin

Mar 27, 2011

I have some files in my user trash bin which don't get emptied. Can you please tell me where I can find my trash bin using Superuser Dolphin? Or how can I force empty it? I tried /home/.Trash-0/files but it's all empty.

View 9 Replies View Related

Ubuntu :: Cannot Delete Or Empty .Trash-1000 Folder?

May 5, 2010

Straight to the problem on my [Ubuntu 9.10].I cannot delete or empty my .Trash-1000 folder on my flash drive. I tried changing permission with chmod but no way, I cannot empty the folder via the Ubuntu main trash option 'Empty Trash'. I read a bunch of threads but no way.Do you know a solution that works to this problem?Even further. Do you know a way to tell nautilus to avoid using that folder in my USB devices and use instead the normal trash folder on my system?

View 5 Replies View Related

Ubuntu :: 10.04 - Trash Icon Will Not Show Empty Status

Jul 1, 2010

This is just one of those annoying but superficial things: When I empty my recycle bin, the items fully delete (as far as I can tell) but the icon for the trash remains a full trash can. I have 10.04

View 5 Replies View Related

Ubuntu :: Trash Icon Still Shows Full When Empty?

Jul 2, 2010

Well I'll start off with the recent changes I've made. I have three hard drives in my PC, two of which are formated NTFS. I recently installed Storage Device Manager and changed a few options around so they auto-mount of start up. Well when I did this, and wanted to delete files off those drives, I suddenly was being promoted that I must delete them permanently or not all at (wouldn't go into the trash)

I added the lines to FSTAB: uid=1000,gid=1000 0 1

So for example my secondary drive is:

nls=iso8859-1,umask=000,uid=1000,gid=1000,0,1

And also added .Trash-1000 folders in each of the two NTFS drives.

When I delete items off one of the two NTFS disks they go to the trash... I don't get the "delete forever" prompt and I can actually see them in the trash bin.

But when I empty the trash the icon remains that of the "full" trash, despite when I open it there being no trash in it.

View 2 Replies View Related

OpenSUSE :: Empty Trash When Right Clicking On Icon In KDE4?

Jun 1, 2010

I have opensuse 11.2 with KDE installed and I changed the default File Manager to Konqueror. I cannot empty the Trash when right clicking on Icon in KDE4. If I try, then I get Icon Settings. Howto switch off these Icon Settings generally?

View 2 Replies View Related

CentOS 5 :: Gnome Bottom Toolbar Empty Except For Trash Can

Apr 1, 2009

CentOS amd64 fresh installed two weeks ago. Turned off nightly per company policy. Turned on this morning, logged in, started firefox, surfed a bit, minimized, and then noticed that the bottom toolbar is empty except for the trashcan in the far right end. No alternate desktops, no minimized firefox screens, nothing.

View 3 Replies View Related

OpenSUSE :: How To Restore Data Inside Trash After Make It Empty

Apr 25, 2011

How can I restore the data inside the trash after make it empty ?I need to restore an important folder from the trash and I can't find it there.I am using openSUSE11.1 (KDE)

View 8 Replies View Related

Ubuntu / Apple :: CPU Temp Monitor And Keyboard Shortcuts - Set A Shortcut To Empty The Trash?

May 5, 2010

I recently installed Ubuntu 10.04 alongside OSX on my unibody aluminum macbook. I've been setting it up, but I was wondering if there were any applets that could display things like CPU temps (maybe even RAM usage? I'm thinking along the lines of the iStat menubar app, but of course I'm willing to try out anything). I tried searching the Software Center, but couldn't quite find what I was looking for. I was exploring the keyboard shortcuts, and I was wondering if there was a way to set a shortcut to empty the trash? Like in OSX they have shift+apple+delete.

View 2 Replies View Related

Ubuntu Networking :: SSH And Deleting Files To The Recycle Bin?

Apr 18, 2011

I'm using Ubuntu 10.04. I have set up a pc to act as remote storage. I connect my desktop pc to it. I have done the following:

sudo apt-get install sshfs
sudo adduser fuse
sudo mkdir /mnt/remotedir
sudo chown username /mnt/remotedir
sshfs username@remote_computer_ip:/path_on_remote_comp /mnt/remotedir

(obviously replacing the username and paths with my information)

I can connect to the remote computer however I cannot delete remote files to the recycle bin. What do I need to do in order to delete files to the recycle bin?

View 7 Replies View Related

Ubuntu :: Files In Trash But Not In Trash?

Dec 24, 2010

I have a problem with a couple of folders in the Trash. If I click on the Trash icon, 2 foldersare there, and when I try to delete them, it just says "Failed to delete the item from the trash"

But when I go to .local/share/Trash there are no files there! Anyway, I tried using the command "sudo rm -rf .local/share/Trash", it shows no error, but the files continue when I click in the trash icon.

View 9 Replies View Related

General :: "recycle Bin" Without Desktop Environment?

Mar 31, 2011

Without a desktop environment (KDE,Gnome, ...) , is there a way to recover deleted files (like a recycle bin or a trash directory).

View 8 Replies View Related

Ubuntu :: After Files Deleted Still Shows Up As Full - Shown In Hidden Trash Files

Mar 9, 2011

I have a Kingston 8gb Datatraveler that has been giving me troubles lately. For some reason after I delete files from it it still shows up as full and the files are shown in the hidden trash files. How do I get rid of these files? I can't delete them as they just show back up. Also, I tried to format the drive with gparted and it won't unmount. When I right click and select information, at the bottom it says: Unable to find mount point. Unable to read the contents of the file system. Because of this, some operations may be unavailable.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved