Tiling window manager

Last updated
The dwm window manager with the screen divided into four tiles. Dwm-screenshot.png
The dwm window manager with the screen divided into four tiles.

In computing, a tiling window manager is a window manager with the organization of the screen often dependant on mathematical formulas to organise the windows into a non-overlapping frame. This is opposed to the more common approach used by stacking window managers, which allow the user to drag windows around, instead of windows snapping into a position. This allows for a different style of organization, although it strays from the traditional desktop metaphor.

Contents

History

Xerox PARC

The first Xerox Star system (released in 1981) tiled application windows, but allowed dialogs and property windows to overlap. [1] Later, Xerox PARC also developed CEDAR [2] (released in 1982), the first windowing system using a tiled window manager.

Various vendors

Next in 1983 came Andrew WM, a complete tiled windowing system later replaced by X11. Microsoft's Windows 1.0 (released in 1985) also used tiling (see sections below). In 1986 came Digital Research's GEM 2.0, a windowing system for the CP/M which used tiling by default. [3] One of the early (created in 1988) tiling WMs was Siemens' RTL, up to today a textbook example because of its algorithms of automated window scaling, placement and arrangement, and (de)iconification. RTL ran on X11R2 and R3, mainly on the "native" Siemens systems, e.g., SINIX. Its features are described by its promotional video. [4] [5] The Andrew Project (AP or tAP) was a desktop client system (like early GNOME) for X with a tiling and overlapping window manager.

MacOS X 10.11 El Capitan released in September 2015 introduces new window management features such as creating a full-screen split view limited to two app windows side-by-side in full screen by holding down the full-screen button in the upper-left corner of a window. [6]

Tiling window managers

Microsoft Windows

Tile Vertically or Show Windows Side by Side Three vertical stripes.svg
Tile Vertically or Show Windows Side by Side
Tile Horizontally or Show Windows Stacked Three horizontal stripes.svg
Tile Horizontally or Show Windows Stacked

The first version (Windows 1.0) featured a tiling window manager, partly because of litigation by Apple claiming ownership of the overlapping window desktop metaphor. But due to complaints, the next version (Windows 2.0) followed the desktop metaphor. All later versions of the operating system stuck to this approach as the default behaviour.

The built-in Microsoft Windows window manager has, since Windows 2.0, followed the traditional stacking approach by default. It can also act as a rudimentary tiling window manager.

To tile windows, the user selects them in the taskbar and uses the context menu choice Tile Vertically or Tile Horizontally. Choosing Tile Vertically will cause the windows to tile horizontally but take on a vertical shape, while choosing Tile Horizontally will cause the windows to tile vertically but take on a horizontal shape. These options were later changed in Windows Vista to Show Windows Side by Side and Show Windows Stacked, respectively.

Windows 7 added "Aero Snap" which adds the ability to drag windows to either side of the screen to create a simple side-by-side tiled layout, or to the top of the screen to maximize. Windows 8 introduced Windows Store apps; unlike desktop applications, they did not operate in a window, and could only run in full screen, or "snapped" as a sidebar alongside another app, or the desktop environment. [7]

Along with allowing Windows Store apps to run in a traditional window, Windows 10 enhanced the snapping features introduced in Windows 7 by allowing windows to be tiled into screen quadrants by dragging them to the corner, and adding "Snap Assist" — which prompts the user to select the application they want to occupy the other half of the screen when they snap a window to one half of the screen, and allows the user to automatically resize both windows at once by dragging a handle in the center of the screen. [8]

Windows 10 also supports FancyZones, a more complete tiling window manager facility allowing customized tiling zones and greater user control, configured through Microsoft PowerToys.

Windows 11 added more built-in tiling options activated by hovering the mouse pointer over the maximize button.

3rd-party replacements

  • AquaSnap - made by Nurgo Software. Freeware, with an optional "Professional" license.
  • Amethyst for windows - dynamic tiling window manager along the lines of amethyst for MacOS.
  • bug.n – open source, configurable tiling window manager built as an AutoHotKey script and licensed under the GNU GPL. [9]
  • MaxTo — customizable grid, global hotkeys. Works with elevated applications, 32-bit and 64-bit applications, and multiple monitors. [10]
  • WS Grid+ – move and/or resize window's using a grid selection system combining benefits of floating, stacking and tiling. It provides keyboard/mouse shortcuts to instantly move and resize a window.
  • Stack – customizable grid (XAML), global hotkeys and/or middle mouse button. Supports HiDPI and multiple monitors. [11] [12]
  • Plumb — lightweight tiling manager with support for multiple versions of Windows. Supports HiDPI monitors, keyboard hotkeys and customization of hotkeys (XAML). [13]
  • workspacer — an MIT licensed tiling window manager for Windows 10 that aims to be fast and compatible. Written and configurable using C#. [14]
  • dwm-win32 — port of dwm's general functionality to win32. Is MIT licensed and is configured by editing a config header in the same style as dwm. [15]
  • GlazeWM — a tiling window manager for Windows inspired by i3 and Polybar.
  • Komorebi — a window manager for Microsoft Windows SO written in Rust. Like bspwm it does not handle key-binding on its own, so users have to use AHK or WHKD to manage the shortcuts. Komorebi also has a GUI User Friendly version called Komorebi UI.
  • Whim -- dynamic window manager that is built using WinUI 3 and the .NET framework.

X Window System

In the X Window System, the window manager is a separate program. X itself enforces no specific window management approach and remains usable even without any window manager. Current X protocol version X11 explicitly mentions the possibility of tiling window managers. The Siemens RTL Tiled Window Manager (released in 1988) was the first to implement automatic placement/sizing strategies. Another tiling window manager from this period was the Cambridge Window Manager developed by IBM's Academic Information System group.

In 2000, both larswm and Ion released a first version.

List of tiling window managers for X

  • awesome – a dwm derivative with window tiling, floating and tagging, written in C and configurable and extensible in Lua. It was the first WM to be ported from Xlib to XCB, and supports D-Bus, pango, XRandR, Xinerama.
  • bspwm – a small tiling window manager that, similarly to yabai, represents windows as the leaves of a full binary tree. It does not handle key-binds on its own, requiring another program (e.g. sxhkd) to translate input to X events.
  • Compiz – a compositing window manager available for usage without leaving familiar interfaces such as the ones from GNOME, KDE Plasma or Mate. One of its plugins (called Grid) allows the user to configure several keybindings to move windows to any corner, with five different lengths. There are also options to configure default placement for specific windows. The plugins can be configured through the Compiz Config Settings Manager / CCSM.
  • dwm – allows for switching tiling layouts by clicking a textual ascii art 'icon' in the status bar. The default is a main area + stacking area arrangement, represented by a []= character glyph. Other standard layouts are a single-window "monocle" mode represented by an M and a non-tiling floating layout that permits windows to be moved and resized, represented by a fish-like ><>. Third party patches exist to add a golden section-based Fibonacci layout, horizontal and vertical row-based tiling or a grid layout. The keyboard-driven menu utility "dmenu", developed for use with dwm, [16] is used with other tiling WMs such as xmonad, [17] and sometimes also with other "light-weight" software like Openbox [16] and uzbl. [18]
  • EXWM — EXWM (Emacs X Window Manager) is a full-featured tiling X window manager for Emacs built on top of XELB. It features fully keyboard-driven operations, hybrid layout modes (tiling & stacking), dynamic workspace support, ICCCM/EWMH compliance, RandR (multi-monitor) support, and a built-in system tray.
  • herbstluftwm – a manual tiling window manager (similar to i3 or Sway) that uses the concept of monitor independent tags as workspaces. Exactly one tag can be viewed on a monitor, with each tag containing its own layout. Like i3 and Sway, herbstluftwm is configured at runtime via IPC calls from herbstclient. [19]
  • i3 – a built-from-scratch window manager, based on wmii. It has vi-like keybindings, and treats extra monitors as extra workspaces, meaning that windows can be moved between monitors easily. Allows vertical and horizontal splits, tabbed and stacked layouts, and parent containers. It can be controlled entirely from the keyboard, but a mouse can also be used.
  • Ion – combines tiling with a tabbing interface: the display is manually split in non-overlapping regions (frames). Each frame can contain one or more windows. Only one of these windows is visible and fills the entire frame.
  • Larswm – implements a form of dynamic tiling: the display is vertically split in two regions (tracks). The left track is filled with a single window. The right track contains all other windows stacked on top of each other.
  • LeftWM – a tiling window manager based on theming and supporting large monitors such as ultrawides. [20]
  • Notion - a tiling window manager
  • Qtile – a tiling window manager written, configurable and extensible in Python. [21]
  • Ratpoison — A keyboard-driven GNU Screen for X.
  • spectrwm — a dynamic tiling and reparenting window manager for X11. It tries to stay out of the way so that valuable screen real estate can be used for more important content. It strives to be small, compact and fast. Formerly called "scrotwm" (a pun based on the word "scrotum"). [22] [ non-primary source needed ]
  • StumpWM – a keyboard driven offshoot of ratpoison supporting multiple displays (e.g. xrandr) that can be customized on the fly in Common Lisp. It uses Emacs-compatible keybindings by default.
  • wmii (window manager improved 2) supports tiling and stacking window management with extended keyboard, mouse, and filesystem based remote control, [23] replacing the workspace paradigm with a new tagging approach. [24] The default configuration uses keystrokes derived from those of the vi text editor. The window manager offers extensive configuration through a virtual filesystem using the 9P filesystem protocol similar to that offered by Plan 9 from Bell Labs. [23] Every window, tag, and column is represented in the virtual filesystem, and windows are controlled by manipulating their file objects (in fact, the configuration file is just a script interfacing the virtual files). This RPC system allows many different configuration styles, including those provided in the base distribution in plan9port and Bourne shell. The latest release 3.9 also includes configurations in Python and Ruby. [25] The latest release supports Xinerama, shipping with its own keyboard-based menu program called wimenu, featuring history and programmable completion. [25] [26] [27] [28]
  • xmonad – an extensible WM written in Haskell, which was both influenced by and has since influenced dwm.

