Now I found an even easier way. The solution is already on board. Under KDE, just use SHELL "kioclient move /home/user/filename trash:/"
That's all. Moves the file to trash with all the recover informations and even shows the correct desktop icon. For Gnome, there should be a similar command available. Regards Matti Jose J. Rodriguez schrieb: > On 10/8/09, Matti <math.e...@t-online.de> wrote: >> Is there any way to move files and directories to the user's trash bin? >> > > Until someone implements the freedesktop.org trash specs on Gambas, > you could try this: http://code.google.com/p/trash-cli/ > > Or a more involved general solution: http://freshmeat.net/projects/delsafe/ > > Regards, > Joe1962 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user