7

I was unable to remove a file anymore with thunar:

enter image description here

How should I create the "Trash" folder ?

daisy
  • 53,527
  • 78
  • 236
  • 383

2 Answers2

4

My trash works on xfce and here's what my directory structure looks like in ~/.local/share which is the only place I have located a Trash folder:

drwx------ 4 myuser myuser 4096 Jun 18 10:12 Trash

    drwx------ 3 myuser myuser 4096 Jun 18 10:12 files
    drwx------ 2 myuser myuser 4096 Jun 18 10:12 info

Based on this...

mkdir ~/.local/share/Trash
mkdir ~/.local/share/Trash/files
mkdir ~/.local/share/Trash/info

and

chmod -R 700 ~/.local/share/Trash

looks right to me.

ephsmith
  • 1,006
  • 3
  • 11
  • 20
  • I also have `~/.local/share/Trash/expunged`. Don't know if it's really important, anyway. –  Sep 17 '12 at 14:05
2

So, you're trash bin is not a regular directory, but a gvfs volume. The most likely cause is that you don't have gvfs installed. See https://wiki.archlinux.org/index.php/Thunar#GVFS_and_trash_issue. Replace the pacman command with your distribution's package manager.

Zhehao Mao
  • 165
  • 3