[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Desktop sendmail question
[Thread Prev] | [Thread Next]
- Subject: Re: Desktop sendmail question
- From: Gianluigi <gradobag@xxxxxxxxxxx>
- Date: Tue, 12 Nov 2024 18:04:50 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Il 12/11/24 15:16, Bruce Steers ha scritto:
On Mon, 11 Nov 2024 at 15:13, Gianluigi <gradobag@xxxxxxxxxxx <mailto:gradobag@xxxxxxxxxxx>> wrote: Il 11/11/24 15:52, Bruce Steers ha scritto: > I think attachments does not work in Desktop.SendMail with the new > Desktop.Portal method. > > have you tried by setting Desktop.UsePortal = False before using SendMail ? > > Respects > BruceS Hi Bruce, it works well, thanks Regards Gianluigi You're welcome. The problem is with DBus fd type (file descriptor) and using it with xdg portal. It's not very well documented how to correctly use DBus fd type with portal and Benoit was unable to get it working. if someone could figure it out we could have attachments with SendMail and could probably get Portal.Inhibit() and some other things operational too. I looked into it a while ago and came to suspect we have to use org.freedesktop.portal.Documents interface along side org.freedesktop.portal.Desktop to un-sandbox files and make the "Documents" accessible to the "Desktop" interface. https://flatpak.github.io/xdg-desktop-portal/docs/doc- org.freedesktop.portal.Documents.html#org-freedesktop-portal-documents <https://flatpak.github.io/xdg-desktop-portal/docs/doc- org.freedesktop.portal.Documents.html#org-freedesktop-portal-documents> It's all a bit beyond me though :( Needs somebody with more spare time to figure it out and save the day. Respects BruceS
Hi, I'm sorry but I'm definitely not the one who can understand and help :-\ Hopefully someone capable will listen to your request. Regards Gianluigi
Desktop sendmail question | Gianluigi <gradobag@xxxxxxxxxxx> |
Re: Desktop sendmail question | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Desktop sendmail question | Gianluigi <gradobag@xxxxxxxxxxx> |
Re: Desktop sendmail question | Bruce Steers <bsteers4@xxxxxxxxx> |