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/7a3d24ce5da2a5ce44b61e0a2329ee1eb3f6aca4/src/desktop/org.opensuse.yast.SWSingle.desktop#L3
[3]
https://github.com/yast/yast-packager/blob/7a3d24ce5da2a5ce44b61e0a2329ee1eb3f6aca4/src/desktop/org.opensuse.yast.SWSingle.desktop#L9

-- 
Ladislav Slezák
YaST Developer

SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8

Reply via email to