Hi I have cretaed an RPM for my java application it works fine. Now I want to know how to set linux desktop icon in that rpm. Means if the user will install the application then an icon will be displayed in its desktop and also in start menu. If i click on that icon then my java application will start. Can any one please guide me.
Whether i need to do anything in my .spec file or i need to do any thing in .desktop file.
Unlike MS-Windows, Linux has more than one desktop option. Gnome and KDE are the 2 most common, but there are quite a few others as well.
Basically, to add an icon to the desktop, you have to follow the rules required for that desktop. As far as I'm aware, there's not standard universal API or file organization for adding icons and menus, but I think that people have been doing some work to make the task easier.
What I recommend is to go and look at the Gnome or KDE developer docs and see what they say. You can then put the appropriate directives into the specfile's postinstall script.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.