Hi Dominik! On Thu, Jul 31, 2014 at 06:22:47PM +0100, Dominik Vogt wrote: > On Thu, Jul 31, 2014 at 12:23:45PM +0200, Walter Alejandro Iglesias wrote: >> Is there a effective way to force applications to use the icon I set >> with Style * Icon someicon.png? >> >> I accomplished that for mini icons with: >> >> Style * EWMHMiniIconOverride >> >> But I couldn't with icons. I've tried IconOverride, >> Icon[Dont]DonateIcon, both settings fail. > > Overriding icons is tricky. :-) > > Try something like this > > Style SeaMonkey IconOverride, Icon the_icon_you_want_wo_use.xpm > > As far as I can see it is *not* possible to simply remove the icon > image, you would have to make a small transparent pixmap and use > it as the icon to achieve that. > > Note that setting icons works differently if the style name is '*', > in other words: the "Icon" style needs to be present on a style > line with a real name to work here.
My goal is to have all 48x48 icons and avoid maximized windows to cover them with: EwmhBaseStruts 0 48 0 0 The curious thing is I'm now using a modified version of fvwm.org FAQ's Thumbnail function that includes this line: echo WindowStyle IconOverride, Icon /tmp/icon-$[w.id].png || \ And in this case the trick works. But if I use plain Iconify using i.e. this style: Style xboard IconOverride, Icon xboard.png Xboard obeys the first time after restarting fvwm, but from the second time I iconify and upwards it insists in loading some big svg file (I know the simple dirty solution would be to remove that file). I even tried to fool it with: Style xboard IconOverride, Icon xboard.svg:48x48 Without success. By the way: $ grep ImagePath .fvwm/config ImagePath $HOME/.icons ImagePath +:$HOME/.icons/fvwm ImagePath +:$HOME/.icons/fvwm-extra $ ls .icons/xboard.png .icons/xboard.png And I've also tried using "Xboard" like name. I haven't that problem with mini icons, I've been able to override even the firefox one using EWMHMiniIconOverride. > > Ciao > > Dominik ^_^ ^_^ > > -- > > Dominik Vogt Thanks! Walter