Re: FVWM: Time for a change . . .

From: Louis LeBlanc <leblanc+fvwm_at_keyslapper.org>
Date: Tue, 6 Nov 2001 14:55:10 -0500

On 11/06/01 04:56 PM, Fvwm Users sat at the `puter and typed:
> > . . .
>
> You can do something similar with a function, but you have to
> modify the function for each window. First start mutt in a window
> with an appropriate window title, e.g.
>
> xterm -T mutt -e mutt
>
> Then, use this function to switch desks:
>
> AddToFunc MyGotoDesk
> + I GotoDesk $*
> + I All (mutt) MoveToDesk
>
> Then use
>
> MyGotoDesk +1 0 1
>
> instead of GotoDesk everywhere. This does not look very nice
> since the mutt window is unmapped and then mapped again when
> switching desks, but it works anyway.

Hmm. Looks like it, but I had to make a small mod to get it to work:

AddToFunc MyGotoDesk
+ I All (mutt) MoveToDesk $*
+ I GotoDesk $*

Not much, but it appears MoveToDesk required at least one parameter,
and adding the '$*' always caused mutt to be moved to the 'next'
desktop - so it always went to the one I *wasn't* on. So it was like
trying to get 2 magnets to meet on their repellant sides. This way, it
seems to send mutt on ahead to the next desktop, and actually doesn't
appear to to too bad a job as far as timing, etc.

If I decide to add other desktops, and maybe use another hotkey to
scroll back the other way (-1 0 2) then it should be easy enough to
set up that binding with an analogous function.

Thanks!
Lou
-- 
Louis LeBlanc               leblanc_at_keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ
Finagle's Second Law:
  Always keep a record of data -- it indicates you've been working.


--
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 Tue Nov 06 2001 - 13:54:55 GMT

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