Re: FVWM: desktop snapshot

From: Stephen R Dennison <srd_at_seekerof.info>
Date: Mon, 01 Mar 2004 11:01:00 -0500

Is there a way of updating a style based on windowid? With my current
setup, it seems that all my xterms would be using the same image (based
on window title) (oh, and assuming that my current setup works :)


Right now I have FvwmEvent calling a function that calls a shell script
to produce the icon based on the window id and title (passing just the
action and window id into the script as arguments) Later I'm planning
on just replacing my Exec exec with a PipeRead and making the script
output Style commands.

I was thinking about the cpu usage, and figured if I just capture the
add_window event that it might not be too bad. (and the corresponding
destroy window - but this is still hindered by the non-unique nature of
addressing windows by title in the style commands)


And thanks for the MiniIcon hint, I was trying to figure out a way to
not update the Icon itself.

--s.r.d.

On Mon, 2004-03-01 at 10:43, Mikhael Goikhman wrote:
> On 01 Mar 2004 09:34:05 -0500, Stephen R Dennison wrote:
> >
> > Anyone else think it would be cool to use something like this in
> > conjunction with FvwmEvent to modify pager icons? Or has anyone already
> > done this?
> >
> > I only ask because I think I lack the understanding to do it (atm).
> > I think it's possible... guess I'll find out.
>
> If you update WindowStyle MiniIcon, then this is theoretically possible
> (the parent subject modified Icon). However this also affects the
> MiniIcon titlebar button if you have one (you definitelly want to use
> dimentions larger than 16x16, such large icon is useless for titlebar).
> This also requires a lot of CPU, because unlike iconified windows, you
> want to capture the current image constantly, not just on iconification.
> There is no good solution to solve these 2 problems. Other than this, it
> may work.
>
> Regards,
> Mikhael.
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
>

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Mar 01 2004 - 10:03:24 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST