Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

I'm dreaming of a Bash script that opens applications and places them in certain workspaces.

For example, I'd like to run a script that:

  • In Workspace 1 opens firefox
  • WS2 - opens term and maximizes it
  • WS3 - opens Sublime Text2 and maximizes it
  • WS4 - opens Pidgin, gpodder, and banshee

Is such a script possible in Ubuntu 13.04 running Cinnamon?

share|improve this question

marked as duplicate by Shakehar, Dave M, Tog, Scott, mpy Sep 10 '13 at 12:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
What OS and window manager? –  ernie Sep 6 '13 at 22:24
    
Just added to post. Cinnamon on Ubuntu 13.04 –  Richard Sep 7 '13 at 0:38
add comment

1 Answer

Yes, devilspie or wmctrl would do something close to what I'm asking. Link Ubuntu/ Gnome : Open an application in a specific workspace – wingedsubmariner left in the commets by @wingedsubmariner led me to these two utilities.

Essentially to answer the question -- once programs have been opened...

wmctrl -r mozilla -t 0 wmctrl -r mozilla -t 1

share|improve this answer
add comment

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