I'm writing a shell script to automatically launch my work environment. It would be pretty nice to arrange the program windows automatically (for example vim opens at the left on desktop, and browser opens at the right...)

Is it possible to give commands "window-parameters"?

I use Gnome on Ubuntu, if that matters.

  • 1
    You would look into something called devilspie. I'm not sure if it's available for your specific distro (as you did not state what distro you are using), but it could accomplish this.
    – user101739
    Jul 29, 2015 at 17:42

1 Answer 1


It's devilspie2 now. (devilspie is not maintained now)

Please follow this link to get the tool & related info.

If you are on Ubuntu then click here

For man page click here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .