[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .desktop file for emacs
From: |
Dan Nicolaescu |
Subject: |
Re: .desktop file for emacs |
Date: |
Sun, 09 Dec 2007 09:24:23 -0800 |
Jan Djärv <address@hidden> writes:
> Dan Nicolaescu skrev:
> > Ulrich Mueller <address@hidden> 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 (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?
>
> 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).
- .desktop file for emacs, Dan Nicolaescu, 2007/12/04
- Re: .desktop file for emacs, Ulrich Mueller, 2007/12/04
- Message not available
- Message not available
- Re: .desktop file for emacs, Richard Stallman, 2007/12/05
- Re: .desktop file for emacs, Dan Nicolaescu, 2007/12/07
- Re: .desktop file for emacs, Ulrich Mueller, 2007/12/08
- Re: .desktop file for emacs, Dan Nicolaescu, 2007/12/08
- Re: .desktop file for emacs, Glenn Morris, 2007/12/08
- Re: .desktop file for emacs, Jan Djärv, 2007/12/09
- Re: .desktop file for emacs,
Dan Nicolaescu <=
- Re: .desktop file for emacs, Eli Zaretskii, 2007/12/08
- Re: .desktop file for emacs, Richard Stallman, 2007/12/09