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

Fullscreen accross certain monitors?

asked 2015-05-10 01:27:47 +0000

drak3 gravatar image

Hi, does anyone know if its possible to have a window go fullscreen across a proper subset >1 of one's monitors? Allow me to clarify what I mean. I have my monitors arranged as so (DP# just being the DisplayPort-#):

+------+-----+-----+-----+
| DP1  |     |     |     |
+------+ DP4 | DP5 | DP1 |
| DP9  |     |     |     |
+------+-----+-----+-----+

What I was hoping to do is have a window go fullscreen on DP1, DP4, and DP5. I realize there is the fulscreen global option, but because DP1 and DP9 have a lower PPI than DP1, 4, and 5, there is part of whatever cut off on the top of DP1 and the bottom of DP9.

I realize this is a niche case that very little people (if any) car about, but on the off chance anyone knows, it'd be awesome if you could post the solution. otherwise I might look into a feature request

general info:

drake@unimatrix434:~$ i3 -v; uname -a
i3 version 4.7.2 (2014-01-23, branch "tags/4.7.2") © 2009-2013 Michael Stapelberg and contributors
Linux unimatrix434 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2015-05-10 04:30:56 +0000

Michael Rose gravatar image

Make a script that floats the current window via i3-msg then uses xdotool to move it to the corner of dp4 and resize it to be the appropriate size to fit across all 3 monitors.

sortafloat.sh      
#!/usr/bin/env sh
i3-msg floating enable
xdotool getactivewindow windowmove xcord ycord
xdotool getactivewindow windowsize xsize ysize

bindsym something sortafloat.sh

This is as close as you can get there is no way to be actually be fullscreen across more than one display but not all of them.

edit flag offensive delete link more

Comments

thanks for the help! this kinda does what I was hoping. doesn't work for fullscreen video though. but I don't think thats unexpected. it'll work well enough for everything else, though.

drak3 gravatar imagedrak3 ( 2015-05-10 14:25:06 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-05-10 01:27:47 +0000

Seen: 177 times

Last updated: May 10