On Fri 01 Apr 2016 04:19:44 PM CDT, david allan finch wrote:
On 01/04/2016 16:14, Vojtěch Zeisek wrote:
In KDE, right-click to the application menu in the panel and select Manage applications. It has plenty of possibilities what to do.
Thanks but I don't mean as a User, I mean as a developer as part of a package install.
(I am also doing this from the gnome desktop but I would rather it works for both desktops).
Hi Add BuildRequires of hicolor-icon-theme and update-desktop-files then have a read through the following links; https://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_up... https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#categ... In %install you need to run; %suse_update_desktop_file %{name} You need to add a %post/%postun eg; %post %desktop_database_post %postun %desktop_database_postun Depending on the icons/theme, you may need to use %icon_theme_cache_post[un] as well, %ghost the icon-theme.cache file. -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.53-60.30-default up 20:06, 4 users, load average: 0.18, 0.07, 0.06 CPU AMD A4-5150M @ 2.70GHz | GPU Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org