contribs review: SpawnOn


One issue that was irritating xmonad users for a while is that if you launch an application which takes some time to load (say, firefox or eclipse) and go to another workspace, program’s windows appears on the workspace you currently are on, not on the workspace the application was launched on.

Eventually, solution is found and implemented in XMonad.Actions.SpawnOn by Spencer Janssen (a similar solution was independently implemented by Daniel Schoepe). To get it working you need to add one action to your main function, add a ManageHook and replace all spawn functions you use in the keybindings with spawnHere. (See module documentation for details.)

The new module also contains replacement for Shell prompt with the same semantics. As another bonus, you can launch an application on some predefined (rather than current) workspace.


One Response to “contribs review: SpawnOn”

  1. Great! I have really missed this feature!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: