Ubuntu: Trash can support on NTFS volumes

As Wyatt Smith said on https://answers.launchpad.net/ubuntu/+question/52985 :

To enable a trash can on a NTFS partition you will have to make an entry in your /etc/fstab file. You must specify the drive by UUID and assign a userid.

To discovery the UUID of the external drive. Please plug the drive in and then type

sudo blkid

To edit your fstab file with root permission

gksu gedit /etc/fstab

Here is an example of how the entry should look. Please replace the UUID and mountpoint with the appropriate values from your system

# NTFS Partitions
UUID=19031A6158945892 /media/DATA ntfs-3g defaults,uid=1000,locale=en_US.UTF-8 0 0

Save and exit.

To remount (unmount then mount) all drives listed in /etc/fstab

sudo umount -a
sudo mount -a

You should then see a hidden trash folder on your ntfs drive.

After this deletes are not permanent and they should be visible in the trash.

Mainokset