From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14402 invoked from network); 6 Jun 2020 17:08:14 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 6 Jun 2020 17:08:14 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jhcIQ-0002M2-Ft; Sat, 06 Jun 2020 12:07:50 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jhcIN-0002JF-G1 for ding@lists.math.uh.edu; Sat, 06 Jun 2020 12:07:47 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jhcI7-0063oI-RB for ding@lists.math.uh.edu; Sat, 06 Jun 2020 12:07:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oF0/D01EuVtyxgscQMrbF3eQN65oS7U/NYfIpkn4UDQ=; b=o9Sgqivhe25cwH//rhyorq0mgd Lhj8QmMqOlgI3G8ItdWqa/Uj+OzBoNLuCGCAnIJxK7KGC1Z1seRMgb+9ckZd7RIbSh5R/kfy3G1/m KxUzNlTe/j53HJmEl6g51CCZwACjgTw0eZvIfko3wefL5Y2WNJu9kyIv3MSu4oHQk7Mg=; Received: from ciao.gmane.io ([159.69.161.202]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhcI1-0002WW-2q for ding@gnus.org; Sat, 06 Jun 2020 19:07:27 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jhcHz-000PjY-OE for ding@gnus.org; Sat, 06 Jun 2020 19:07:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: =?utf-8?Q?Adam_Sj=C3=B8gren?= Subject: Re: Possible to make gnus handle mailto URLs with cc, subject and body? Date: Sat, 06 Jun 2020 19:07:15 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87tuzoced8.fsf@tullinup.koldfront.dk> References: <87lfl0dupu.fsf@tullinup.koldfront.dk> <87bllwduf5.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:Tg1DCDJY/1lLFbfKMsm4hNJNM14= OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk 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."