Topic: How do I give Firefox an icon in the toolbar...
Right now, every other application has an icon specific to that application but Firefox has an icon that looks like a page of text with and "x" on it - something generic, in other words.
CrunchBang Linux Forums » Tips, Tricks & Scripts » How do I give Firefox an icon in the toolbar...
Right now, every other application has an icon specific to that application but Firefox has an icon that looks like a page of text with and "x" on it - something generic, in other words.
I think this has something to do with Firefox's icon being a symbolic link as opposed to being an actual icon in /usr/share/pixmaps. You could try editing /usr/share/applications/firefox.desktop and putting in the full path to the icon.
1. Open the file for editing with the following terminal command:
gksudo gedit /usr/share/applications/firefox.desktop2. Change line 68 from...
Icon=firefox-3.0to...
Icon=/usr/lib/firefox-3.0.4/icons/mozicon128.png3. Remove and re-add the launchbar icon for the changes to take affect.
Hope this helps ![]()
That did it, thanks.
This would make a nice how-to in the tips, tricks and scripts section. It's something that many people might come looking for.
This would make a nice how-to in the tips, tricks and scripts section. It's something that many people might come looking for.
Indeed it is.. thanks omns ![]()
Thanks it helped me.
gksudo gedit /usr/share/applications/firefox.desktop2. Change line 68 from...
Icon=firefox-3.0to...
Icon=/usr/lib/firefox-3.0.4/icons/mozicon128.png3. Remove and re-add the launchbar icon for the changes to take affect.
There may be a problem with that. My CrunchBang 8.10.01 distro included firefox-3.0.3 (not 3.0.4). I also noticed that the installed Firefox 3.0.3 had Help->Check for Updates disabled.
Since Firefox versions will change, why not:
sudo cp /usr/lib/firefox/3.x.x/icons/mozicon128.png /usr/share/firefox/mozicon128.png
Then make the corresponding icon entry in /usr/share/applications/firefox.desktop. Firefox's icon is unlikely to change so this is a more reliable image file location for configuration files.
Last edited by NewCityVegas (2008-12-13 10:09:33)
The distro included firefox 3.0.3 as that was what was available at that time. Since the release, firefox has updated and it is always advisable for users to regularly update their system.
corenominal has written a simple script to overcome this problem.
@NewCityVegas - please can you use italics for emphasis on the forums and not red as it makes reading your posts difficult. Thanks ![]()
Thanks, this post helped me to return Firefox icon.
superb stuff, ive kinda got to used to not having any icons but now i can add a few that the GF can click on!
simplez!
Thanks! This worked for me too.
I changed the icon path to /usr/share/icons/firefox.png though.
If linking to the .../firefox-3.0.4/... folder, would it break when it updates? Though maybe firefox.desktop will get overwritten when it update anyway.
Thanks
B
Posts [ 11 ]
CrunchBang Linux Forums » Tips, Tricks & Scripts » How do I give Firefox an icon in the toolbar...
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.