i3 (window manager)
This article relies excessively on references to primary sources. (March 2015)
|Original author(s)||Michael Stapelberg|
|Initial release||March 15, 2009|
4.22 / 2 January 2023
i3 is a tiling window manager designed for X11, inspired by wmii and written in C. It supports tiling, stacking, and tabbing layouts, which it handles dynamically. Its configuration is achieved via a plain text file and extending i3 is possible using its Unix domain socket and JSON based IPC interface from many programming languages.
Like wmii, i3 uses a control system very similar to that of vi and Vim. By default, window focus is controlled by what the documentation refers to as the 'Mod1' key (Alt key/Windows key) in addition to the right-hand home row keys (Mod1+J,K,L,Semicolon), while window movement is controlled by the addition of the Shift key (Mod1+Shift+J,K,L,Semicolon).
i3's primary design goals are to possess well-written, documented code that encourages user contribution; to use XCB instead of Xlib; to implement multi-monitor features correctly, so that each workspace is assigned to a virtual screen, and monitor additions and removals are non-destructive of windows; to implement different modes, similar to the text editors vi and vim; to use a tree as the abstraction (and underlying data structure) for window management; and to implement UTF-8 character encoding.
i3's configuration is done via a plain text file (usually found in ~/.config/i3/config),[Note 1] which can be customized without any sophisticated programming knowledge. Contrary to other popular tiling window managers, such as dwm, awesome, and xmonad, window management is left to the user in i3. Windows are held inside containers, which can be split vertically or horizontally. They can also optionally be resized. There are also options for stacking the windows, as well as tabbing them (similar to the interface that web browsers use). i3 uses dmenu as the default program launcher, but it can be replaced. i3 also has an associated program called i3bar that displays information about the system at the bottom of the screen.
i3 also supports the use of multiple monitors.
Floating pop-up windows
Even though i3 is a tiling window manager, specific windows, such as password pop-ups, are not displayed as new tiles by default; they are always stacked in front of tiled windows, unless in full screen mode. These floating windows can be moved and resized freely, just as they can in stacking window managers and popular desktop environments like GNOME or KDE Plasma.
The authors of i3 intend floating windows to be used for pop-up windows only.
- Comparison of X window managers
- Sway – Window manager for Wayland that is similar to i3
- ^ GitHub releases
- ^ Michael Stapelberg (2 January 2023). "i3 v4.22 released". Retrieved 2 January 2023.
- ^ i3 download page
- ^ a b i3 home page
- ^ i3 - An Improved Tiling Window Manager
- ^ Stapelberg, Michael. "i3: IPC interface (interprocess communication)".
- ^ a b c Congleton, Nick (May 23, 2017). "Install and Use i3 Window Manager on Ubuntu". maketecheasier. Uqnic Network Pte. Retrieved May 1, 2019.
- ^ a b J.A. Watson (January 7, 2016). "How to customise your Linux desktop: i3 Window Manager". zdnet.com. ZDNet. Retrieved May 1, 2019.
- ^ "Getting started with the i3 tiling window manager". 24 February 2016.
- ^ "Using i3 with multiple monitors".
- ^ Stapelberg, Michael. "Forcing windows as always floating".
- ^ Stapelberg, Michael. ""floating" workspace".
- ^ In Unix filesystems, "~" refers to the user's home directory.