List Info

Thread: desktop-file-install for all desktop files?




desktop-file-install for all desktop files?
user name
2006-12-22 14:23:34
Do we need desktop-file-install for _ALL_ *.desktop files?

I'm NOT talking about files under 

        /usr/share/applications

but about

        /etc/xde/autostart
        /usr/share/gnome/autostart/
        /usr/share/Terminal/apps/
        /usr/share/Thunar/sendto/
        /usr/share/xfce4/helpers/
        /usr/share/xsessions

to name a few. The reason for me to ask is 
https://bugzilla.r
edhat.com/219986 ,
https://bugzilla.r
edhat.com/219990 and all my xfce4-panel-plugins, which
drop a desktop file in /usr/share/xfce4/panel-plugins. This
file is
needed for the "Add Items to the Panel"-dialog in
XFCE. These desktop
files don't need to be changed (e. g. --add-category=...)
and cannot be
edited like the main menu.

>From the guidelines at 
http://fedorapro
ject.org/wiki/Packaging/Guidelines#head-254ddf07aae20a23ced8
cecc219d8f73926e9755
"This is mostly for the sake of menu-editing (which
bases off
of .desktop file/path names)."

So am I correct that we don't need desktop-file-install for
desktop
files that do not show up in the menu?

Christoph

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 15:05:18
On Fri, 2006-12-22 at 15:23 +0100, Christoph Wickert wrote:
> Do we need desktop-file-install for _ALL_ *.desktop
files?

> >From the guidelines at 
> http://fedorapro
ject.org/wiki/Packaging/Guidelines#head-254ddf07aae20a23ced8
cecc219d8f73926e9755
> "This is mostly for the sake of menu-editing
(which bases off
> of .desktop file/path names)."
> 
> So am I correct that we don't need desktop-file-install
for desktop
> files that do not show up in the menu?

No, the guidelines are simply wrong here. 

Desktop files are just files, there is no magic registration
that
happens via desktop-file-install. The one thing that running
desktop-file-install gives you is some validation of the
contents,
and some capability of simple editing.

The whole vendor prefix idea is inherently broken.

Matthias

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 15:05:18
On Fri, 2006-12-22 at 15:23 +0100, Christoph Wickert wrote:
> Do we need desktop-file-install for _ALL_ *.desktop
files?

> >From the guidelines at 
> http://fedorapro
ject.org/wiki/Packaging/Guidelines#head-254ddf07aae20a23ced8
cecc219d8f73926e9755
> "This is mostly for the sake of menu-editing
(which bases off
> of .desktop file/path names)."
> 
> So am I correct that we don't need desktop-file-install
for desktop
> files that do not show up in the menu?

No, the guidelines are simply wrong here. 

Desktop files are just files, there is no magic registration
that
happens via desktop-file-install. The one thing that running
desktop-file-install gives you is some validation of the
contents,
and some capability of simple editing.

The whole vendor prefix idea is inherently broken.

Matthias

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 15:26:33
On Friday 22 December 2006 10:05, Matthias Clasen wrote:
> No, the guidelines are simply wrong here.

Matthias, after the break, would you be willing to put in
some time to help us 
revamp this part of the guidelines?

-- 
Jesse Keating
Release Engineer: Fedora
-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 15:26:33
On Friday 22 December 2006 10:05, Matthias Clasen wrote:
> No, the guidelines are simply wrong here.

Matthias, after the break, would you be willing to put in
some time to help us 
revamp this part of the guidelines?

-- 
Jesse Keating
Release Engineer: Fedora
-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 15:25:11
Am Freitag, den 22.12.2006, 10:05 -0500 schrieb Matthias
Clasen:
> On Fri, 2006-12-22 at 15:23 +0100, Christoph Wickert
wrote:
> > Do we need desktop-file-install for _ALL_
*.desktop files?
> 
> No, the guidelines are simply wrong here. 

Thanks for pointing this out so clearly.

Christoph

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 15:25:11
Am Freitag, den 22.12.2006, 10:05 -0500 schrieb Matthias
Clasen:
> On Fri, 2006-12-22 at 15:23 +0100, Christoph Wickert
wrote:
> > Do we need desktop-file-install for _ALL_
*.desktop files?
> 
> No, the guidelines are simply wrong here. 

Thanks for pointing this out so clearly.

Christoph

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 16:18:43
On Fri, 2006-12-22 at 10:26 -0500, Jesse Keating wrote:
> On Friday 22 December 2006 10:05, Matthias Clasen
wrote:
> > No, the guidelines are simply wrong here.
> 
> Matthias, after the break, would you be willing to put
in some time to help us 
> revamp this part of the guidelines?
> 

Sure, although I believe that this is a weakness of the
desktop entry
spec itself, which we may not be able to resolve fully by
packaging...

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
desktop-file-install for all desktop files?
user name
2006-12-22 16:18:43
On Fri, 2006-12-22 at 10:26 -0500, Jesse Keating wrote:
> On Friday 22 December 2006 10:05, Matthias Clasen
wrote:
> > No, the guidelines are simply wrong here.
> 
> Matthias, after the break, would you be willing to put
in some time to help us 
> revamp this part of the guidelines?
> 

Sure, although I believe that this is a weakness of the
desktop entry
spec itself, which we may not be able to resolve fully by
packaging...

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list
[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )