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

Assign program to specific workspace ON specific output

asked 2013-03-21 15:20:26 +0000

Using the following two lines I configured my i3 in such a way that my mail application appears on workspace "9:mail" on output "LVDS1":

assign [class="(?i)thunderbird"] 9:mail
workspace 9:mail output LVDS1

However, with this configuration, the workspace "9:mail" is created already on startup of i3 instead of a workspace 1 or 2 (depending on number of external monitors), even if thunderbird has not been started. Is there a way to prevent this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-03-21 15:41:19 +0000

vandannen gravatar image

updated 2013-03-21 15:41:45 +0000

For each output, i3 will start on the workspace that was declared first in the config file. So, I would suggest to explicitly declare theses workspaces.

In order to start on workspace 1 for the first monitor and on workspace 6 for the second one (where the name of the monitor/output depends on your configuration, like LVDS0 and LVDS1):

workspace 1 output LVDS0
workspace 6 output LVDS1
workspace 9:mail output LVDS1
edit flag offensive delete link more


Thanks, that's working!

mschaefer gravatar imagemschaefer ( 2013-03-21 16:33:32 +0000 )edit

Question Tools


Asked: 2013-03-21 15:20:26 +0000

Seen: 1,592 times

Last updated: Mar 21 '13