In a multiple monitor set-up with i3, how do you move windows between monitors using keybindings?
- 
        1This is much too broad a question and it was automatically flagged by the Stack Exchange software due to its shortness and content. Users processing the review queues won't see that it's actually a self-answered question - and may vote to close it. You should edit the question to include more specific details.Anthony Geoghegan– Anthony Geoghegan2017-10-09 19:24:23 +00:00Commented Oct 9, 2017 at 19:24
- 
        @AnthonyGeoghegan I've split my Q/A into two separate ones.Ricardo Decal– Ricardo Decal2017-10-10 17:16:12 +00:00Commented Oct 10, 2017 at 17:16
- 
        Splitting the question wasn’t useful and I'd suggest that you re-merge them. I was trying to say that reviewers of questions in the Close queue would not see the answer. Without knowing that it was self-answered, the question looked like a bad one and reviewers would be likely to vote to close it. I was suggesting that you include more specific details such as including i3wm in the body of the question, describe the tasks in more detail and say something like despite researching this, it wasn’t particularly obvious how to accomplish these tasks. For useful tips, see How to Ask and How to Answer.Anthony Geoghegan– Anthony Geoghegan2017-10-10 18:58:40 +00:00Commented Oct 10, 2017 at 18:58
- 
        1In any case, I've voted to re-open this question.Anthony Geoghegan– Anthony Geoghegan2017-10-10 19:00:12 +00:00Commented Oct 10, 2017 at 19:00
- 
        2This question seems fine to me. I don't see the reason it has to be expanded arbitrarily. It should be reopened in my opinion.Hofbr– Hofbr2022-12-15 06:10:18 +00:00Commented Dec 15, 2022 at 6:10
1 Answer
For windows and workspaces, you need to define a binding in your i3 config. Note: windows are called "containers", and monitors are called "outputs".
For moving windows:
move container to output left|right|down|up|current|primary|<output>
This is what I use in my i3 config:
# move focused window between monitors
bindsym $mod+Shift+greater move container to output right
bindsym $mod+Shift+less move container to output left
Note, you can also set a keybinding to send things to a specific monitor.
Moving focus between monitors works just like with one monitor. The focus will jump once you reach the "edge" of one monitor. The default binding is $mod+<arrow direction>. See also: moving workspaces between monitors.
- 
        Is it also possible to move the focus with it?PascalVKooten– PascalVKooten2022-06-03 21:45:56 +00:00Commented Jun 3, 2022 at 21:45
- 
        Note that theShifthere is actually required, despite being implied bygreaterandlesson many people's keyboards.J.M. Janzen– J.M. Janzen2025-05-26 21:31:19 +00:00Commented May 26 at 21:31
