SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2008-11-27 06:25:34

brjoon1021
Member
Registered: 2008-11-25
Posts: 37

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.

Offline

Be excellent to each other!

#2 2008-11-27 09:26:08

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,037
Website

Re: How do I give Firefox an icon in the toolbar...

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.desktop

2. Change line 68 from...

Icon=firefox-3.0

to...

Icon=/usr/lib/firefox-3.0.4/icons/mozicon128.png

3. Remove and re-add the launchbar icon for the changes to take affect.

Hope this helps smile

Offline

#3 2008-11-27 15:33:39

brjoon1021
Member
Registered: 2008-11-25
Posts: 37

Re: How do I give Firefox an icon in the toolbar...

That did it, thanks.

Offline

#4 2008-11-27 19:52:24

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: How do I give Firefox an icon in the toolbar...

This would make a nice how-to in the tips, tricks and scripts section. It's something that many people might come looking for.

Offline

#5 2008-12-06 02:51:57

marf
Member
Registered: 2008-12-03
Posts: 24

Re: How do I give Firefox an icon in the toolbar...

omns wrote:

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 wink

Offline

#6 2008-12-06 09:16:15

NWAdawg
Bob Da Dawg!
From: Arkansas US
Registered: 2008-11-27
Posts: 192
Website

Re: How do I give Firefox an icon in the toolbar...

Thanks it helped me.


-Bob- 
Ubuntu User #24005, Linux User #480025
identi.ca  friendfeed  facebook

Offline

#7 2008-12-13 04:04:21

NewCityVegas
Resident Tech Reporter
From: ANTI-CENSORSHIP
Registered: 2008-12-02
Posts: 554
Website

Re: How do I give Firefox an icon in the toolbar...

corenominal wrote:
gksudo gedit /usr/share/applications/firefox.desktop

2. Change line 68 from...

Icon=firefox-3.0

to...

Icon=/usr/lib/firefox-3.0.4/icons/mozicon128.png

3. 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)


============= You are the dreamer - and the dream =============

gooplusplus.com (goo++) --- compact web tools + 77 internet radio stations

Offline

#8 2008-12-13 07:32:56

bobobex
The Better Half
From: Lincoln, UK
Registered: 2008-11-26
Posts: 1,211

Re: How do I give Firefox an icon in the toolbar...

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 smile


Politeness, Respect, Trust, Humility - forum etiquette I abide by!
twitter

#! forum moderator

Offline

#9 2009-04-22 23:40:05

ranchero
New Member
Registered: 2009-03-27
Posts: 5

Re: How do I give Firefox an icon in the toolbar...

Thanks, this post helped me to return Firefox icon.

Offline

#10 2009-04-23 10:42:50

crunchy fox
Member
From: Lindholme
Registered: 2009-03-30
Posts: 46

Re: How do I give Firefox an icon in the toolbar...

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!


Crunchy Fox - making it up as i go along!
----------------------------------------------------
#! on a 2g, 901 (eeepc), server & D800 dell

Offline

#11 2009-07-28 06:11:11

briantm
#! CrunchBanger
Registered: 2009-03-12
Posts: 163

Re: How do I give Firefox an icon in the toolbar...

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

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo