Hi Florian,<br><br> First of all thanks for replying. I will try to explain the situation clearly.<br><br> 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 <i>*.desktop</i> file on to <i>/usr/share/applications </i>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 <i>*.desktop </i>file on to some directory which is used for such purposes. But <i>/usr/share/applications/ </i>is failing in my case.<br>
<br> If you can provide me with some inputs it will be great. I think I have explained the situation vividly.<br><br>Thanks and Regards<br>-- anees<br><br><div class="gmail_quote">On Wed, May 7, 2008 at 4:57 PM, Florian Festi <<a href="mailto:ffesti@redhat.com">ffesti@redhat.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">aneeskA wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
Yet another question regarding placing a shortcut on the desktop of the user who is installing the package. While writing the spec file I found out that you can use the environment variable $HOME in %install section. But when it comes to listing the files in the distribution in the %files section, i cant use the $HOME. any one has any idea how can i do that so that i can copy a *.desktop file to the user's desktop which will ultimately solve my problem.<br>
<br>
Any help highly appreciated.<br>
</blockquote></div></div>
There is a very simple reason why this is not possible: Linux is a multiuser system. What ever problem you are trying to solve putting files into the user directorIES is not the solution. Even if you could put a file "on the desktop of the user who is installing the package" it would end on the desktop of the "root" user. So you won't win anything with this approach.<br>
<br>
Consider putting a short cut into the Applications menu or describe the problem you are actually interested in more detail.<br><font color="#888888">
<br>
Florian<br>
</font></blockquote></div><br>