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: Sat, 08 Dec 2007 13:38:44 -0800 Message-ID: <200712082138.lB8LcslQ021599@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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197150034 20137 80.91.229.12 (8 Dec 2007 21:40:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2007 21:40:34 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 08 22:40:42 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 1J17PZ-0001ao-Cf for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2007 22:40:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J17PH-0000GI-Ps for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2007 16:40:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J17PD-0000Fd-Ay for emacs-devel@gnu.org; Sat, 08 Dec 2007 16:40:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J17PB-0000FH-T7 for emacs-devel@gnu.org; Sat, 08 Dec 2007 16:40:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J17PB-0000FE-Lo for emacs-devel@gnu.org; Sat, 08 Dec 2007 16:40:13 -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 1J17P6-0005Jp-Lp; Sat, 08 Dec 2007 16:40:08 -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 lB8LcslQ021599; Sat, 8 Dec 2007 13:38:54 -0800 (PST) In-Reply-To: <18266.22398.668409.861308@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Sat, 8 Dec 2007 09:36:14 +0100") Original-Lines: 47 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_57 0.60) 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:84898 Archived-At: Ulrich Mueller writes: > >>>>> On Fri, 07 Dec 2007, Dan Nicolaescu wrote: > > > I added an emacs.desktop file. > > Reviewing for correctness would be greatly appreciated > > Checking the file with "desktop-file-validate" (available at > ) results in > the following output: > > $ desktop-file-validate emacs.desktop > emacs.desktop: error: value "emacs_32.png" for key "Icon" in group > "Desktop Entry" is an icon name with an extension, but there > should be no extension as described in the Icon Theme > Specification if the value is not an absolute path > emacs.desktop: warning: value "Application;Development;TextEditor;" > for key "Categories" in group "Desktop Entry" contains a > deprecated value "Application" > emacs.desktop: warning: key "Encoding" in group "Desktop Entry" is > deprecated > > Also, the argument given to the "Exec" command should probably be "%F" > instead of "%f" since more than one filename argument is allowed. > Patch for the above is attached. Thanks, I installed those fixes. > One could also change the tooltip to say "Emacs is the extensible, > customizable, self-documenting real-time display editor" instead of > "Edit text", but this is of course a matter of taste. Agreed. I hope someone can come up with something better than "Edit Text" and check that in. > > 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 (preferred) > to $XDG_DATA_DIRS/icons/hicolor/{16x16,24x24,32x32,48x48}/emacs.png > (where XDG_DATA_DIRS is most likely just /usr/share), as described 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 patch?