Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-26-2014, 02:12 PM
|
#1
|
Member
Registered: Jan 2014
Posts: 81
Rep:
|
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).
|
|
|
01-26-2014, 02:16 PM
|
#2
|
Member
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 865
|
Quote:
Originally Posted by StevenXL
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).
|
You're right about it being the best way to learn. See this post on Alien BOB's blog to fix the issue.
Regards,
Matt
|
|
|
01-26-2014, 02:55 PM
|
#3
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
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.
Last edited by ruario; 01-28-2014 at 04:30 AM.
|
|
2 members found this post helpful.
|
01-26-2014, 03:47 PM
|
#4
|
Member
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305
Rep:
|
Quote:
Originally Posted by ruario
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 offical Slackbuild does.
|
That's what I did as well but I didn't symlink them to the hicolor directories. I installed them to the appropriate hicolor directories because the google-chrome icon didn't show up in my XFCE dropdown menu when symlinked.
|
|
|
01-27-2014, 02:33 AM
|
#5
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
Quote:
Originally Posted by larryhaja
That's what I did as well but I didn't symlink them to the hicolor directories. I installed them to the appropriate hicolor directories because the google-chrome icon didn't show up in my XFCE dropdown menu when symlinked.
|
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.
Last edited by ruario; 01-27-2014 at 02:36 AM.
|
|
|
01-27-2014, 10:36 AM
|
#6
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep:
|
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.
|
|
|
01-27-2014, 04:38 PM
|
#7
|
Member
Registered: Sep 2004
Location: USA
Distribution: Slackware
Posts: 163
Rep:
|
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
|
|
|
01-28-2014, 01:45 AM
|
#8
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
@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.
Last edited by ruario; 01-28-2014 at 04:21 AM.
|
|
|
01-28-2014, 09:03 PM
|
#9
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep:
|
@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).
|
|
|
01-29-2014, 12:57 AM
|
#10
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
@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 08:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|