How to change Firefox icon? - firefox

Is there any way to change Firefox system icon (the one on the left top of the window)?
Precision : I want to change the icon of a bundled version of Firefox with apache/php and my application. So manual operation on each computer is not a solution.
I try Resource Hacker and it's the good solution. The add ons one is good too.

Resource hacker does the job of swapping application icons in Windows (up to XP, not tested with Vista yet).
Available at:
http://www.angusj.com/resourcehacker/

#phloopy's good suggestion to use http://iconpacks.mozdev.org/ unfortunately doesn't work with newer versions of Firefox (I think to the omni.jar change). You can still use their ICO files (or your own), but you now need to do the following manual steps...
Unzip omni.ja in your Firefox application directory.
Delete omni.ja or rename it (e.g. omni.ja.off).
Create directories icons/default in the Firefox chrome application directory.
Copy the icon file you want to chrome/icons/default/main-window.ico
Start Firefox and enjoy your new icon
Notes:
There are other ICO file names you can use for other windows. The ones I have personally seen work are:
main-window.ico for browser windows and Scratchpad
downloadManager.ico for Downloads
If you know others please comment so I can add them. I personally would love one for Firebug and the Error Console. One for Library (Bookmarks) would be nice also (bookmark-window.ico does not work).
Your start time will be a little slower (due to the unzipping of omni.ja). In theory you can jar it up again, but I am not 100% sure that will work once they get the omni.ja optimization working again (it's "broken" in Firefox 10 so omni.ja is actually normal JAR/ZIP file).
If you let Firefox update you will need to do this again
Note many zip tools cannot read Firefox’s variation on the JAR format (see https://bugzilla.mozilla.org/show_bug.cgi?id=605524).
More info is available at http://iconpacks.mozdev.org/docs/faq.html

There are icon packs available at http://iconpacks.mozdev.org/ that work by installing an extension. If you want to use your own icon, extensions are just zipped files so change the extension from xpi to zip and examine the source code and images it contains to customize it. If you do customize it, I suggest changing the GUID that so it doesn't auto-update and overwrite your customizations.

I think you mean the system icon, not the site icon as someone else thought. On a Mac, you can hold-Click -> Get Info on Firefox.app, then drag or paste an image on top of the icon.
I'm not sure about Windows, but I think you may need to compile from source to change it.

If you're talking about the application icon (which under Windows is typically located in the top-left corner of the application's window), then... no... and yes.
Like most windows apps, the icon you see there is probably a resource compiled into the application itself, so you can't change it.
There may be add-ins to Firefox that let you do this, but I doubt it - that icon is trademarked and "identifies" the Firefox "brand" (if you will). So it's unlikely that you could change it at run-time.
Firefox is open-source; you could always just download & compile your own version, replacing the icon resource with your own. A bit dramatic, but possible.

Related

Trying to keep default icons when associating multiple file extensions with same app on Windows

So I have my own windows app, 'MyApp', that I want to associate with multiple existing file extensions such as .pdf, .doc etc. Associating the extension is no problem, but then all of the file icons inherit their icon from the app, which I don't want.
I noticed that pdf files were associated with MS Edge on my Win11 machine, but that .pdf files were being displayed with a regular looking 'pdf' icon rather than an Edge one, exactly as I want to do.
I found this ms page that seems to describe how to do it with a DefaultIcon key in the registry, but my icon remains as MyApp's when I try. I also found this page which sounds similar to my problem. Implementing the answer's solution does change something, but all it does is give all of the associated files a shared icon (I pointed it to a 7zip one just for kicks) that is different from MyApp's.
I've concentrated on creating my own fake extension (.qqq) rather than trash settings for others, although I have tried using .pdf with no luck either.
I also noted the existing use of DefaultIcon with 7zip file extensions, but I was unable to replicate their behaviour with MyApp and its associated extensions.
Can anyone point out where I might be going wrong please?

Windows: How to associate developed software with a file type for context menu "open with"?

I'm not a Windows developer and my knowledge of the OS is very limited.
I wanted to write a very simply image viewer software for the Windows OS because such a thing doesn't seem to exist but we have such tools for Linux and they work well.
I am now at the stage where I have something working. But I have no idea how to "install the software program I have written" so that I can associate it with file types such as jpeg and other image files.
I have written this program in C++ although that probably isn't particularly important information.
The point being I am left with an executable file and no idea what to do with it.
I guess the first step to "install" it would be to create a directory in C:\Program Files\ and simply move the file there, although I'm sure I can do some research and figure out how to write an MSI installer to do that.
Where I become stuck is on other things, like how to create a start menu entry. (Desktop shortcut is easy it's just a link, moved to the users Desktop folder?) And then how to get a right click entry for file types such as PNG bmp and jpeg. (So that "open with" "my program" works)
I tried doing an internet search for this kind of thing but really didn't know what to search for. Can anyone offer me any advice on this or point me in the right direction?
Or is this perhaps the kind of thing I would just get an MSI to do everything for me?
For adding a Start Menu entry, you'd need to write a link into C:\ .ProgramData\Microsoft\Windows\Start Menu\Programs.
There you can add just the link to your application or put it in it's own folder. As for the Context Menu entries, there are two options: Adding it manually (But my guess is that you want your installer to do so) by selecting the exe or by modifying the registry.

Safari for Windows - disable certain plug-ins

I just can't find a way of doing this - in Safari for Windows (5.1.7) I would like to disable certain plug-ins, but I can only see how to disable them all (from Preferences/Security-> Enable Plugins) - can I not switch them on and off individually?
I have read about physically deleting files from a Safari folder within Windows Explorer but I'm not convinced about this (and there are no files in there that match what I am trying to disable anyway).
Thanks in advance.
The only way to get rid of individual plugins in Safari is to physically delete (or move them to another folder) from the C:\Program Files (x86)\Safari\Plugins folder.
If you say you've already checked and what you're looking for is not in that folder, are you it's a plugin and not an extension? You should be able to manage extensions individually in the preferences option within Safari.
If your plug-in doesn't appear in the folder, it shouldn't load anyways. If you can't find it there and it does load, I think your best option would be to uninstall and re-install Safari.
Sorry if this doesn't help.

Windows 7 .ico file being replaced with cached version

I'm having a problem exactly like the one in this very short video.
http://www.youtube.com/watch?v=912c6sQAsH0
I do not feel comfortable running a downloaded .exe file from a third party unknown developer as suggested by the link from the youtube page.
Does anyone know how to manually solve this problem?
Thanks.
Another way to rebuild the icon cache in Windows 7 without a restart is to change momentarily the screen color depth to 16 bits, for example, and when Windows asks you whether you want to keep the changes or not, click "No" to restore the original settings. This will invalidate the icon cache and Windows will recreate it instantly.
The problem is something called icon cache. Windows saves all recent icons in one file so that it does not have to gather icons all over the disk. This speeds up the system start.
Googling with the term "windows 7 rebuild icon cache" (without quotes) I was able to determine that icon cache is stored in file %USERPROFILE%\AppData\Local\IconCache.db and that all you need to do is rename it and restart Windows, like it's described here. Explorer has a hold of that file so you can't just delete it. There is a .bat file that makes it easy to delete the cache. You can download the file from here.

Tortoise SVN Icon Overlays Displaying Everywhere...Why?

Update: So, this turns out to have nothing to do with Tortoise SVN. I use Mozy.com for off-site backups and their new version includes these icon overlays. They can be disabled via the config options...or see here http://forum.pcmech.com/showthread.php?p=1385433. Thanks #OS for the answer.
Been using Tortoise SVN for some time on my Vista box. Within the last few days (and after recently upgrading to 1.5.4) the icon overlays are displaying on all files.
My exclude path is:
*
My include paths are:
C:\Users\jw\Documents\Visual Studio 2008\Projects\SVNProjects*
C:\Users\jw\Documents\VB Projects\SVNProjects*
I haven't touched those settings in months. Any ideas? Help. Thanks.
Something like that happened to me a few days ago and it turns out it's not related to Tortoise... I'm using Mozy to backup files automatically and their latest update includes icons very similar to Tortoise to mark backed-up files.
Icons usually appear for folders for files in a folder that have a hidden .svn subfolder. It sounds like your icon cache is corrupt though. You might also want to check the Icon Overlays section in the Settings dialog. If it's using the default icon cache, try killing the TSVNCache.exe process. If it's using the chell cache, kill explore.exe, in a cmd window go to %USERPROFILE%\AppData\Local, type "attrib –h IconCache.db" and then "del IconCache.db" and re-start explorer.exe.
The icons can disappear because there is a limit to the number of overlays Windows will support.
See http://tortoisesvn.net/faq.html#ovlnotshowing
agree with marxidad,
you can also try to rebuild the tortoisesvn icon cache using
TortoiseProc.exe
/command:rebuildiconcache
from the command line.

Resources