From kde-devel Sat Nov 22 16:11:14 2003 From: Henrique Pinto Date: Sat, 22 Nov 2003 16:11:14 +0000 To: kde-devel Subject: Re: Enhanced Trash functionality X-MARC-Message: https://marc.info/?l=kde-devel&m=106951765916144 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Your idea is wonderful. I suggest you that, when you have it ready, submit it to freedesktop.org, it might be nice to share the trash among different DEs. I believe someone was working on a trash ioslave, but I'm not sure. On Saturday 22 November 2003 10:55, Jonathan Hunt wrote: > Hi, > > One of the things I really like about MS Windows is it's recycle bin. > Konqeror under Linux has something similar but it seems much more > limited. It cannot do things like hold more than 1 file that has the > same name (without renaming) or remember where a file came from and > restore it. > I am a uni student currently on holiday. I am considering spending some > time writing an improved trash bin for linux. The reason I am not going > with something like libtrash > (http://www.gnu.org/directory/libs/libtrash.html) is because it doesn't > seem to solve this problem of having multiple files with the same name > and a user friendly restore etc. and also it intercepts all attempts to > remove a file - not just "Trash" in Konqeror etc. > Anyways I was planning on writing a C++ terminal application (named tra > for lack of a better name) using a standalone library libtra that would > allow one to us tra just like rm only it would move files to the trash > bin (probably make it ~/.Trash). But it would rename the files to be > numbered 0, 1 etc. and keep an entry in a database file about date > deleted, original name etc. so that tra could have a restore option > where u type the name of a file and it goes thru its DB and finds it > etc. I would write this using fairly common C++ (no Qt etc.) and a > common database library (suggestions here??). Most of the work would be > done by libtra so that it can easily be called by other applications > etc. > KDE comes into it because after I had done this I would like to > incorporate it into Konqeuror (Trash function) etc. and also write > either a plugin to konqeror or a standalone KDE app that would run when > u click on the Trash bin that would be similar in functionality to MS > Recycle Bin this would use the libtra library. > So I am writing to see how interested KDE project would be in something > like this, if there is already a similar effort underway and also for > suggestions of a Database library to use that is fast and stable and > common on POSIX platforms (or at least portable across them). > > Appreciate your time, > Jonny - -- Henrique Pinto stampede@uai.com.br -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/v4qxx5ej30+ryYARAqYoAKCE0EyIq4aWa9OV2F5wkAveRwxicQCgiXJy cDyqJt8vRLn377JJUxPI8RM= =w+ro -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<