[yast-devel] YaST Group Desktop files do not comply with FreeDesktop standards
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm currently cleaning my bugzilla up and I've found this bug: Bug #470482 - YaST2 group .desktop files do not comply to FreeDesktop standard [1] which results in too much noise in .xsession-errors See https://bugzilla.novell.com/show_bug.cgi?id=470482 According to comments, YaST Group Desktop files cause many .xsession-errors because: * They contain Type="Application" * They (of course) do not contain any Exec=/some/binary There are two proposed solutions: * Add fake Exec=... line * Move the desktop files out of /usr/share/applications I don't like any of the proposed solutions much, so I'm asking *you* whether we have another option or what do you think of the proposed ones? Thanks in advance Lukas #1 http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-lates... - -- Lukas Ocilka, Appliances Department, SUSE LINUX s.r.o. MD: Jeff Hawn, Jennifer Guild, Alena Hendrichova -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFN/whuVSqMdRCqTiwRAoSAAKCH1b+V4oOWchroTjEvOfMkfiZadwCfXJI+ aUTjg/RkTb3Qnb4ORX/lnd0= =TXCn -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Lukas Ocilka write:
Hi,
I'm currently cleaning my bugzilla up and I've found this bug:
Bug #470482 - YaST2 group .desktop files do not comply to FreeDesktop standard [1] which results in too much noise in .xsession-errors See https://bugzilla.novell.com/show_bug.cgi?id=470482
According to comments, YaST Group Desktop files cause many .xsession-errors because:
* They contain Type="Application" * They (of course) do not contain any Exec=/some/binary
There are two proposed solutions:
* Add fake Exec=... line * Move the desktop files out of /usr/share/applications
I don't like any of the proposed solutions much, so I'm asking *you* whether we have another option or what do you think of the proposed ones?
Thanks in advance Lukas
#1 http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-lates...
Well, I investigate issue and it is correct, that it should not contain this type. From me the best solution is to remove line with type from all desktop entries which define only group. And let type=application only for real modules. Pepa -- Josef Reidinger Appliance Toolkit team maintaining parts of webyast and SLMS author of rubygems - studio_api and net_observer (coauthor) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 20.6.2011 11:18, Josef Reidinger napsal(a):
Well, I investigate issue and it is correct, that it should not contain this type. From me the best solution is to remove line with type from all desktop entries which define only group. And let type=application only for real modules. Pepa
According to https://bugzilla.novell.com/show_bug.cgi?id=470482#c3 Supplying Exec=/some/bin/ary (even if dummy one) parameter makes the message go away, but removing Type=Application line does not. L. - -- Lukas Ocilka, Appliances Department, SUSE LINUX s.r.o. MD: Jeff Hawn, Jennifer Guild, Alena Hendrichova -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFN/xGrVSqMdRCqTiwRAugFAKCOaJIewEmp6BjnYInZww2HI8pfrQCgiKSQ xfH9ii5vp8BFx6YRUy5dVfw= =6Dqx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Mon, Jun 20, 2011 at 11:23:55AM +0200, Lukas Ocilka wrote:
Dne 20.6.2011 11:18, Josef Reidinger napsal(a):
Well, I investigate issue and it is correct, that it should not contain this type. From me the best solution is to remove line with type from all desktop entries which define only group. And let type=application only for real modules. Pepa
According to https://bugzilla.novell.com/show_bug.cgi?id=470482#c3 Supplying Exec=/some/bin/ary (even if dummy one) parameter makes the message go away, but removing Type=Application line does not.
I think just adding Exec=/bin/true will fix the reported problem. If there are other problems later, hopefully we will discover a more meaningful solution though them. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 20.6.2011 17:15, Martin Vidner napsal(a):
On Mon, Jun 20, 2011 at 11:23:55AM +0200, Lukas Ocilka wrote:
Dne 20.6.2011 11:18, Josef Reidinger napsal(a):
Well, I investigate issue and it is correct, that it should not contain this type. From me the best solution is to remove line with type from all desktop entries which define only group. And let type=application only for real modules. Pepa
According to https://bugzilla.novell.com/show_bug.cgi?id=470482#c3 Supplying Exec=/some/bin/ary (even if dummy one) parameter makes the message go away, but removing Type=Application line does not.
I think just adding Exec=/bin/true will fix the reported problem. If there are other problems later, hopefully we will discover a more meaningful solution though them.
I've checked the issue and it was an issue in SLE 11 SP2 (all groups) and openSUSE 11/12 (only two group desktop files). I've changed all the desktop files to contain Exec=/sbin/yast2 which is, IMO, better than a dummy /bin/true. The rest of the desktop files bugs is still not fixed yet. - -- Lukas Ocilka, Appliances Department, SUSE LINUX s.r.o. MD: Jeff Hawn, Jennifer Guild, Alena Hendrichova -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFOAatdVSqMdRCqTiwRAvl6AJ0Vm8VmDa9/v7TOmBAt1RvlN5AHIgCfWPwA njN65bCFu7vADx00Q4ENsNw= =MpGd -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Mon, Jun 20, 2011 at 10:44:30AM +0200, Lukas Ocilka wrote:
Hi,
I'm currently cleaning my bugzilla up and I've found this bug:
Bug #470482 - YaST2 group .desktop files do not comply to FreeDesktop standard [1] which results in too much noise in .xsession-errors See https://bugzilla.novell.com/show_bug.cgi?id=470482
According to comments, YaST Group Desktop files cause many .xsession-errors because:
* They contain Type="Application" * They (of course) do not contain any Exec=/some/binary
There are two proposed solutions:
* Add fake Exec=... line * Move the desktop files out of /usr/share/applications
I don't like any of the proposed solutions much, so I'm asking *you* whether we have another option or what do you think of the proposed ones?
And today we received bug #681249 which requests to remove the "X-KDE-RootOnly=true" lines, see https://bugzilla.novell.com/show_bug.cgi?id=681249. All in all these desktop files seem more complicated than one would expect. Who here has enough knowledge to find a complete solution? ciao Arvin -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Tue, Jun 21, 2011 at 10:22:44AM +0200, Arvin Schnell wrote:
On Mon, Jun 20, 2011 at 10:44:30AM +0200, Lukas Ocilka wrote:
Hi,
I'm currently cleaning my bugzilla up and I've found this bug:
Bug #470482 - YaST2 group .desktop files do not comply to FreeDesktop standard [1] which results in too much noise in .xsession-errors See https://bugzilla.novell.com/show_bug.cgi?id=470482
According to comments, YaST Group Desktop files cause many .xsession-errors because:
* They contain Type="Application" * They (of course) do not contain any Exec=/some/binary
There are two proposed solutions:
* Add fake Exec=... line * Move the desktop files out of /usr/share/applications
I don't like any of the proposed solutions much, so I'm asking *you* whether we have another option or what do you think of the proposed ones?
And today we received bug #681249 which requests to remove the "X-KDE-RootOnly=true" lines, see https://bugzilla.novell.com/show_bug.cgi?id=681249.
Forgot to mention that bug #691528 is also about desktop files. https://bugzilla.novell.com/show_bug.cgi?id=691528 Regards, Arvin -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (4)
-
Arvin Schnell
-
Josef Reidinger
-
Lukas Ocilka
-
Martin Vidner