From: Dan Nicolaescu <dann@ics.uci.edu>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: .desktop file for emacs
Date: Sat, 08 Dec 2007 13:38:44 -0800 [thread overview]
Message-ID: <200712082138.lB8LcslQ021599@oogie-boogie.ics.uci.edu> (raw)
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")
Ulrich Mueller <ulm@gentoo.org> 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
> <http://www.freedesktop.org/software/desktop-file-utils/>) 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
> <http://standards.freedesktop.org/icon-theme-spec/latest/ar01s03.html>.
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?
next prev parent reply other threads:[~2007-12-08 21:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 7:15 .desktop file for emacs Dan Nicolaescu
2007-12-04 7:32 ` Ulrich Mueller
[not found] ` <E1IzkSJ-0005ZR-Mv@fencepost.gnu.org>
[not found] ` <200712050447.lB54lJFP014573@oogie-boogie.ics.uci.edu>
2007-12-06 2:12 ` Richard Stallman
2007-12-08 1:41 ` Dan Nicolaescu
2007-12-08 8:36 ` Ulrich Mueller
2007-12-08 21:38 ` Dan Nicolaescu [this message]
2007-12-09 1:53 ` Glenn Morris
2007-12-09 10:56 ` Jan Djärv
2007-12-09 17:24 ` Dan Nicolaescu
2007-12-08 11:49 ` Eli Zaretskii
2007-12-09 12:37 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200712082138.lB8LcslQ021599@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=ulm@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.