Wayland

Wayland is a new windowing system with the aim of replacing the X Window System. There are only a few tiling managers that support Wayland natively.

List of tiling window managers for Wayland

  • Hyprland — Hyprland is a dynamic tiling wayland compositor that offers unique features like smooth animations, dynamic tiling and rounded corners.
  • japokwm — Dynamic Wayland tiling compositor based around creating layouts, based on wlroots.
  • newm — Wayland compositor written with laptops and touchpads in mind (currently unmaintained).
  • niri — A scrollable-tiling Wayland compositor.
  • Velox — Simple window manager based on swc, inspired by dwm and xmonad.
  • Vivarium — A dynamic tiling Wayland compositor using wlroots, with desktop semantics inspired by xmonad.
  • Sway — Sway is "a drop-in replacement for the i3 window manager, but for Wayland instead of X11. It works with your existing i3 configuration and supports most of i3's features, and a few extras". [29]
  • River - River is a dynamic tiling Wayland compositor with flexible runtime configuration, it is maintained and under regular updates.
  • CageBreak is a tiling compositor for wayland, based on cage and inspired by Ratpoison, which is easily controlled through the keyboard and a unix domain socket.
  • dwl - dwl is a wayland compositor, that was intended to fill the same space in the Wayland world that dwm does in X11. Like dwm, it is written in C, has a small codebase and lacks any configuration interface besides editing the source code.

Others

Tiling applications

GNU Emacs showing an example of tiling within an application window Emacs-screenshot.png
GNU Emacs showing an example of tiling within an application window

Although tiling is not the default mode of window managers on any widely used platform, most applications already display multiple functions internally in a similar manner. Examples include email clients, IDEs, web browsers, and contextual help in Microsoft Office. The main windows of these applications are divided into "panes" for the various displays. The panes are usually separated by a draggable divider to allow resizing. Paned windows are a common way to implement a master–detail interface.

Developed since the 1970s, the Emacs text editor contains one of the earliest implementations of tiling. In addition, HTML frames can be seen as a markup language-based implementation of tiling. The tiling window manager extends this usefulness beyond multiple functions within an application, to multiple applications within a desktop. The tabbed document interface can be a useful adjunct to tiling, as it avoids having multiple window tiles on screen for the same function.

See also

Related Research Articles

In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a graphical shell. The desktop environment was seen mostly on personal computers until the rise of mobile computing. Desktop GUIs help the user to easily access and edit files, while they usually do not provide access to all of the features found in the underlying operating system. Instead, the traditional command-line interface (CLI) is still used when full control over the operating system is required.

<span class="mw-page-title-main">X window manager</span> Type of window manager

An X window manager is a window manager that runs on top of the X Window System, a windowing system mainly used on Unix-like systems.

<span class="mw-page-title-main">Windowing system</span> Software that manages separately different parts of display screens

In computing, a windowing system is a software suite that manages separately different parts of display screens. It is a type of graphical user interface (GUI) which implements the WIMP paradigm for a user interface.

