[Bug 382778] New: YaST desktop files should use Settings and System categories
https://bugzilla.novell.com/show_bug.cgi?id=382778 Summary: YaST desktop files should use Settings and System categories Product: openSUSE 11.0 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vuntz@novell.com QAContact: jsrain@novell.com Found By: --- To nicely integrate with tools that are not YaST-aware, the YaST desktop files should probably list two more categories: Settings and System. They nicely fit the YaST tools. See http://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#catego... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382778
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=382778
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=382778
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382778#c3
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=382778
User jsrain@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382778#c4
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=382778
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382778#c5
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=382778
User aj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382778#c6
--- Comment #6 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=382778
User stbinner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382778#c7
--- Comment #7 from Stephan Binner
To nicely integrate with tools that are not YaST-aware
What 'tools' are we talking about btw? Obviously the YaST control center are by design the only way they are meant to be found/used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382778
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382778#c8
--- Comment #8 from Vincent Untz
Now it's worth - the packages do not build anymore:
ERROR: No sufficient Category definition: /var/tmp/yast2-tune-2.16.1-build//usr/share/applications/YaST2/hwinfo.desktop ERROR: No sufficient Category definition: /var/tmp/yast2-tune-2.16.1-build//usr/share/applications/YaST2/system_settings.desktop .
It's not clear to me what the error means, but Stephan suggested it was because the item appeared in multiple places. I've put those categories in the desktop files on my system, and as far as I can tell, the issue would be that the items appear in System->More Programs. In this case it's just a matter of adding <Not><Category>X-SuSE-YaST</Category></Not> in the .menu file under the System->More Programs menu. (In reply to comment #7 from Stephan Binner)
Rather worse than worth all this struggle... ;-)
To nicely integrate with tools that are not YaST-aware
What 'tools' are we talking about btw? Obviously the YaST control center are by design the only way they are meant to be found/used.
Well, all tools that might use menu files. Like the application browsers, etc. If someone uses a .menu file that we didn't patch in some way to exclude the YaST items (with the X-SuSE-YaST category), then he will see all the YaST items. Another example is that when I build GNOME (but it's true for all other desktops, I guess) in another prefix, but still set XDG_DATA_DIRS to contain /usr/share, then I have the upstream menu structure with all the .desktop files we ship in openSUSE. Which means I get all the YaST items displayed where they shouldn't. (also note that at least System or Settings should be added: right now, those desktop files do not have any "main" category registered in the fd.o menu spec, and that's wrong according to the spec, which makes them invalid) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=382778
User jsrain@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382778#c9
Jiri Srain
participants (1)
-
bugzilla_noreply@novell.com