[opensuse-packaging] Rationale behind X-SuSE-Unimportant in .desktop files?
Hi, We have an extension for .desktop files that enables us to say when an application is unimportant; the result is that the application does not appear in the menus by default. To do this, we just add X-SuSE-Unimportant=True to the .desktop file. On my machine, this is used in those files: $ grep -rl X-SuSE-Unimportant /usr/share/applications /usr/share/applications/xload.desktop /usr/share/applications/xclipboard.desktop /usr/share/applications/Xrefresh.desktop /usr/share/applications/Xkill.desktop /usr/share/applications/xcalc.desktop /usr/share/applications/math.desktop /usr/share/applications/xmag.desktop They come from xorg-x11, and libreoffice (math.desktop). This non-standard key is a bit of an issue, as it means that all implementations of the menu specification have to be patched to support this flag. And therefore, I'm wondering: is there any use for this? If we want to hide an application by default, then let's just do it with NoDisplay=true or Hidden=true, and the user can then chooses to display this application with a menu editor. Is there anybody opposed to killing this? Or am I missing something? FWIW, killing this might be as easy as updating update-desktop-files so that passing -u will add NoDisplay=true or Hidden=true, instead of adding X-SuSE-Unimportant=True. Thanks, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le mercredi 07 septembre 2011, à 00:18 +0200, Vincent Untz a écrit :
FWIW, killing this might be as easy as updating update-desktop-files so that passing -u will add NoDisplay=true or Hidden=true, instead of adding X-SuSE-Unimportant=True.
Done in sr#85482; please ping me if you see any issue coming from this. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (1)
-
Vincent Untz