trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2020

Re: [trinity-users] configuring trash?

From: Steven D'Aprano <steve@...>
Date: Sat, 11 Jan 2020 11:03:23 +1100
On Fri, Jan 10, 2020 at 03:37:44PM -0700, D. R. Evans wrote:

> I expect I'm being blind and it's somewhere obvious, but I can't find any
> information on configuring trash in TDE.
> 
> Example questions for which I'd like to find answers: how large can it grow?
> how long can files stay in trash before they're deleted? where is trash
> actually located?

As far as I know, the answer to the first two questions is "as big as 
the available space on your hard drive" and "until you choose Empty 
Trash from the menu".

There aren't many options for configuring the trash as far as I can 
tell, but I found these:

1. Konqueror: Settings > Configure Konqueror > Behaviour

where you can configure whether items are deleted or moved to the trash.

2. On the desktop, right-click the Trash icon and choose Properties

where you can rename it and set the icon. It also reveals that the trash 
is controlled by the hidden ~/Desktop/trash.desktop config file.

The trash.desktop config file shows very little:

[Desktop Entry]
Comment=Contains removed files
EmptyIcon=trashcan_empty
Encoding=UTF-8
Icon=trashcan_full
Name=Trash
OnlyShowIn=KDE
Type=Link
URL=trash:/


The location of the trash is:

~/.local/share/Trash

but you probably shouldn't mess with it, I'm not sure how resilient 
Konquorer is if you mess with the trash's internal structure.

(Note: these are from an older version of KDE and may not apply to the 
latest versions of TDE.)


-- 
Steven