From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 148A96DE1A96 for ; Sat, 25 Feb 2017 01:25:52 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.535 X-Spam-Level: X-Spam-Status: No, score=-0.535 tagged_above=-999 required=5 tests=[AWL=0.185, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a2LEDYm5cJIy for ; Sat, 25 Feb 2017 01:25:50 -0800 (PST) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by arlo.cworth.org (Postfix) with ESMTPS id 904866DE1AA3 for ; Sat, 25 Feb 2017 01:25:49 -0800 (PST) Received: by mail-lf0-f41.google.com with SMTP id z127so17286840lfa.2 for ; Sat, 25 Feb 2017 01:25:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CmyAA8mWvOAm9MVxFnt3sBz0xShMsVDkne+ZAHKvOeo=; b=dYg6wXKWbzD5bwlmLMie+keHvuuoSPhxC1pmpasHyRFepM4hhAhvSuCN5T2Q+pTwNQ mVSbb5U+BkE1s+aXBrWTW3Lx2+uuSuiLsN3he9d4r+Bhs6mOD9v+Ap8aHoPq/myWFULG a1hsS2Hke5O9u490dOqgCQPqGDCdZ6uGsTkXn/YjOZ7q3Z+ZyMuzHhUv0QpHNpW1+Pjs 4sJ/OXHR9CkoQtt0C6FKYX6zuPxuVUhDAlPaK80ZGYZ2iKX/Qgmrn7h1POjWizHjNnOI BtAROSor6e2tA9iwxFR1NXKax2SoLw3MeTmWctw88KTFm2Q2e6av/zyUJsOYkZARvfHu 1ujw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CmyAA8mWvOAm9MVxFnt3sBz0xShMsVDkne+ZAHKvOeo=; b=Gmd0sDoUPSknJdAgmgQeMdIisFQC4q8AEqYAU0HRpUV4Zv2FLxZd6Yxi9mRmxQySNz yluiiCxooL8fJz8XAxjuw/W5XoOq0KR0bM3SmYa37chFRhVXsBAcc50VJH2rAK1HzDXI 4jRviDsO8nATtAHQOkIjj7EdAqW/yGMttT/lh5PM+gjF1SlYZxDTJ8wAi5QHwbgT5/Rd fbcFKfpSjYIn1mxkE1bXz40P0rtAPi5iK4WjhUBTs7I4wPxEb9QnFWj3xo96aT6eovn/ pkh4YVsN1lLCwNLPeUHgOgdjz0RO9ByDM+g+AI2XeSLcjzUgrOhyFW8gq4IFiU853wbb uH5g== X-Gm-Message-State: AMke39mIgk/2PUHFDVfzxjpHX2JC4bGmNIq32vAIFjSQkR/qdKpH9PX14GbQQPl42KlafA== X-Received: by 10.46.88.84 with SMTP id x20mr1704783ljd.24.1488014746053; Sat, 25 Feb 2017 01:25:46 -0800 (PST) Received: from localhost (mobile-access-bcee80-14.dhcp.inet.fi. [188.238.128.14]) by smtp.gmail.com with ESMTPSA id h23sm9409570lji.34.2017.02.25.01.25.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Feb 2017 01:25:45 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 2/2] emacs/desktop: update to use notmuch-emacs-mua and handle mailto Date: Sat, 25 Feb 2017 11:25:40 +0200 Message-Id: <20170225092540.13627-2-jani@nikula.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170225092540.13627-1-jani@nikula.org> References: <20170225092540.13627-1-jani@nikula.org> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 09:25:52 -0000 With the mailto: handling in notmuch-emacs-mua, we can update the desktop file to advertize we can be set as the default application to handle email. While at it, add GenericName and Comment to be more informative. With --hello, notmuch-emacs-mua will run (notmuch) if mailto: url is not given. --- emacs/notmuch-emacs-mua.desktop | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs/notmuch-emacs-mua.desktop b/emacs/notmuch-emacs-mua.desktop index f1600473bf60..0d9af2a4cf39 100644 --- a/emacs/notmuch-emacs-mua.desktop +++ b/emacs/notmuch-emacs-mua.desktop @@ -1,6 +1,9 @@ [Desktop Entry] Name=Notmuch (emacs interface) -Exec=emacs -f notmuch +GenericName=Email Client +Comment=Emacs based email client +Exec=notmuch-emacs-mua --hello %u +MimeType=x-scheme-handler/mailto; Icon=emblem-mail Terminal=false Type=Application -- 2.11.0