FVWM: placement of windows from another host ???

From: Albrecht Kadlec <albrecht_at_java.vlsivie.tuwien.ac.at>
Date: 15 Apr 1996 14:12:01 +0200

hullo all,

I have a single 3x2 desktop (I don't like many desktops, since I
can't just cross the borders with the mouse).
I frequently work on more than one host (different accounts on
different hosts).

I end up starting e.g emacs on java.vlsivie, wait for the mapping and
then continue to work on vta_host.auto, while emacs initializes itself.

Or I read News with emacs on java, stumble over an url, have emacs
open netscape for me. When netscape is mapped, I move it to the next
page.

I'd very much like to have this done by fvwm.
One would use StartsOnDesk/Page and SkipMapping in the styles.

I could even specify that the "emacs_at_java.vlsivie" would
"StartOnPage 1" (emacs sets the title in a clever way on startup).

But how do I specify, that all emacses from any host in vlsivie
StartOnPage 1 in the lower row of pages and all netscapes from that
domain on Page 2, while I use the upper row of pages for my primary
account ?

I suspect sth like
        style "emacs_at_*.auto" StartsOnPage 1, Skipmapping
        style "emacs_at_*.vlsivie" StartsOnPage 3, Skipmapping
        style "netscape_at_*.vlsivie" StartsOnPage 4, Skipmapping
might be the right direction, when StartsOnPage is up & working.

But: netscape & others don't set it's title to 'argv[0]_at_host.domain' on
startup. (only emacs seems to do this.)

So it would be great to have fvwm2 handle this.
Does fvwm know the host of the connecting client? Or is this info only
present in the X server?

If fvwm knows the address, it could automatically split off the
_at_host.domain part of the style string and use it for matching.

The other possibility is to add a -T $0_at_`hostname` wrapper to all
commands at the shell level, rendering the builtin titles useless.

Am I on the right way?
Any comments?

albrecht
--
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 Mon Apr 15 1996 - 07:09:36 BST

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