<p dir="ltr">Interesting. I just upgraded my chrome from *32 and the icon was missing... I'll try the same fix. This is from the official /extra build script though.</p>
<p dir="ltr">M</p>
<p dir="ltr">#miguel</p>
<div class="gmail_quote">On Aug 26, 2014 11:41 PM, "Leonard Schmidt" <<a href="mailto:lems@gmx.net">lems@gmx.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I noticed that while google-earth installs a .desktop file, there is no<br>
icon displayed in KDE's menu. I changed the SlackBuild to do this:<br>
<br>
--- google-earth.SlackBuild.orig        2014-01-30 06:31:45.000000000 +0100<br>
+++ google-earth.SlackBuild     2014-08-27 08:35:<a href="tel:14.783513681" value="+14783513681">14.783513681</a> +0200<br>
@@ -63,6 +63,10 @@<br>
 # Install a .desktop launcher:<br>
 mv $PKG/opt/google/earth/free/google-earth.desktop $PKG/usr/share/applications/google-earth.desktop<br>
<br>
+# Fix path to google-earth's icon<br>
+sed -i 's,^Icon=.*,Icon=/usr/share/icons/hicolor/256x256/apps/googleearth.png,' \<br>
+$PKG/usr/share/applications/google-earth.desktop<br>
+<br>
 # Copy icons to /usr/share/icons<br>
 for icon in 16 22 24 32 48 64 128 256; do<br>
   install -D $PKG/opt/google/earth/free/product_logo_${icon}.png \<br>
<br>
<br>
So a simple sed line to fix the path to the icon. After this change,<br>
Google Earth's icon is displayed in KDE's menu. I don't know if there is<br>
a better way, but this worked for me.<br>
<br>
Best regards<br>
<br>
Leonard Schmidt<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>