From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: .desktop file for emacs Date: Sun, 09 Dec 2007 09:24:23 -0800 Message-ID: <200712091724.lB9HOOHY005305@oogie-boogie.ics.uci.edu> References: <200712040715.lB47FVGB024963@oogie-boogie.ics.uci.edu> <200712050447.lB54lJFP014573@oogie-boogie.ics.uci.edu> <200712080141.lB81fnIm005167@oogie-boogie.ics.uci.edu> <18266.22398.668409.861308@a1ihome1.kph.uni-mainz.de> <200712082138.lB8LcslQ021599@oogie-boogie.ics.uci.edu> <475BC9C6.4040909@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1197221144 434 80.91.229.12 (9 Dec 2007 17:25:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2007 17:25:44 +0000 (UTC) Cc: Ulrich Mueller , rms@gnu.org, emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 09 18:25:53 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J1Pub-0006SB-0O for ged-emacs-devel@m.gmane.org; Sun, 09 Dec 2007 18:25:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1PuJ-0000xr-Ii for ged-emacs-devel@m.gmane.org; Sun, 09 Dec 2007 12:25:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1PuF-0000x5-8D for emacs-devel@gnu.org; Sun, 09 Dec 2007 12:25:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1PuE-0000wl-Gs for emacs-devel@gnu.org; Sun, 09 Dec 2007 12:25:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1PuE-0000wi-Bx for emacs-devel@gnu.org; Sun, 09 Dec 2007 12:25:30 -0500 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1Pu9-0002Hb-Jj; Sun, 09 Dec 2007 12:25:25 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id lB9HOOHY005305; Sun, 9 Dec 2007 09:24:24 -0800 (PST) In-Reply-To: <475BC9C6.4040909@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Sun, 09 Dec 2007 11:56:06 +0100") Original-Lines: 33 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84924 Archived-At: Jan Dj=E4rv writes: > Dan Nicolaescu skrev: > > Ulrich Mueller writes: > > > > > >>>>> On Fri, 07 Dec 2007, Dan Nicolaescu wrote: > > > > > as would figuring out how to install it correctly. > > > > Basically, the desktop entry should go to > > /usr/share/applications/ and > > > the icon(s) either to /usr/share/pixmaps/emacs_32.png or (preferr= ed) > > > to $XDG_DATA_DIRS/icons/hicolor/{16x16,24x24,32x32,48x48}/emacs.p= ng > > > (where XDG_DATA_DIRS is most likely just /usr/share), as describe= d in > > > . > > > > Does this mean the icons are not installed in the correct directory > > right now? > > > > Given that you seem to understand this, do you want to provide a patc= h? >=20 > Please don't. A normal user should be able to install Emacs to a > prefix of his choice. I have several Emacs instances installed at > different prefixes. There should not be a problem with that, if the destination directory is relative to ${datadir}. That should make it work fine for your situation and in the case when prefix is /usr it will do the right thing. Ulrich's post shows that the current installation method for icons is incorrect: they should go $XDG_DATA_DIRS/icons/hicolor/{16x16,24x24,32x32,48x48}/emacs.png Not sure how to test this, but it seems unlikely that whatever programs look for icons would be able to find an icon called emacs_16.png or emacs_48.png (no other programs seem to install icons with names like this)= .=20