Re: Deprecating nautilus-sendto

Created also

On Wed, 27 Feb 2019 at 13:56, Bastien Nocera <hadess hadess net> wrote:

15 years ago, in another age, nautilus-sendto was created so that one
could easily send files from nautilus via email. Then via email and
Gaim. Via email, Gaim and Bluetooth. And Gajim. And now Pidgin not
Gaim. And then Empathy and UPnP servers. And then just email again,
because the UI was quite frankly absolutely awful.

But nautilus-sendto doesn't work in a sandbox. And there's pretty
similar but more capable code that can be run in xdg-desktop-portal-
gtk, the gnome-ish Flatpak/Snap portal.

So I would recommend that applications that use nautilus-sendto right
now, start using the portal D-Bus API directly instead:

This is an example of using said API:

You could but I would not recommend using xdg-email if your application
will be used outside of a Flatpak because it will end up running this
which might, or might not work. It's brittle and ugly.

Note the regressions though:
- Some email clients are not as well supported in xdg-desktop-portal-gtk:
- There is no support for zipping files up before sending them. This
was only used by nautilus, and nautilus can replace/enhance this by
using its native archive support.

Here are a number of issues I filed against applications that use

I'll have the code moved to the archives after the 3.32 release, at the
start of the new development cycle:


desktop-devel-list mailing list
desktop-devel-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]