This is a small pet to add a line "move2trash" to the right-click menu in rox.
Edit : new version thanks to the advice of @MochiMoppel
To install the pet (after download) click on it. To uninstall it use PKGget
More information : (Edit see the next message for modifications)
This very simple script move2trash is added to /usr/bin
Code: Select all
#/bin/bash
/usr/local/apps/Trash/AppRun $1
It sends the file (or the directory) passed as an argument to the RoxApp Trash
A link to this script is added in every subfolder of /etc/xdg/rox.sourceforge/net/OpenWith.
To add the link in every subfolder I used a simple script like this:
Code: Select all
for i in $(ls -a /etc/xdg/rox.sourceforge.net/OpenWith)
do
if [ ! $i == "." ] ; then
if [ ! $i == ".." ] ; then
ln -s /usr/share/applications/move2trash /etc/xdg/rox.sourceforge.net/OpenWith/$i/move2trash
fi
fi
done