FVWM: Re: FvwmButtons again

From: Dave Goldberg <dsg_at_linus.mitre.org>
Date: Tue, 05 Mar 1996 15:24:06 -0500

Olly> Now, there's one more feature that I would really like to see;
Olly> I'd like to be able to set up a button that would, given a
Olly> window name, start the program and wait for the window to come
Olly> up (like the default) unless a window with that name already
Olly> existed in which case it would warp the desktop to that window.

You can do this with an fvwm function. I defined

AddToFunc warp-or-run "I" Next [$0 CirculateHit] Iconify -1
+ "I" Next [$0 CirculateHit] Focus
+ "I" None [$0] $1

And as part of my main menu definition I have:

+ "&Emacs" Function warp-or-run Emacs "Exec xcmd emacs"
+ "&Netscape" Function warp-or-run Netscape "Exec xcmd netscape"

I just tried it (with the standard FvwmButtons) and it works there. I
haven't had a chance to build Jarl's FvwmButtons yet, but from the
docs it looks like it should work there as well.

Dave Goldberg
Post: The Mitre Corporation\MS B305\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Email: dsg_at_mitre.org
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Mar 05 1996 - 14:24:19 GMT

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