For openSUSE Leap 15.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:common:Factory/openSUSE_Leap_15.2/X11:common:Factory.repo
zypper refresh
zypper install xdg-menu
For openSUSE Leap 15.1 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:common:Factory/openSUSE_Leap_15.1/X11:common:Factory.repo
zypper refresh
zypper install xdg-menu
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:common:Factory/openSUSE_Factory_ARM/X11:common:Factory.repo
zypper refresh
zypper install xdg-menu
For openSUSE Factory run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:common:Factory/openSUSE_Factory/X11:common:Factory.repo
zypper refresh
zypper install xdg-menu