10

In a multiple monitor set-up with i3, how do you move windows between monitors using keybindings?

5
  • 1
    This 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. Commented Oct 9, 2017 at 19:24
  • @AnthonyGeoghegan I've split my Q/A into two separate ones. Commented 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. Commented Oct 10, 2017 at 18:58
  • 1
    In any case, I've voted to re-open this question. Commented Oct 10, 2017 at 19:00
  • 2
    This question seems fine to me. I don't see the reason it has to be expanded arbitrarily. It should be reopened in my opinion. Commented Dec 15, 2022 at 6:10

1 Answer 1

21

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.

2
  • Is it also possible to move the focus with it? Commented Jun 3, 2022 at 21:45
  • Note that the Shift here is actually required, despite being implied by greater and less on many people's keyboards. Commented May 26 at 21:31

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.