Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 use Gnome on a RHEL system. When I launch a new program, the window manager (?) seems to make an effort to remember the size and position of the window when I last used it. However, I don't know how I can get it to remember what workspace it was last on.

Actually, bonus question: ideally, I'd like to be able to have a single program (in my case, Firefox) launch with different windows on different workspaces. They're set up this way when I log off, and I'd like them to come back the same way the following day when I log back in.

share|improve this question
What Window Manager are you using? Metacity? Compiz? Unity? Something else? – frabjous Aug 9 '11 at 17:07
So kinda like how Lion works? – digitxp Aug 9 '11 at 17:23
Haven't used Lion. And I think I may be too much of a Linux-newb to answer the window manager question. GDM I think? gdm-binary shows up in ps. – Coderer Aug 9 '11 at 23:00
the term you are searching for is 'session-manager' (not so much 'window manager') – akira Aug 10 '11 at 6:48
up vote 2 down vote accepted

This previous question seems to provide a solution: you can use Devil's Pie to programmatically move your app windows to the correct workspaces based on certain properties (program name, window title, etc.)

If you want a fully dynamic behavior, you can probably run a script at logout time that records which program is on which workspace, but having not used Devil's Pie myself I'm not sure how much work that'd be.

share|improve this answer
I'm going to take this as "you can't do this natively" and assume that if I cared enough to do so, I could use the program you suggest. Thanks! – Coderer May 21 '12 at 15:18

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.