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

Force one i3 instance/workspace across multiple monitors

asked Apr 19 '13

STU gravatar image

Until recently I was using i3 with fairly old nVidia drivers (TwinView). As far as RandR was concerned I just had one big 3840x1200 monitor, which made i3 work in just the way I wanted it to - each workspace covered both screens, so super+N would change both monitors at once to workspace N

Now I upgraded my drivers so that RandR actually knows about my two monitors, but unfortunately this means i3 runs two "instances" with different independent workspaces on each physical monitor, and it's impossible to for example move a window from one monitor to the other. This is essentially unusable as far as I'm concerned

Is there any way to force the global workspace behaviour? I can't seem to find any way to make xrandr tell i3 there's only one physical monitor.

Comments

for your "move a window from one monitor to the other" issue: Have a look at the "move workspace/container to output right" commands, they allow you to do that.

mschaefer gravatar imagemschaefer (Apr 19 '13)edit

but why should I need to use different commands for moving windows around depending on whether the move happens to cross the boundary between my monitors or not. That's ridiculous even with this command, being able to switch the entire desktop at once to different windows is kind of necessary

STU gravatar imageSTU (Apr 19 '13)edit

For now I have just reverted to the old drivers

STU gravatar imageSTU (Apr 19 '13)edit

3 answers

Sort by » oldest newest most voted
1

answered Apr 22 '13

STU gravatar image

updated Apr 22 '13

So, it turns out it's possible to force the functionality I want by using the (undocumented, as far as I can tell) config option:

fake-outputs 3840x1200+0+0

(I have two 1920x1200 screens.)

I can't accept this answer because I need 20 points

Comments

This works great for me, too! I've got 4 panels, one fake output for the leftmost and one fake output for the other 3. The config line for me is: `fake-outputs 1920x1200+0+0,5760x1200+1920+0`

jbohren gravatar imagejbohren (Sep 17 '13)edit
0

answered Apr 20 '13

Michael gravatar image

You could use workspace 1 to 10 on the left monitor and 11 to 20 on the right monitor, then change your keybindings to switch both at once.

Granted, that’s a little kludgy and might not yield best results.

It’s the only possibility though, as what you consider “unusable” is what we consider correct. Switch to another window manager if it’s really a deal-breaker.

0

answered Jun 17 '13

Use arandr for set two displays work

Question Tools

2 followers

Stats

Asked: Apr 19 '13

Seen: 2,208 times

Last updated: Jun 17 '13