Oh, and it should go without saying that you should have the equivalent uninstall in %postun.<br><br><div id="WISESTAMP_SIG_253"><span style="font-size: 13.3px; font-family: Verdana, Arial, Helvetica, sans-serif;"><div style="margin: 0 0 8px 0">
<div>
<p style="margin:0; "><strong>Isaac Fischer</strong><br>+1 (210) 775-2890<br><a href="mailto:xwaver@gmail.com">xwaver@gmail.com</a></p>
</div></div><a href="http://www.facebook.com/xwaver" style="text-decoration: underline"><img width="16" height="16" alt="Facebook" style="padding: 0px 0px 5px 0px; vertical-align: middle;" border="0" src="http://images.wisestamp.com/facebook.png"></a> <a href="http://www.linkedin.com/in/ijfischer" style="text-decoration: underline"><img width="16" height="16" alt="LinkedIn" style="padding: 0px 0px 5px 0px; vertical-align: middle;" border="0" src="http://images.wisestamp.com/linkedin.png"></a> <a href="http://twitter.com/xwaver" style="text-decoration: underline"><img width="16" height="16" alt="Twitter" style="padding: 0px 0px 5px 0px; vertical-align: middle;" border="0" src="http://images.wisestamp.com/twitter.png"></a> <a href="http://xwaver.myplaxo.com/" style="text-decoration: underline"><img width="16" height="16" alt="Plaxo" style="padding: 0px 0px 5px 0px; vertical-align: middle;" border="0" src="http://images.wisestamp.com/plaxo.png"></a><br>
<span style="color: gray">IM:</span> <img width="16" height="16" alt="Google Talk/" style="padding: 0px 0px 5px 0px; vertical-align: middle;" border="0" src="http://images.wisestamp.com/gtalk.png"> <a href="mailto:xwaver@gmail.com">xwaver@gmail.com</a> <img width="16" height="16" alt="AIM/" style="padding: 0px 0px 5px 0px; vertical-align: middle;" border="0" src="http://images.wisestamp.com/aim.png"> xwaver118 <img width="16" height="16" alt="Skype/" style="padding: 0px 0px 5px 0px; vertical-align: middle;" border="0" src="http://images.wisestamp.com/skype.png"> xwaver118<br>
<div style="border-top: 1px solid #eeeeee;margin-top: 12px;padding-top: 2px; font-size: 70%;"><a style="color: #aaa; text-decoration: none;" href="http://www.wisestamp.com/email-install?utm_source=extension&amp;utm_medium=email&amp;utm_campaign=footer"><span style="color: #aaa;">Signature powered by </span></a><a style="color: #555; text-decoration: none;" href="http://www.wisestamp.com/email-install?utm_source=extension&amp;utm_medium=email&amp;utm_campaign=footer"><span style="color: #444;">WiseStamp</span></a> </div>
<img src="http://s.wisestamp.com/pixel.png?p=chrome&amp;v=2.0.4.0&amp;t=1296583233509&amp;u=8362468&amp;e=7958" width="1" height="1"></span></div><br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 11:58 AM, Isaac Fischer <span dir="ltr">&lt;<a href="mailto:xwaver@gmail.com">xwaver@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">So, long story short: <div>Is there one or more documented Fedora standard that says you can&#39;t do it? I think there used to be, but not anymore.</div>
<div>Is there an easy way to do it? Yes. There&#39;s even an xdg utility to do so properly in a freedesktop compliant way. See <a href="http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-icon.html" target="_blank">http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-icon.html</a></div>

<div>Should you do it? Not necessarily. Being freedesktop compliant is nice, but you should always have an application menu icon also. Not all window managers view ~/Desktop icons. Gnome and KDE happen to do so. See <a href="http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-menu.html" target="_blank">http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-menu.html</a></div>

<div><a href="http://portland.freedesktop.org/xdg-utils-1.0/xdg-desktop-menu.html" target="_blank"></a><br>Now as a personal preference, I try to have as few Launchers on the desktop as possible. So, I&#39;d think the REALLY smart option, in the interest of choice is to have a subpackage that runs xdg-desktop-icon in %post.</div>

<div><br></div><div>That covers your bases, gives the user an option, and doesn&#39;t violate any standards that I can see. If a standard banning Launcher install re-emerges, you won&#39;t have to do major surgery to your spec, and it will degrade gracefully.</div>

