i3 (window manager)

From Wikipedia, the free encyclopedia
i3
Original author(s)Michael Stapelberg
Initial releaseMarch 15, 2009; 13 years ago (2009-03-15)[1]
Stable release
4.22[2] Edit this on Wikidata / 2 January 2023
Repository
Written inC
Operating systemUnix-like
Size1.3 MiB[3]
TypeWindow manager
LicenseBSD-3-Clause[4]
Websitei3wm.org

i3 is a tiling window manager designed for X11, inspired by wmii and written in C.[5] 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.[6]

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) plus 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).[7]

Design goals[edit]

i3's primary design goals are to possess well-written, documented code that encourages user contribution;[4] 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.

Features[edit]

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.[7] 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.[7][8] i3 also has an associated program called i3bar that displays information about the system at the bottom of the screen.[9]

i3 also supports the use of multiple monitors.[10]

Floating pop-up windows[edit]

Even though i3 is a tiling window manager, specific windows, such as password pop-ups, are not displayed as new tiles by default;[11] 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.[8]

The authors of i3 intend floating windows to be used for pop-up windows only.[12]

Gallery[edit]

See also[edit]

References[edit]

  1. ^ GitHub releases
  2. ^ Michael Stapelberg (2 January 2023). "i3 v4.22 released". Retrieved 2 January 2023.
  3. ^ i3 download page
  4. ^ a b i3 home page
  5. ^ i3 - An Improved Tiling Window Manager
  6. ^ Stapelberg, Michael. "i3: IPC interface (interprocess communication)".
  7. ^ a b c Congleton, Nick (May 23, 2017). "Install and Use i3 Window Manager on Ubuntu". maketecheasier. Uqnic Network Pte. Retrieved May 1, 2019.
  8. ^ a b J.A. Watson (January 7, 2016). "How to customise your Linux desktop: i3 Window Manager". zdnet.com. ZDNet. Retrieved May 1, 2019.
  9. ^ "Getting started with the i3 tiling window manager". 24 February 2016.
  10. ^ "Using i3 with multiple monitors".
  11. ^ Stapelberg, Michael. "Forcing windows as always floating".
  12. ^ Stapelberg, Michael. ""floating" workspace".

Footnotes[edit]

  1. ^ In Unix filesystems, "~" refers to the user's home directory.

External links[edit]