sorry i should have spent more time to not create so much noise... turns out the google-chrome package has a bad .desktop file (or maybe the one downloaded from google has changed).
working -32.* version has: Icon=/opt/google/chrome/product_logo_256.png broken -38.* version has Icon=google-chrome a nice little sed -e 's/Icon=.*/Icon=\/opt\/google\/chrome\/product_logo_256.png/' would fix it. not sure how to reach out to slackware maintainers though. -m On Tue, Aug 26, 2014 at 11:43 PM, Miguel De Anda <[email protected]> wrote: > 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" <[email protected]> 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 >> [email protected] >> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users >> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ >> FAQ - http://slackbuilds.org/faq/ >> >>
_______________________________________________ SlackBuilds-users mailing list [email protected] http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/