freedesktop.org (fd.o), formerly X Desktop Group (XDG), is a project to work on interoperability and shared base technology for free-software desktop environments for the X Window System (X11) and Wayland on Linux and other Unix-like operating systems. Although freedesktop.org produces specifications for interoperability, it is not a formal standards body.

twm Window manager for the X Window System

twm is a window manager for the X Window System. Started in 1987 by Tom LaStrange, it has been the standard window manager for the X Window System since version X11R4. The name originally stood for Tom's Window Manager, but the software was renamed Tab Window Manager by the X Consortium when they adopted it in 1989. twm is a stacking window manager that provides title bars, shaped windows and icon management. It is highly configurable and extensible.

<span class="mw-page-title-main">Ion (window manager)</span> Tiling and tabbing window manager

In Unix computing, Ion is a tiling and tabbing window manager for the X Window System. It is designed such that it is possible to manage windows using only a keyboard, without needing a mouse. It is the successor of PWM and is written by the same author, Tuomo Valkonen. Since the first release of Ion in the summer 2000, similar alternative window management ideas have begun to show in other new window managers: Larswm, ratpoison, StumpWM, wmii, xmonad and dwm.

X.Org Server is the free and open-source implementation of the X Window System (X11) display server stewarded by the X.Org Foundation.

<span class="mw-page-title-main">Window manager</span> Type of system software

A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface. Most window managers are designed to help provide a desktop environment. They work in conjunction with the underlying graphical system that provides required functionality—support for graphics hardware, pointing devices, and a keyboard—and are often written and created using a widget toolkit.

In computing, the Inter-Client Communication Conventions Manual is a standard protocol for the X Window System. It specifies conventions for clients of a common X server about selections and cut buffers, communication with the window manager and session manager, manipulation of shared resources, and color characterization.

<span class="mw-page-title-main">Virtual desktop</span> User interfaces describe ways in which virtual space of a computers desktop is expanded

In computing, a virtual desktop is a term used with respect to user interfaces, usually within the WIMP paradigm, to describe ways in which the virtual space of a computer's desktop environment is expanded beyond the physical limits of the screen's display area through the use of software. This compensates limits of the desktop area and is helpful in reducing clutter of running graphical applications.

Desktop Window Manager is the compositing window manager in Microsoft Windows since Windows Vista that enables the use of hardware acceleration to render the graphical user interface of Windows.

A compositing manager, or compositor, is software that provides applications with an off-screen buffer for each window. The compositing manager composites the window buffers into an image representing the screen and writes the result into the display memory.

dwm Dynamic window manager for X Window System

dwm is a minimalist dynamic window manager for the X Window System developed by Suckless that has influenced the development of several other X window managers, including xmonad and awesome. It is externally similar to wmii, but internally much simpler. dwm is written purely in C for performance and lacks any configuration interface besides editing the source code. One of the project's guidelines is that the source code is intended never to exceed 2000 SLOC, and options meant to be user-configurable are all contained in a single header file.

xmonad Dynamic window manager for X Window System

xmonad is a dynamic window manager (tiling) for the X Window System, noted for being written in the functional programming language Haskell.

This article compares variety of different X window managers. For an introduction to the topic, see X Window System.

In computing, a dynamic window manager is a tiling window manager where windows are tiled based on preset layouts between which the user can switch. Layouts typically have a main area and a secondary area. The main area usually shows one window, but one can also change the number of windows in this area. Its purpose is to reserve more space for the more important window(s). The secondary area shows the other windows.

<span class="mw-page-title-main">Wayland (protocol)</span> Display system intended to replace X11

Wayland is a communication protocol that specifies the communication between a display server and its clients, as well as a C library implementation of that protocol. A display server using the Wayland protocol is called a Wayland compositor, because it additionally performs the task of a compositing window manager.

awesome (window manager) Window manager for X Window System

awesome is a dynamic window manager for the X Window System developed in the C and Lua programming languages. Lua is also used for configuring and extending the window manager. Its development began as a fork of dwm, though has differed considerably since. It aims to be extremely small and fast, yet extensively customizable. It makes it possible for the user to manage windows with the use of keyboard.

i3 (window manager) Unix window manager software

i3 is a tiling window manager designed for X11, inspired by wmii and written in C. It supports tiling, stacking, and tabbing layouts, which are handled manually. 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.

<span class="mw-page-title-main">Sway (window manager)</span> Tiling Wayland compositor

