From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: GUI X-FreeDesktop integration Date: Fri, 14 May 2021 18:29:34 +0700 Message-ID: References: <20210514031825.zcgswqzuxrkktrgs@E15-2016.optimum.net> <83k0o1zudv.fsf@gnu.org> <87eee9wzck.fsf@fastmail.fm> <837dk1zrr6.fsf@gnu.org> <87bl9dwy0a.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Joost Kremers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 14 13:31:07 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhW26-0001VR-77 for ged-emacs-devel@m.gmane-mx.org; Fri, 14 May 2021 13:31:06 +0200 Original-Received: from localhost ([::1]:60526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhW25-000781-7M for ged-emacs-devel@m.gmane-mx.org; Fri, 14 May 2021 07:31:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhW0q-0005e5-Pk for emacs-devel@gnu.org; Fri, 14 May 2021 07:29:48 -0400 Original-Received: from mail-vk1-xa36.google.com ([2607:f8b0:4864:20::a36]:40670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhW0o-0001Xf-TL for emacs-devel@gnu.org; Fri, 14 May 2021 07:29:48 -0400 Original-Received: by mail-vk1-xa36.google.com with SMTP id q143so413119vkb.7 for ; Fri, 14 May 2021 04:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=5ftIAKOrkH9/WGgYkasQgGf5DEFX+htpnTsCF6f0MLc=; b=V6p7DDusDYlIaJ4d+0Q7dJPb/xViMtNG4MSFhleJewUK/51wfpxB+FkuM1q6FP4uSB 3vszXFUvbiNOKRVNc2EWtSWkqwWO+6waiqBl4QsRFrdoPxZn5L2ieicOKDGMqnrBlqSW yVatdFeLaR9Og6Au5ZkLJoC7elYYz8GWuBAbTZ6HvdMFhnKU3x4S3/TEeDM+0F7h5/m6 m17FHl70jZ7+FqNhZMTc1hVQnYkya19PtZ0hnqdDbgSGgVnzIylHemxnWvx6oljawn6j fVn7G4LmX/MUe85sp1M6qMfD2zXieKzeVsHeNutTUy+jNzAnkK+uthHHntzJrZaAvBto nAOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=5ftIAKOrkH9/WGgYkasQgGf5DEFX+htpnTsCF6f0MLc=; b=ttQe6QK04NPsNyX2DinPJMA+4qkvfdYNQLCy2EcpysTPnsigMyB9mNXRhSF7yXjq5D VHMwTjN3NZWznS8/1l9BXwHtERQriJjMjP7lWYKFALz58gHFDHV5mDrRvA7e4gtTOn6d OeaQ96o2iruZ6nZLJIPccrY70HkAyRhvf57yLcJ683r0Dz49/wY4ikNcnrLFzFG7Vgoa TXaC4mFVIu4jOSzC13xsV6kpZsd/xfXpOsqHp/BnAPfkup0graVCt+xCzQnGD20grh2i f9lX9dGnZEUuLjb1/rAznpsYzKmQlYb3QKDFsj0/NL1TmAGpWnaCHHqG2z6ULpWgwsz6 7sTw== X-Gm-Message-State: AOAM530H2F/X9S+8HfhYIjFlu75ROkCkf52zxPuaeax7hA9kykmPG5FA 2OpvjX42c+fuG0qN7VFPfjieqJd6G8BGMYjUQts= X-Google-Smtp-Source: ABdhPJxqdSqXNDxcYH76de2SlBWwNcWe+D2gsMS+IjC3Eya2h6o4vA54vRf03OSkzMXTnvvD9kkFg3FzimDIYyXlTLs= X-Received: by 2002:a1f:2844:: with SMTP id o65mr2052623vko.18.1620991785912; Fri, 14 May 2021 04:29:45 -0700 (PDT) In-Reply-To: <87bl9dwy0a.fsf@fastmail.fm> Received-SPF: pass client-ip=2607:f8b0:4864:20::a36; envelope-from=yurivkhan@gmail.com; helo=mail-vk1-xa36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269281 Archived-At: On Fri, 14 May 2021 at 14:55, Joost Kremers wrot= e: > On Fri, May 14 2021, Eli Zaretskii wrote: > > > Does emacs.desktop work for emacsclient invocations as well? If so, > > why did we add emacsclient.desktop on master? (I know nothing about > > GNOME desktop and its use protocols.) > > I don't know, and I don't have a clue how to go about testing that. AFAIK= a > .desktop file allows you to put a launcher in the dock and in the Applica= tions > menu of your GUI and that's it. No, that=E2=80=99s not (only) it. A .desktop file: * Puts a launcher in the Applications menu so you can launch the applicatio= n. * Optionally, associates an application with a set of MIME types so you can open documents with that application from your file manager, mail client, and other applications. * Optionally, associates an application with an URL scheme so you can open URLs in that application. A simple .desktop file only has a single command line defined. It is also possible to define multiple actions with different command lines and supporting launcher GUIs will expose those actions to the user, but etc/emacs.desktop in current master does not use this capability. https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spe= c-1.1.html