How to add custom menu category in yast control centre in SLES 15 SP3 and openSUSE Leap 15.3
Hi Team, How to add custom menu category in YaST Control Centre in SLES 15 SP3 and openSUSE Leap 15.3? We need a custom Category in YaST Control Centre in SLES 15 SP3, so that we can place our custom application under that Category. In SLES 12 SP5 we were able to achieve this by creating a custom.menu file having Menu Name, Directory, Category and placing that menu file under /etc/xdg/menus/YaST-gnome-merged Since yast2-control-center-gnome has been deprecated in SLES15SP3 the above workaround is not working here. Regards, Gaurav
Dne 17. 09. 21 v 12:05 Gaurav Kumar napsal(a):
Hi Team,
How to add custom menu category in YaST Control Centre in SLES 15 SP3 and openSUSE Leap 15.3?
We need a custom Category in YaST Control Centre in SLES 15 SP3, so that we can place our custom application under that Category.
The Control Center groups are defined in the org.opensuse.yast.Group.*.desktop files, see [1]. These files are installed into the /usr/share/applications/YaST2/groups/ directory. Then just reference the new group from your YaST module .desktop file, like in the package manager example [2] and [3]. HTH Ladislav [1] https://github.com/yast/yast-yast2/tree/master/library/desktop/groups [2] https://github.com/yast/yast-packager/blob/7a3d24ce5da2a5ce44b61e0a2329ee1eb... [3] https://github.com/yast/yast-packager/blob/7a3d24ce5da2a5ce44b61e0a2329ee1eb... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8
participants (2)
-
Gaurav Kumar
-
Ladislav Slezak