Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I'm running 11.10.

Is there a way of setting certain applications to always open on a specified workspace? I have noticed that most people suggest using CompizConfig Settings Manager, but this can cause disastrous problems with Unity.

I found this identical question, but the only answer there was CCSM: Is it possible to pin certain apps to a workspace in Unity?

Is there any way to do this without CCSM? I have been searching for ages, but can't find an alternative.


Devilspie partially works, but appears to have some limitations. I have a 2x2 workspace grid and can successfully get applications to start in workspace 1 or two, but trying 3 or 4 fails and the application loads in workspace 1. This seems to be an issue with them being on a second row. I have found many others with the same issue, such as here:

Where the suggested answer was to use CCSM!

share|improve this question
Did you try "set_viewport" instead of "set_workspace"? – desgua Feb 11 '12 at 23:49
up vote 10 down vote accepted

Yes you can use Devilspie to do that. There is a GUI for this app too. Follow these steps:

1) Install: sudo apt-get install devilspie gdevilspie

2) Open gdevilspie.

3) Start the daemon:

enter image description here

4) Select the matching window:

enter image description here

5) Choose the workspace:

enter image description here

Enjoy ;-)

share|improve this answer
Thank you so much for such a helpful response =) – GreenImp Feb 11 '12 at 17:48
hmm.. after looking into devilspie, it does seem to work, partially. See my edit in the original post for an explanation. – GreenImp Feb 11 '12 at 20:38
Did you try "set_viewport" instead of "set_workspace"? – desgua Feb 11 '12 at 23:49
unfortunately it seems to be affected by a bug: – fstab May 1 '14 at 11:28

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.