Re: FVWM: Making an app pop up on the desk where it was started?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 20 Apr 2003 16:27:57 +0000

On 20 Apr 2003 17:45:21 +0200, Felix E. Klee wrote:
>
> On Sunday 20 April 2003 15:00, Mikhael Goikhman wrote:
> > > Hm, many apps don't support that hint. But I forged a function that
> > > might be usable as a replacement for Exec:
> > >
> > > DestroyFunc DExec
> > > AddToFunc DExec
> > > + I Style $0 StartsOnDesk $[desk.n], SkipMapping
> > > + I Exec $0
> > >
> > > But this doesn't seem to work since the command name $0 doesn't
> > > neccessarily coincide with the proper style idenitifier.
> > >
> > > Any ideas how to fix this?
> >
> > Pass 2 arguments to a function, the mask and the command line.
>
> Uh, then I need to find the mask (what is that exacly, do you mean the
> class?) for each application that I have in the menus. Any idea how to
> automate this by a script when I use eg. FVWM menus generated by external
> tools.

I mean any name with a possible wildcards that Style accepts: window
name, class or resource. As reported by FvwmIdent for example.

You can't automate a proper discovering of this name/pattern given the
executable name unless there is a central database of all application
window names. I am not aware of such.

> > > BTW, even KDE has that feature builtin.
> >
> > Which feature exactly do you speak about?
> > Explain in detail what you want to get that KDE has builtin.
> > Which application and which popup windows?
>
> It's quite simple: Under KDE when I start an application on a certain
> desktop, say 2, and switch to another desktop, say 1, then, after being
> loaded, the application will pop up on desktop 2 without interrupting me
> working on desktop 1. Note that I'm not sure whether that holds true for
> absolutely all application and, unfortunately, I can't check it since KDE
> doesn't start anymore on my system (this might be due to some bugs in
> XFree86 as part of SuSE 8.2).

You still didn't say which application shows a problem for you.

I just happened to run konqueror to test how a site looks in it and it
opened a dialog window (transient) on the same desk where the konqueror
itself runs when I was on another desk.

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.
Received on Sun Apr 20 2003 - 11:29:38 BST

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