Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would I go about to create a script which would start a set of applications in a given workspace (ubuntu 11.10)?

Eg. When developing my application X, I use one terminal to run the application, one terminal where I run spec's, one instance of Kate in a specific folder, one instance of Firefox to a specific url and perhaps one instance of a database admin tool loaded with the dev db.

But I do not work on this application everytime I use my computer, so I would like to kickstart a script which would do something like this in a given workspace:

  1. Start terminal in folder for X and run all spec's
  2. Start new terminal in folder for X and start application
  3. Run Kate in folder for X
  4. Start firefox with url to X
  5. Start db-admin with dev db for X
share|improve this question
up vote 0 down vote accepted

You could use a combination of two approaches:

  1. Install devilspie (and optionally the GUI configurator gDevilspie) and use that to determine the workspaces.
  2. Make a script or scripts that launch the programs you want started, and put it/them somewhere in your PATH.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.