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

"Full Screen" to Container

asked Jul 18 '13

i3er gravatar image

updated Jul 21 '13

Michael gravatar image

I sometimes find myself wanting to full screen windows to the container. Is there a way to do this?

Lets say I have a vertical or horizontal container that occupies half the screen. This container contains a browser window and a terminal window. Now when I go full-screen, say with the browser, (mod+f), the browser window expands to fill the entire screen obscuring the other containers and windows. I guess what I'm looking for is a mode where if I go full-container with the browser, then the browser window will expand to fill only its parent container. I hope this is clearer.

Comments

Don't really understand what you want. Please be very explicit :)

joepd gravatar imagejoepd (Jul 18 '13)edit

I edited your original question because the FAQ’s format is “one-question, many answers”, i.e. posting an answer that really is a question is not okay :).

Michael gravatar imageMichael (Jul 21 '13)edit

3 answers

Sort by » oldest newest most voted
1

answered Aug 21 '13

scotths gravatar image

Perhaps temporarily enter tab mode (by default mod+w) then return to whatever mode the container was in previously (probably mod+e) when done. Note assuming that the window in question is a direct child of the container in question you would perform that operation after highlighting the window itself, not the container. (ie select what is to be the tab, not the container that is to be tabbed).

1

answered Feb 3 '14

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Hey,

I also needed a way to "fullscreen" a window to a container and I was able to figure out a (dirty) workaround.

You can use Xephyr to create a nested Xserver.

$ Xephyr :1 -ac -screen 460x340 &> /dev/null &

$ DISPLAY=:1 firefox --fullscreen www.google.at

0

answered Feb 4 '14

TonyC gravatar image

Here is something I came up with for this purpose that I have in my config.

bindsym $mod+$mod2+f focus parent; fullscreen; focus child

Note that if the parent container is a workspace, it won't do anything because workspaces cannot be fullscreen. In that case, a normal fullscreen command will do.

Question Tools

Stats

Asked: Jul 18 '13

Seen: 1,979 times

Last updated: Feb 04 '14