> >On Wed, May 29, 2019 at 9:43 PM Ronald F. Guilmette
> ><[email protected]> wrote:
[...]
> >> So, is there an alternative minimized icon available for Firefox?
> >
> >Fvwm doesn't come with a set of icons. Fvwm will honor the apps icon
> >that it provides via EWMH standards. This is also the case for xterm
> >or any other program.
> >
> >If you don't like the icon provided by the application you can
> >configure fvwm to use custom icons via the Icon Style (or
> >WindowStyle). For example if you find a firefox icon and put it in
> >your ImagePath, you can tell fvwm to use it for firefox as follows:
[...]
> Thanks for all this info.  I'm going to try to fish the old Firefox
> icon out of my old FreeBSD system.  If I can find it, then I'll try
> to see if I can get fvwm to use it as you've instructed.
>
> If all else fails, I suppose that I can always RTFM, although I didn't
> (and don't) really know anything at all about this EWMH you mentioned.
> (But Google is my friend.)
>
> Hummm... did a find on my old system's /usr directory, searching for
> .png files, and I found several candidates that may be what I'm looking
> for, but I don't know which one is the Right One.

 The bad news is that modern EWMH X programs generally don't supply
their icons as files in the filesystem; instead, they provide multiple
sizes of icons as X properties, which you can usually see by using
'xprop' on a suitable window (it's all of the _NET_WM_ICON stuff, and
I think the WM_HINTS stuff, although I don't know how the bitmap ids
are used). If you want to see what size of icon fvwm is using for some
window, you can use 'xwininfo' on the icon; this will tell you the
icon's Width and Height.

 The actual source PNGs for these Firefox icons are present in the
source code but are magically bundled into the compiled and installed
Firefox. Never the less you can simply pull the PNGs out of the source
code, once you know the magical location. Probably the simplest way is
through the Github Firefox mirror, where I believe you can find all of
the sizes in the default*.pngs here:

https://github.com/mozilla/gecko-dev/tree/master/browser/branding/official

So, basically, you probably want to use xwininfo on an Opera icon to
find out how big it is, then download the appropriate sized defaultNN.png
file and set it as Firefox's icon. This will override anything Firefox
is hinting to fvwm and fvwm is picking up on.

        - cks

Reply via email to