Symptom #1:
1.1_ Settings -> Panel -> Items -> Add new item -> Places -> Add -> Close.
1.2_ On the Panel (near the clock) -> Places -> Trash -> ERROR: File doesn't exist.
Symptom #2:
2.1_ Thunar v.1.2.3 (file manager) as normal user -> Right click -> Create document -> empty file.
2.2_ Delete-to-Trash the new document created in previous step.
Observations for Symptom #2
2.3_ Thunar v.1.2.3 as normal user, while in normal user session, uses
for the Trash location. This is only compatible with Gnome v.2.22 and newer./home/normalusername/.local/share/Trash
Symptom #3:
3.1_ Thunar v.1.2.3 (file manager) -> Right click -> Open folder as root superuser.
3.2_ Thunar as root superuser -> Create document -> empty file.
3.3_ Delete-to-Trash the new document created in previous step.
Observations for Symptom #3:
3.4_ In Thunar v.1.2.3 as root superuser, while in normal user session, the only way to see the Trash is to go to
Code: Select all
/home/.Trash-0
3.5_ Thunar v.1.2.3 as root superuser, while in normal user session, uses
Code: Select all
/home/.Trash-0
3.6_ Thunar v.1.2.3 as root superuser, while in normal user session, is not showing the Trash on the left-side panel nor in the "Go" menu, and it doesn't accept manually writing "trash:///".
3.7_ Thunar v.1.2.3 as root superuser, while in normal user session, is UNABLE to perform common tasks over the Trash.
3.8_ When using older versions, like for example Thunar v.1.0.2 (Xfce v.4.4 or v.4.6) as root superuser, while in normal user session, is capable of showing the Trash on the left-side panel and in the "Go" menu, and is also capable of performing common tasks over the Trash, like "empty the Trash", or recover files for example.
3.9_ When using older versions, like for example Thunar v.1.0.2 (Xfce v.4.4 or v.4.6) as root superuser, while in normal user session, the location of the Trash is also
Code: Select all
/home/.Trash-0
Symptom #4:
4.1_ Menu -> System -> Login Window (preferences) -> Security (tab) -> "Allow local system administrator login" -> Close -> Log out.
4.2_ Login session as root superuser.
4.3_ Menu -> Thunar v.1.2.3 (file manager) as root superuser, while in root superuser session -> Right click -> Create document -> empty file (rename it, so it can be easily identified).
4.4_ Delete-to-Trash the new document created in previous step.
Observations For Symptom #4:
4.5_ Thunar v.1.2.3 as root superuser, while in root superuser session, uses
"/root/" as the equivalent to the previous "/home/normalusername/" location.
4.6_ Thunar v.1.2.3 as root superuser, while in root superuser session, uses
Code: Select all
/root/.local/share/Trash
4.7_ Thunar v.1.2.3 as root superuser, while in root superuser session, is capable of performing common tasks over the Trash, since it shows the Trash on the left-side panel and in the "Go" menu.
4.8_ Thunar v.1.2.3 as root superuser, while in root superuser session, will perform any Trash-related task over the
Code: Select all
/root/.local/share/Trash
Code: Select all
/home/.Trash-0
so any task or action performed over Trash will NOT touch
Code: Select all
/home/.Trash-0
Symptom #5:
5.1_ Install python either v.2.6.x or v.2.7.x
5.2_ Install python-setuptools.
5.3_ Install latest trash-cli
Code: Select all
# grab the latest sources
wget https://github.com/andreafrancia/trash-cli/tarball/master
# unpack and install
tar xfz andreafrancia-trash-cli-xxxxxxxx.tar.gz
cd andreafrancia-trash-cli-xxxxxxxx
sudo python setup.py install
5.4_ Menu -> Accessories -> root (superuser) terminal
5.5_
Code: Select all
trash-list
5.6_ The result of
Code: Select all
trash-list
Code: Select all
/root/.local/share/Trash
Code: Select all
/home/.Trash-0
5.7_ When opening a terminal for a normal user, the commands available in trash-cli will affect that normal user only.
General observations:
6.1_ Booting the system with some LIVE CD (for recovery, for example) and deleting files as root might move the files to any of the possible locations mentioned in this report, depending on the LIVE distro.
6.2_ LMDE Xfce x32 is capable of referencing any valid location for the Trash if the feature is implemented correctly, as demonstrated by the use of trash-cli.
6.3_ Different versions of Thunar use different Trash locations.
6.4_ Older versions of Thunar are capable of handling the Trash as root superuser while being in a normal user session, but Thunar v.1.2.3 is not.
6.5_ Thunar behaves inconsistently regarding the root superuser.
6.6_ Several reports (web search and in LMDE forum) about deleting
_ from FAT or NTFS; or,
_ from external media; or,
_ from shared locations,
mention that the files are not seem to be moved to the Trash, but that the available free size is not bigger than before the deletion. The inconsistent behavior reported here might explain many of those cases.
6.7_ This type of inconsistent behavior has been already reported a long time ago, like for example at https://bugzilla.xfce.org/show_bug.cgi?id=2728 among others, but NOTHING was done to resolve it .
6.8_ When Thunar states that it follows freedesktop.org specifications, it should try its best to (consistently) support the freedesktop.org trash specs too.
6.9_ From all the symptoms and observations, it is clear to me that Thunar needs to support both paths (Gnome 2.20- and Gnome 2.22+) when using "trash:///", and of course it needs to improve a lot to reduce inconsistency and regressions.
So now I ask here, to the LMDE Team; is there any chance all this can be reported upstream too? Any chance of seeing effective improvements in LMDE about this Trash problem in the near future? Or LMDE Xfce users will need to keep waiting 3 years more (as it has been happening in older bug reports for Xfce and Thunar)?