This functionality used to exist in Ubuntu some years ago.
The proper way to implement it is to make a Freedesktop standard so that graphical environments such as GNOME and KDE can use the same service.
Such a standard may already have started, so search at freedesktop.org.
Another way to implement this is to provide this support directly in the Nautilus file manager (GNOME).
Such a request may already be in place, you here you search at http://bugzilla.gnome.org/browse.cgi?product=nautilus
and either find an existing bug report, or create a new report.
If none of the above are actioned, this idea will take looong time to take effect.