[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where does fvwm get its xterm icon?

On Mon 17 Sep 2018 at 12:05:35 (+0000), Kleene, Steven (kleenesj) wrote:
> I can't figure out where fvwm is getting the xpm icon for an xterm.  The
> issue started when I upgraded from Debian v7 (fvwm 1:2.5.30) to Debian v9
> (fvwm 1:2.6.7-3).  In both cases fvwm-icons was also installed.
> I have this in ~/.fvwm/config:
> Style "XTerm"       Icon null.xpm, SloppyFocus, IconBox 200x200-1+8
> where null.xpm is intended to call /usr/share/pixmaps/fvwm/null.xpm, a
> zero-byte file I created.

I think the intention is that you use NoIcon for no icon.

Anyway, you probably want to read the man pages for fvwm and xterm as
they interact in quite a complicated manner. Use   less   on both and
read all the hits made by /icon.

> When startx is called, it gets this from ~/.xinitrc:
> xterm -geometry 125x58+964+56 -iconic -title syrano -e ssh syrano &
> No matter what I list in config, the xterm icon that comes up matches
> /usr/share/pixmaps/mini.xterm_48x48.xpm (an icon with a blue `T' over a red
> `X').  If I copy some other xpm on top of that and do startx again, I still
> get the original mini.xterm_48x48.xpm image.  Furthermore,
> /usr/share/pixmaps/mini.xterm_48x48.xpm still shows an access time from weeks
> ago.  It seems that fvwm has that image cached or built in somehow.  Once
> fvwm is up, if I call "xterm &" and convert that to an icon, it appears as a
> live window screenshot, not as mini.xterm_48x48.xpm.

Yes, that's the xterm built-in that Nicolas alluded to, and when you
press (un)maximise and (un)iconify you can get some remarkable effects.
And some of the iconification options are "sloppy" for want of a
better word, as in "With this style, fvwm uses application provided
icons if the icon is changed but uses the icon provided in the
configuration file until then."

> In Debian 7, calling null.xpm gives me no xpm icon, just a title bar labeled
> "syrano".  I prefer this because it's very small.

I'm guessing things have changed in the meantime, judging by fvwm's
version numbers and changelogs. I tend not to notice as I'm not a fan
of menus and iconifying, prefering everything left open on a large
area of real-estate (5x4 rather than 2x2).


Reply to: