Google Chrome Icon
Hi guys -
I've installed Google Chrome on Slackware. It works great but I don't see the icon in any of the places where I search for Google Chrome. For example, when I use alt + f2 and I search for a program, I usually see the icon of the program. I don't see it with Google Chrome. (This is the same if I use the bottom-left menu to search, etc.). How Can I fix this? (It's a small issue, but I figure that trying to get Slackware just the way I want it is the best way to learn). |
Quote:
Regards, Matt |
You can make the google-chrome package with my script instead. I set up all icon sizes (16x16, 22x22, 24x24, 32x32, 48x48, 64x64, 128x128 and 256x256) in the correct location rather than just patch the desktop file to hardcode the full path of the 256x256 icon, as the official Slackbuild does.
To use my script simply fetch it as follows "wget http://www.panix.com/~ruari/latest-chrome". Then (optionally) read through it to satisfy yourself I don't do anything crazy. Finally issue the command "bash latest-chrome" to run it (you do not need to be root to run my script). On completion it should create a package named something like /tmp/google-chrome-32.0.1700.102-i386-1ro.tgz, which you can install as normal. Note: You may find that when you run the script it complains, along the lines of "Google Chrome (32.0.1700.102) is already installed; exiting" if you have already created a package using the official SlackBuild. In that case simply "removepkg google-chrome" (as root) and rerun "bash latest-chrome" again. |
Quote:
|
Quote:
They will show up just fine as long as you call "gtk-update-icon-cache -tq /usr/share/icons/hicolor" in post install. They showed up for you when you copied them not because there were physically present but because time had passed, so Xfce had done the equivalent of this command itself (e.g. it happens everytime you login). Symlinking works equally well. |
Thanks for the suggestions!
I haven't had time to implement any of them, but I will post back as soon as I do with results. |
On a similar note but a much different situation, a different installer package/script I used in the past had installed the .desktop icon in the wrong location.
(It was in "/opt/google/chrome/" instead of "/usr/share/applications/" ) Code:
ln -s /opt/google/chrome/google-chrome.desktop /usr/share/applications/google-chrome.desktop |
@Hangaber: That is where the official packages from Google had the file initially (prior to post install). However in recent versions it is already in the correct location from the beginning.
|
@ruario,
I followed your directions in post #3 and it worked like a charm! Very happy with it now. (P.S. - I looked through your script; I don't know much about bash but I am learning Python so I understand some of what was going on). |
@StevenXL: cool, glad it worked out for you. If you keep the script around you can just rerun it from time to time. If a new version appears it will download and repack it for you, ready for install. If you already have the latest version it will just confirm that is the case and exit.
|
All times are GMT -5. The time now is 03:11 PM. |