PDA

View Full Version : [all variants] Move automatically new windows to another destop



pedazovago
March 12th, 2010, 06:12 PM
Hi:

First sorry for my English, second in thanking everyone for the great community mounted, very helpful for newbies like me

Finally my question. I've been looking for a window manager that allows me two things, send new windows to another desktop automatically, and when a window receives a desk run a program automatically.

I tested with fvwm but I have not been able to.

thanks for the help

Barriehie
March 13th, 2010, 05:48 PM
Devilspie can do some of what you ask:
http://ubuntuforums.org/showthread.php?t=98071

pedazovago
March 14th, 2010, 05:52 AM
Devilspie can do some of what you ask:
http://ubuntuforums.org/showthread.php?t=98071

Thanks. This program are perfect for that , and link are very interesting

Barriehie
March 14th, 2010, 06:08 AM
Thanks. This program are perfect for that , and link are very interesting

Glad to help!

jpkotta
March 14th, 2010, 07:30 AM
In Fvwm,
Style <window matcher> StartsOnDesk <number>

Also in Fvwm, you can run a function whenever a window is mapped with the InitalMapCommand style. One of the things you can do with commands is run applications. Here's an example of such a command:


DestroyFunc StartMyApp
AddToFunc StartMyApp
+ I Exec exec myapp

Style some_window_name StartsOnDesk 0
Style some_window_name InitialMapCommand StartMyApp

ThomasAdam
March 31st, 2010, 11:41 PM
DestroyFunc StartMyApp
AddToFunc StartMyApp
+ I Exec exec myapp

Style some_window_name StartsOnDesk 0
Style some_window_name InitialMapCommand StartMyApp


Don't do this -- it's going to spawn a lot of windows that way -- when I wrote support for this, it was never intended to find a use like this. That's completely *disasterous* if myapp and some_window_name match.

-- Thomas Adam

jpkotta
April 2nd, 2010, 07:13 PM
Don't do this -- it's going to spawn a lot of windows that way -- when I wrote support for this, it was never intended to find a use like this. That's completely *disasterous* if myapp and some_window_name match.

-- Thomas Adam

Of course, but it's fine if myapp doesn't even make windows.