From: "Adam Sjøgren" <asjo@koldfront.dk>
To: ding@gnus.org
Subject: Re: Possible to make gnus handle mailto URLs with cc, subject and body?
Date: Sat, 06 Jun 2020 19:07:15 +0200 [thread overview]
Message-ID: <87tuzoced8.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <87bllwduf5.fsf@tullinup.koldfront.dk>
Adam writes:
> In Firefox under Preferences → Applications I have "mailto" configured
> to run /home/asjo/bin/mailto-handler, like this:
To make it work in Chromium, you need a ".desktop"-file, and then you
need to configure xdg-mime to use it¹.
I created a file, /usr/share/applications/gnus.desktop, (based on
mutt.desktop) like this:
[Desktop Entry]
Categories=Office;Network;Email;
Comment=Comprehensive Emacs based Mail User Agent
Exec=/home/asjo/bin/mailto-handler %u
Icon=Gnus
Name=Gnus
MimeType=x-scheme-handler/mailto;
NoDisplay=false
Terminal=false
Type=Application
(Pointing to the tiny script calling browse-url-mail with emacsclient.)
And then ran this command:
$ xdg-mime query default x-scheme-handler/mailto
mutt.desktop
to see the current default, and then changed it:
$ xdg-mime default gnus.desktop x-scheme-handler/mailto
Now clicking a mailto-link in Chromium opens an email in Gnus, with To,
Cc, Subject and Body filled in.
Best regards,
Adam
¹ Information found here: https://lists.debian.org/debian-user/2018/06/msg00255.html
after realizing that Chromium was running xdg-email.
--
"There's such a glut of celebrities that they'll Adam Sjøgren
soon have to begin storing the surplus in silos in asjo@koldfront.dk
Iowa."
next prev parent reply other threads:[~2020-06-06 17:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-06 15:32 Steinar Bang
2020-06-06 16:28 ` Adam Sjøgren
2020-06-06 16:35 ` Adam Sjøgren
2020-06-06 17:07 ` Adam Sjøgren [this message]
2020-06-07 10:43 ` Steinar Bang
2020-06-07 11:03 ` Adam Sjøgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tuzoced8.fsf@tullinup.koldfront.dk \
--to=asjo@koldfront.dk \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).