Sway is a tiling window manager and Wayland compositor, inspired by i3, and written in C. Sway is designed as a drop-in replacement for i3 using the more modern Wayland display server protocol and wlroots compositor library. Sway works with existing i3 configuration files and supports most of i3's features while providing several new features of its own.

References

  1. "Xerox Star". Archived from the original on 2011-07-18. Retrieved 2007-04-14.
  2. "Ten Years of Window Systems — A Retrospective View". Archived from the original on 2010-03-16. Retrieved 2010-12-21.
  3. "Tiling Window Managers". mnemonikk.org.
  4. "video". Archived from the original on 2010-12-22. Retrieved 2010-12-22.
  5. "The First Tiling Window Manager - Siemens RTL Tiled Window Manager (released in 1988)". YouTube . Archived from the original on 2021-12-21.
  6. "Apple Announces OS X El Capitan with Refined Experience & Improved Performance". Apple Newsroom.
  7. "Build: More Details On Building Windows 8 Metro Apps". PCMAG. Retrieved 2021-06-25.
  8. Leonhard, Woody (2015-11-12). "Review: New Windows 10 version still can't beat Windows 7". InfoWorld. Retrieved 2021-06-25.
  9. "bug.n – Tiling Window Manager for Windows". GitHub . Retrieved 2019-03-02.
  10. "MaxTo - The window manager you didn't know you missed]". Archived from the original on 2018-11-13. Retrieved 2018-11-21.
  11. "Stack WM: Windows Store". Microsoft . Archived from the original on 2017-12-10. Retrieved 2017-12-09.
  12. "Stack on Lost Tech LLC website". Archived from the original on 2018-01-11. Retrieved 2017-12-09.
  13. "Palatial Software Website". 2019-01-10. Retrieved 2019-01-10.
  14. Button, Rick. "workspacer". www.workspacer.org. Retrieved 2020-07-02.
  15. Tanner, Marc André. "dwm-win32 - X11 dwm(1) for Windows". www.brain-dump.org. Retrieved 2020-07-02.
  16. 1 2 Arch Linux Magazine Team (January 2010). "Software Review: 2009 LnF Awards". Arch Linux Magazine. Archived from the original on 2010-02-16. Retrieved 8 March 2010.
  17. "100 open source gems - part 2". TuxRadar . Future Publishing. 21 May 2009. Archived from the original on 2010-01-06. Retrieved 3 March 2010.
  18. Vervloesem, Koen (15 July 2009). "Uzbl: a browser following the UNIX philosophy". LWN.net . Eklektix, Inc. Archived from the original on 2009-11-30. Retrieved 3 March 2010.
  19. "herbstluftwm". herbstluftwm.org. Retrieved 2019-08-12.
  20. GitHub - leftwm/leftwm: LeftWM: A tiling window manager for Adventurers., leftwm, 2019-04-04, retrieved 2019-04-05
  21. Verna, Clément (27 September 2018). "5 cool tiling window managers". Fedora Magazine. Qtile. Retrieved 20 November 2018.
  22. "rename scrotwm to spectrwm". github.com. 2012-02-15. Retrieved 2019-05-25.
  23. 1 2 "wmii - Window Manager Improved 2". Wmii.suckless.org. Archived from the original on 2011-12-31. Retrieved 2013-07-13.
  24. Komis, Antonis (April 2013). "Windows Migration: Desktop Environments & Window Managers". PCLinuxOS. Tiling and Dynamic Tiling Window Managers - wmii. Archived from the original on 24 October 2016.
  25. 1 2 "suckless.org git repositories". Hg.suckless.org. Archived from the original on 2011-07-28. Retrieved 2013-07-13.
  26. "Light and speedy. WMI and the reincarnation of the keyboard" (PDF). No. 54. Archived from the original (PDF) on 24 February 2012.{{cite magazine}}: Cite magazine requires |magazine= (help)
  27. Golde, Nico (March 2006). "No wimps. A look at the Wmii Window Manager" (PDF). Linux Magazine . No. 64. Archived (PDF) from the original on 2015-10-28. Retrieved 2018-10-01.
  28. Saunders, Mike (March 2008). "Lightweight window managers". Linux Format . No. 103. wmii.
  29. "SwayWM". Archived from the original on 2017-10-10. Retrieved 2017-10-13.
  30. "Amethyst | ianyh". ianyh.com. Retrieved 2021-04-23.