The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Open new windows on new workspaces?

asked 2014-12-23 10:06:54 +0000

Scrabz gravatar image

Maybe I'm just inept to search properly, but I can't find an answer for the life of me.

Is there a possibility to spawn a new desktop for each opened window except floats?

Note that I do not want to add a line to the config file for each program I could possibly want to start potentially, just a new desktop for each. Else I just could use section 4.12. from the users guide.

This seems just such an generic solution in the battle for screen real estate that I think I've overlooked something. In that I case will be thankfull for a pointer to the correct answer.

Thanks in advance!

edit retag flag offensive close merge delete



Nice question, but out of curiosity, why not use tabs?

Rojo gravatar imageRojo ( 2014-12-24 12:29:47 +0000 )edit

Because I feel they are redundant. They provide no extra information I need, and eat up a part of my screen space. With the solution I'm looking for, I can still choose to use them, but I've usually opened 2-6 windows, an I can remember easily which desktop holds each program.

Scrabz gravatar imageScrabz ( 2014-12-24 15:02:01 +0000 )edit

1 answer

Sort by » oldest newest most voted

answered 2014-12-26 17:58:56 +0000

Michael gravatar image

If you always spawn applications in i3, you can just chain the command you use, e.g. bindsym $mod+x workspace 10; exec dmenu. Note that you need to replace the workspace command with a script that opens a new workspace. Such a command is not in i3 because the behavior is very specific to the user’s needs — which output should the workspace be created on, what should be its name…?

In case you don’t, the IPC interface may still be good enough: you could look for new window events and then move these windows to a new workspace. See for more information.

edit flag offensive delete link more

Question Tools


Asked: 2014-12-23 10:06:54 +0000

Seen: 531 times

Last updated: Dec 26 '14