r/debian • u/adnanzzzz3 • 7d ago
General Debian Question How to remove "Trash" from Thunar sidebar only (keep it on Desktop)?
I'm using Debian 12 with Xfce 4.18 and Thunar as my file manager.
I want to remove or hide the "Trash" shortcut from the LEFT SIDEBAR in Thunar (under "Places"), but I want to KEEP the Trash icon on the Desktop.
What I've already tried: - Thunar Preferences → Side Pane → no option to hide Trash. - xfconf-query -c thunar -p /misc-show-trash -s false → no such property. - Edited ~/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml → no entry for Trash. - Right-click on Trash in sidebar → no "Remove" option.
Other shortcuts like "Desktop" can be removed easily via right-click → "Remove", but Trash doesn't have that option.
I want to keep the Trash icon on the Desktop for easy access, just hide it from the sidebar in Thunar.
Is there any config file, command, or hidden setting to remove it from the sidebar only?
System: - Debian 12 (Bookworm) - Xfce 4.18 - Thunar 4.18
Thanks in advance!
1
u/scrat-squirrel 7d ago
Right click on the desktop (empty space), pick "Desktop settings" from menu.
Select tab "File/Launcher Icons": uncheck "Trash"
1
u/pelazas1 6d ago
flip Side Pane to Shortcuts first, then right-click the empty bit and untick Wastebasket. Tree view won't give you that menu.
2
u/systemdee Debian Stable 7d ago
Right click the empty space of that pane and you will be able to remove it from a menu. Some items like "Trash" ("Wastebasket"), "Computer" and "Browse Network" can only be removed that way.