<div><br></div><div>Does that satisfy any|everyone?</div><div><br><div><span style="font-size:13.3px;font-family:Verdana, Arial, Helvetica, sans-serif"><div style="margin:0 0 8px 0"><div>
<p style="margin:0"><strong>Isaac Fischer</strong><br>+1 (210) 775-2890<br><a href="mailto:xwaver@gmail.com" target="_blank">xwaver@gmail.com</a></p>
</div></div><a href="http://www.facebook.com/xwaver" style="text-decoration:underline" target="_blank"><img width="16" height="16" alt="Facebook" style="padding:0px 0px 5px 0px;vertical-align:middle" border="0" src="http://images.wisestamp.com/facebook.png"></a> <a href="http://www.linkedin.com/in/ijfischer" style="text-decoration:underline" target="_blank"><img width="16" height="16" alt="LinkedIn" style="padding:0px 0px 5px 0px;vertical-align:middle" border="0" src="http://images.wisestamp.com/linkedin.png"></a> <a href="http://twitter.com/xwaver" style="text-decoration:underline" target="_blank"><img width="16" height="16" alt="Twitter" style="padding:0px 0px 5px 0px;vertical-align:middle" border="0" src="http://images.wisestamp.com/twitter.png"></a> <a href="http://xwaver.myplaxo.com/" style="text-decoration:underline" target="_blank"><img width="16" height="16" alt="Plaxo" style="padding:0px 0px 5px 0px;vertical-align:middle" border="0" src="http://images.wisestamp.com/plaxo.png"></a><br>

<span style="color:gray">IM:</span> <img width="16" height="16" alt="Google Talk/" style="padding:0px 0px 5px 0px;vertical-align:middle" border="0" src="http://images.wisestamp.com/gtalk.png"> <a href="mailto:xwaver@gmail.com" target="_blank">xwaver@gmail.com</a> <img width="16" height="16" alt="AIM/" style="padding:0px 0px 5px 0px;vertical-align:middle" border="0" src="http://images.wisestamp.com/aim.png"> xwaver118 <img width="16" height="16" alt="Skype/" style="padding:0px 0px 5px 0px;vertical-align:middle" border="0" src="http://images.wisestamp.com/skype.png"> xwaver118<br>

<div style="border-top:1px solid #eeeeee;margin-top:12px;padding-top:2px;font-size:70%"><a style="color:#aaa;text-decoration:none" href="http://www.wisestamp.com/email-install?utm_source=extension&amp;utm_medium=email&amp;utm_campaign=footer" target="_blank"><span style="color:#aaa">Signature powered by </span></a><a style="color:#555;text-decoration:none" href="http://www.wisestamp.com/email-install?utm_source=extension&amp;utm_medium=email&amp;utm_campaign=footer" target="_blank"><span style="color:#444">WiseStamp</span></a> </div>

<img src="http://s.wisestamp.com/pixel.png?p=chrome&amp;v=2.0.4.0&amp;t=1296582509247&amp;u=8362468&amp;e=6221" width="1" height="1"></span></div><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 9:52 AM, Jon Ciesla <span dir="ltr">&lt;<a href="mailto:limb@jcomserv.net" target="_blank">limb@jcomserv.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Erik Blankinship wrote:<br>
&gt;<br>
&gt; &gt; &gt; So, with this in mind, I am wondering if there is a way for an rpm to<br>
&gt; &gt; &gt; create an icon on the gnome desktop.  If it is possible, could someone<br>
&gt; &gt; &gt; point me towards an example or some documentation?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Also, can someone point me to the fedora policy against desktop icons?<br>
&gt; &gt; &gt;  It would be helpful to see the policy so as to avoid other pitfalls.<br>
&gt; &gt; &gt;  Thanks much!<br>
&gt;<br>
&gt; &gt; <a href="https://fedoraproject.org/wiki/Packaging/Guidelines" target="_blank">https://fedoraproject.org/wiki/Packaging/Guidelines</a><br>
&gt;<br>
&gt; Ok, looking specifically at:<br>
&gt; <a href="https://fedoraproject.org/wiki/Packaging/Guidelines#Desktop_files" target="_blank">https://fedoraproject.org/wiki/Packaging/Guidelines#Desktop_files</a><br>
&gt;<br>
&gt; I can&#39;t find anything here about putting an icon on the user&#39;s<br>
&gt; desktop.  When I create near identical .desktop file to the one listed<br>
&gt; on that page, it just creates a gnome menu item.<br>
&gt;<br>
&gt; I also don&#39;t see anything on this page advising me against putting an<br>
&gt; icon on the dektop.<br>
</div></div><div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; --<br>
&gt; packaging mailing list<br>
&gt; <a href="mailto:packaging@lists.fedoraproject.org" target="_blank">packaging@lists.fedoraproject.org</a><br>
&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/packaging</a><br>
</div>It&#39;s not so much the Packaging Guidelines directly, but the fact that we<br>
make every effort to adhere to FHS:<br>
<br>
<a href="http://www.pathname.com/fhs/pub/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES" target="_blank">http://www.pathname.com/fhs/pub/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES</a><br>
<br>
You just can&#39;t rely on /home being present or having particular<br>
contents, for one thing.<br>
<font color="#888888"><br>
-J<br>
</font><div><div></div><div><br>
--<br>
in your fear, seek only peace<br>
in your fear, seek only love<br>
<br>
-d. bowie<br>
<br>
--<br>
packaging mailing list<br>
<a href="mailto:packaging@lists.fedoraproject.org" target="_blank">packaging@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/packaging</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>