Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1017673
| From | Paul Wise <pabs@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI |
| Date | 2020-07-12 02:50 +0200 |
| Message-ID | <ArylQ-4S6-5@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <Ark9b-4Ll-11@gated-at.bofh.it> <Arl5g-5jM-15@gated-at.bofh.it> <Arru1-N8-1@gated-at.bofh.it> <ArcOl-7oh-1@gated-at.bofh.it> <Arru1-N8-1@gated-at.bofh.it> |
| Organization | Debian |
[Multipart message — attachments visible in raw view] - view raw
On Sat, 2020-07-11 at 18:20 +0100, Simon McVittie wrote:
> Someone (probably Paul Wise? I lost track of the attribution) wrote:
> > > BTW, I think the GTK UI should not be running the MUAs under a VTE
> > > terminal unless the MUA is marked as needing a terminal. Same for any
> > > other commands it runs under a VTE terminal. For xdg-email probably
> > > most of the commands that runs don't need a terminal.
Yes, that was me.
> It might be safer to build a corresponding mailto:
> URI (which is desktop-agnostic and can be done in
> pure Python), and then pass it to whatever is the Python
> binding for g_app_info_launch_default_for_uri_async() (probably
> Gio.AppInfo.launch_default_for_uri_async() or similar).
I suggest adding that as a separate MUA to the xdg-email MUA and when
running with the reportbug GTK UI, make that new MUA the default MUA,
since people not using a terminal are even less likely to want
reportbug to submit to an MTA directly than most reportbug users.
> with 100% less shell script
Sadly, gio still uses a shell script to launch MUAs:
$ strace -f -e trace=execve gio open mailto:foo@bar.com |& grep execve | grep -v ENOENT
execve("/usr/bin/gio", ["gio", "open", "mailto:foo@bar.com"], 0x7ffcbf1e3a88 /* 96 vars */) = 0
[pid 1476622] execve("/bin/sh", ["/bin/sh", "-e", "-u", "-c", "export GIO_LAUNCHED_DESKTOP_FILE"..., "sh", "evolution", "mailto:foo@bar.com"], 0x558b45966000 /* 97 vars */) = 0
execve("/usr/bin/evolution", ["evolution", "mailto:foo@bar.com"], 0x5607406853f8 /* 98 vars */) = 0
> there is no generic mechanism to choose a per-user or per-desktop
> preferred terminal emulator
This seems like something that should get added to xdg-utils?
--
bye,
pabs
https://wiki.debian.org/PaulWise
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Paul Wise <pabs@debian.org> - 2020-07-11 03:50 +0200
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Nis Martensen <nis.martensen@web.de> - 2020-07-11 10:10 +0200
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Paul Wise <pabs@debian.org> - 2020-07-11 11:40 +0200
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Nis Martensen <nis.martensen@web.de> - 2020-07-11 12:40 +0200
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Simon McVittie <smcv@debian.org> - 2020-07-11 19:30 +0200
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Paul Wise <pabs@debian.org> - 2020-07-12 02:50 +0200
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Nis Martensen <nis.martensen@web.de> - 2020-07-12 10:20 +0200
Bug#964846: reportbug-gtk: mua xdg-email: does not work with the GTK UI Simon McVittie <smcv@debian.org> - 2020-07-12 21:30 +0200
Re: reportbug-gtk: mua xdg-email: does not work with the GTK UI Nis Martensen <nis.martensen@web.de> - 2020-07-13 01:20 +0200
csiph-web