From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Skilbeck Newsgroups: gmane.emacs.bugs Subject: bug#12932: 24.2; Installing GNOME .desktop file to incorrect location Date: Mon, 19 Nov 2012 20:08:58 +0000 Message-ID: <20121119200858.GA11400@iammark.us> References: <87pq3aht9a.fsf@earth.i-did-not-set--mail-host-address--so-tickle-me> <753905cyek.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1353355813 461 80.91.229.3 (19 Nov 2012 20:10:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 20:10:13 +0000 (UTC) Cc: 12932@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 21:10:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaXff-0001vo-HB for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 21:10:19 +0100 Original-Received: from localhost ([::1]:47679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaXfU-0007MR-Cr for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 15:10:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaXfP-0007JO-3o for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 15:10:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaXfJ-0000o0-Gb for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 15:10:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaXfJ-0000nr-D4 for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 15:09:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TaXgM-0000bc-8e for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 15:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Skilbeck Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Nov 2012 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 12932-submit@debbugs.gnu.org id=B12932.13533558152272 (code B ref 12932); Mon, 19 Nov 2012 20:11:02 +0000 Original-Received: (at 12932) by debbugs.gnu.org; 19 Nov 2012 20:10:15 +0000 Original-Received: from localhost ([127.0.0.1]:55579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaXfW-0000aX-UC for submit@debbugs.gnu.org; Mon, 19 Nov 2012 15:10:14 -0500 Original-Received: from li357-97.members.linode.com ([178.79.188.97]:54203 helo=mail.iammark.us) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaXfQ-0000aM-UM for 12932@debbugs.gnu.org; Mon, 19 Nov 2012 15:10:09 -0500 Original-Received: by mail.iammark.us (Postfix, from userid 1000) id A4BFAAC46; Mon, 19 Nov 2012 20:08:58 +0000 (GMT) Content-Disposition: inline In-Reply-To: <753905cyek.fsf@fencepost.gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67182 Archived-At: On Mon, Nov 19, 2012 at 12:09:39PM -0500, Glenn Morris wrote: > markskilbeck@gmail.com wrote: > > > When compiling and installing Emacs, the GNOME .desktop file is > > installed to /usr/local/share/applications; however, according to the > > documentation[1], > > Reference [1] seems to be missing AFAICS. > > > the correct locations are: /usr/share/applications and > > ~/.local/share/applications. > > Thanks for the report. My initial reaction, without having read the > Gnome docs, is that this is a Gnome bug (obviously this won't be a > helpful response for you). If I compile something with --prefix=/foo, I > get annoyed if it installs files outside /foo. > > Installing in /usr/share/applications is a definite no-go, because then > we could clobber a pre-existing emacs.desktop belonging to the system. > I supposed we could perhaps only install here if there was not already > an emacs.desktop, but this does not seem like a great solution to me. > > Installing in ~ is pointless, because it only works for the installing > user (doubly bad if this is root). You could of course make your own > symlink there to the /foo file, so perhaps what Emacs does now is a > reasonable compromise. Apologies on the missing reference. Here it is: http://developer.gnome.org/integration-guide/stable/desktop-files.html.en The relevant part is: Place this file in the /usr/share/applications directory so that it is accessible by everyone, or in ~/.local/share/applications if you only wish to make it accessible to a single user ... However, I don't know if these are the only paths used--I will have to confirm with GNOME developers. -- mgsk (replying from a different email address)