On Tue, 19 Mar 2013 at 19:33:28 +0000, Pierre M wrote: > > Ok, I did it. I named it "oiw.sh" because that's how I roll; just place it > > somewhere in your system and rename as desired. > > Hi Renan, cheers =) > > Funny that, i did the same thing today and just finished. It's in the > attached. > I called it oid.pl, as wmctrl calls workspaces "desktops", and as i'm > a Perl monger: > "Open In Desktop" > > There's no "sleep" in it: i check the number of opened windows, and > wait until there are more (there's a timeout if no window is opened). > Then, i identify them and move them to the requested desktop. > > Instructions for use are at the beginning of the file. > Basically it looks like this (and you can also define a timeout duration): > > perl oid.pl 3 iceweasel www.linux.org
One possibility is to use wmaker's native option "Initial Workspace" (under the Attributes... menu) to define where the application should appear. For example, my chrome browser always start in workspace 3. The script allows you to choose the initial workspace independently each time, but if you find yourself always opening iceweasel on 3 you might want to remember this option :-) -- To unsubscribe, send mail to [email protected].
