[Slackbuilds-users] google-earth: no icon in KDE's menu

Miguel De Anda miguel at thedeanda.com
Wed Aug 27 06:43:25 UTC 2014


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.

M

#miguel
On Aug 26, 2014 11:41 PM, "Leonard Schmidt" <lems at gmx.net> wrote:

> Hello,
>
> I noticed that while google-earth installs a .desktop file, there is no
> icon displayed in KDE's menu. I changed the SlackBuild to do this:
>
> --- google-earth.SlackBuild.orig        2014-01-30 06:31:45.000000000 +0100
> +++ google-earth.SlackBuild     2014-08-27 08:35:14.783513681 +0200
> @@ -63,6 +63,10 @@
>  # Install a .desktop launcher:
>  mv $PKG/opt/google/earth/free/google-earth.desktop
> $PKG/usr/share/applications/google-earth.desktop
>
> +# Fix path to google-earth's icon
> +sed -i
> 's,^Icon=.*,Icon=/usr/share/icons/hicolor/256x256/apps/googleearth.png,' \
> +$PKG/usr/share/applications/google-earth.desktop
> +
>  # Copy icons to /usr/share/icons
>  for icon in 16 22 24 32 48 64 128 256; do
>    install -D $PKG/opt/google/earth/free/product_logo_${icon}.png \
>
>
> So a simple sed line to fix the path to the icon. After this change,
> Google Earth's icon is displayed in KDE's menu. I don't know if there is
> a better way, but this worked for me.
>
> Best regards
>
> Leonard Schmidt
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20140826/95b7659d/attachment.html>


More information about the SlackBuilds-users mailing list