i3 (window manager)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about the X11 window manager. For other uses, see I3 (disambiguation).
i3
I3 window manager logo
I3 window manager screenshot.png
i3 with vim and terminals open
Original author(s) Michael Stapelberg
Stable release 4.8 / June 15, 2014; 5 months ago (2014-06-15)
Written in C
Operating system Unix-like
Size 918KiB[1]
Type Window manager
License BSD license[2]
Website i3wm.org

i3 is a tiling window manager designed for X11, inspired by wmii, and written in C.[3] It supports tiling, stacking, and tabbing layouts, which it handles dynamically. Configuration is achieved via plain text file and extending i3 is possible using its Unix domain socket and JSON based IPC interface from many programming languages.[4]

Like wmii, i3 uses a control system very similar to vi. By default, window focus is controlled by the Alt key plus the right hand homerow keys (Alt+J,K,L,;), while window movement is controlled by the addition of the Shift key (Alt+Shift+J,K,L,;).

Design goals[edit]

  • Possess well written, documented code, that encourages user contribution.[2]
  • 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.
  • Implement different modes, similar to vi, the text editor. That is, keys have different functions depending on the mode the window manager is in.
  • Use a tree as the abstraction (and underlying data structure) for window management.
  • Implement UTF-8 character encoding.

Compared to other tiling window managers[edit]

  • The configuration is done via a plain text file, so i3 can be customized without knowledge of programming.
  • 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 now use).
  • When more than one monitor is present, workspaces are shared. There is no distinction between monitors, and they are not separate, so windows can easily be moved from one monitor to another.

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:[5] they are stacked in front of tiled windows. These floating windows can be moved and resized freely, just like in popular desktop environments like GNOME or KDE.

Floating windows are intended by the authors of i3 to be used for pop-up windows only.[6]

References[edit]