[Rpm-maint] Shortcut on desktop

Florian Festi ffesti at redhat.com
Wed May 7 12:04:10 UTC 2008

aneeskA wrote:
> Hi Florian,
>     First of all thanks for replying. I will try to explain the 
> situation clearly.
>     You would have noticed that while installing RPMs like adobe 
> reader after the processing is complete he puts a shortcut on the 
> desktop and also one entry in Applications->Office. Looking at some of 
> the spec files I have found out that it is possible to duplicate the 
> same by placing a /*.desktop/ file on to //usr/share/applications 
> /folder. But it is not working for me. Also i had already figured out 
> that putting the file on to the desktop will end up in root's desktop. 
> Thats why i was looking for other alternatives. The only possible way 
> i can figure out is to place the /*.desktop /file on to some directory 
> which is used for such purposes. But //usr/share/applications/ /is 
> failing in my case.
>     If you can provide me with some inputs it will be great. I think I 
> have explained the situation vividly.
While I am not an expert in packaging desktop applications the few 
packages I looked at call "update-desktop-database 
%{_datadir}/applications" in their %post and %postun sections. May be 
this is sufficient to make your short cut show up.


More information about the Rpm-maint mailing list