Hi All,
I created an RPM for my application.
After clicking the rpm, I managed to place the files in repective locations also I have "JServer" menus in the "Application" menu (The redhat one).
But the problem is the icons are not appearing in that menu.
I placed my icons/images in "/usr/share/icons/hicolor/48x48/apps"
# jserver-menu.menu (/etc/xdg/menus/applications-merged/)
<Menu>
<Name>JServer</Name>
<Menu>
<Name>JServer</Name>
<Directory>jserver-directory.directory</Directory>
<Include>
<Filename>jserver-start.desktop</Filename>
<Filename>jserver-stop.desktop</Filename>
</Include>
</Menu>
</Menu>
# jserver-start.desktop (/usr/share/applications)
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=JServer
Comment=JServer
Exec=service jserver-service start
Icon=jmenu.png
Terminal=false
Category=Application
# jserver-stop.desktop (/usr/share/applications)
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=JServer
Comment=JServer
Exec=service jserver-service stop
Icon=jmenu.png
Terminal=false
Category=Application
# jserver-directory.directory (/etc/xdg/menus/applications-merged/)
[Desktop Entry]
Encoding=UTF-8
Icon=jmenu.png
Name=JServer
and the jmenu.png is in "/usr/share/icons/hicolor/48x48/apps".
Any clue?