Re: Where is the KDE Trash Can? [SOLVED]

Kevin Krammer <[email protected]> Fri, 10 Jun 2016 18:24:08 +0200
Newsgroups gmane.comp.kde.linux
Organization KDE
Message-ID <1790905.CfWZGzIxno@persephone>
On Friday, 2016-06-10, 01:03:41, Wolfgang Mueller wrote:
> On Thu, 09 Jun 2016 22:23 +0200, Ralf Mardorf wrote:
> >> On Thu, 09 Jun 2016 19:42 +0200, Wolfgang Mueller wrote:
> >>> /home/$USER/.local/share/Trash/files
> > 
> > Not necessarily for something that is mounted by a different
> > file system.
> 
> That's right.  When the photo collection resides on a file system
> mounted at /photos, then the trash directory's name is
> 
> b=`sed -n "s,^${USER}:x:\([0-9]*\):.*,/photos.Trash-\1.files,p"
> /etc/passwd`
> 
> Obviously, the developers give their best for hiding the trash in
> such a way that it can't be retrieved any more.

While it might look complicated from our perspective as users, the discussions 
following up to the specification this is based on shows, that the situation is 
not as easy as one would think without looking at all the cases that need to 
be supported.

And as Ralf wrote, since there are tools that actually implement the 
specification, we usally don't need to find these folders ourselves.
But since there is a specification and not just some random set of locations we 
can if we do.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJXWumoAAoJEEIZ0uq3FeVun0kP/2FF5VeikGed62IDaN/gl/55
U3tPONpTmRZVvZdGd/w5g+Z7NAWuqbXpB+Fhm78bjCxg664p97MTJUrY2XZU79ua
JaiBkWrkxfdPfiY0d6k6myA2UDz7Xq9JSCUOMZGsuPR/rjapvYAHcBqRLwjpEbea
5XJCcFAQY+YbajSwk0MSF4oaX6Vs+qMTHWCpbBQgU/dJliY1NnzxNrB5Mk3vo+wI
uwQ4G23Wfsp8CgBurZX/N3Y/JPqk9/cb5HV74n35gFMsxV9IJf/AN0MYilWquQXd
6q1Esp5ckbb0yd8z7lHdMh4/D/a5nnAm2OEh6j78Mo5wzudXVsR1uwcjQyQB+SOl
suCosCxJHbkzblrCJ+2h9qCYjYUu6N/bdZREwVEp9CECpw1OjHlssMo3JqAp2TET
2Ck2LGzavb5H4L3EVzR/vDGP9VpFn+ceS1Bn4vk9ZcZHpYnqoEKzahbcUJVIs0f+
OQkw91t3v7DgIeiUkmuU6TuLdlpLJpScvcLYGRZVyGf8V5FzQc3IWIr5aQ1Yq1GS
yJf4OJP39+XeBuRjc50Y7lzWTdMh5XD+i83cPZhbaNVNInsX0DmnabVRxy8nTb/I
Rn3rmzDEuBnJMldCht+mUYYahtomq4+cAobavsM/x2HCLmqj1fNRtPZMujGFC+9u
QR3aO/5IyudWYsvE43uf
=8pCk
-----END PGP SIGNATURE-----