The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Force i3 to use only one monitor (Mac OS X)

asked Jul 27 '14

syl20bnr gravatar image

updated Jul 28 '14

I use i3 on Mac OS X and I don't seem to be able to have a consistent user experience when there is more than one monitor.

Is there a way to force i3 to use only one monitor ? Asked differently: How to disable the second monitor completely so that i3 ignores it ? (from the point of view of i3, the monitor does not exist).

Comments

You can use: "workspace xxx output yyy" in your config.

tigrezno gravatar imagetigrezno (Jul 27 '14)edit

This sounds like an [X-Y problem](http://xyproblem.info/) to me.

ANOKNUSA gravatar imageANOKNUSA (Jul 27 '14)edit

Thank you ANOKNUSA I made the question less ambiguous.Don't worry, I tried a lot of solutions to fix the inconsistencies (which are hard to describe). Fact is: only one monitor, no issue :-)

syl20bnr gravatar imagesyl20bnr (Jul 28 '14)edit

Actually, I was referring to the ambiguity of "consistent user experience." ;) I'll answer it best I can below.

ANOKNUSA gravatar imageANOKNUSA (Jul 28 '14)edit

1 answer

Sort by » oldest newest most voted
1

answered Jul 28 '14

ANOKNUSA gravatar image

Which monitors are used by the X server is controlled by Xorg itself, at a lower level than the window manager. You'll need to figure out if it's possible to set the OS X X11 layer to only display on a single Mac workspace, and set that one Mac workspace to a specific monitor. I personally don't know how to do that, though.

Comments

A release candidate for XQuartz 2.7.7 has been released a few days ago and it fixed one of the issues. I looked into the monitor configuration for X and it seems that it is not trivial. Since I use i3 almost exclusively for urxvt and terminal stuff, I can bear with the limitations.

syl20bnr gravatar imagesyl20bnr (Jul 31 '14)edit

Question Tools

Stats

Asked: Jul 27 '14

Seen: 1,018 times

Last updated: Jul 28 '14