From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: GUI X-FreeDesktop integration Date: Fri, 14 May 2021 09:45:00 +0300 Message-ID: <83k0o1zudv.fsf@gnu.org> References: <20210514031825.zcgswqzuxrkktrgs@E15-2016.optimum.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8513"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Boruch Baum Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 14 08:45:44 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 1lhRZw-000272-2z for ged-emacs-devel@m.gmane-mx.org; Fri, 14 May 2021 08:45:44 +0200 Original-Received: from localhost ([::1]:60872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhRZv-0007lV-17 for ged-emacs-devel@m.gmane-mx.org; Fri, 14 May 2021 02:45:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhRZ0-0006xA-UO for emacs-devel@gnu.org; Fri, 14 May 2021 02:44:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44508) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhRZ0-0002Du-Nq; Fri, 14 May 2021 02:44:46 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3875 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhRZ0-0005fk-6q; Fri, 14 May 2021 02:44:46 -0400 In-Reply-To: <20210514031825.zcgswqzuxrkktrgs@E15-2016.optimum.net> (message from Boruch Baum on Thu, 13 May 2021 23:18:25 -0400) 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:269272 Archived-At: > Date: Thu, 13 May 2021 23:18:25 -0400 > From: Boruch Baum > > I found myself today using GUI emacs 27.1, and was surprised that it > wasn't at all integrated with the (debian) linux desktop. It doesn't > seem like a big deal to make part of a standard install, but in the > context of 'trying to make emacs easier' it would go a long way. I never > know when I post on this list whether something has already been either > done or flat-out rejected sometime in the past, oh, 30 years?, but > here's a simple two-step proposal to accomplish the type of integration > I think *ALL* newcomers would expect when installing GUI emacs (ie. when > one selects file(s) in a file manager, they are opened in Emacs). > > Step 1: New file: /usr/share/applications/emacsclient.desktop The master branch has etc/emacsclient.desktop, which looks similar to what you want. Can you try that and provide feedback? If that file is OK, then Emacs 28 will have this bundled, and the problem is solved. Thanks.