{{lowercase title}}{{Short description|Window manager}} {{for|the 1986 WWF pay-per-view event|WrestleMania 2}} {{Redirect|wmx||WMX (disambiguation)}} {{Infobox Software | name = wm2 | screenshot = 300px | author = Chris Cannam | latest release version = {{wikidata|property|preferred|references|edit|Q8028924|P348|P548=Q2804309}} | latest release date = {{wikidata|qualifier|preferred|single|Q8028924|P348|P548=Q2804309|P577}} | latest preview version = {{wikidata|property|preferred|references|edit|Q8028924|P348|P548=Q51930650}} | latest preview date = {{wikidata|qualifier|preferred|single|Q8028924|P348|P548=Q51930650|P577}} | operating system = Linux, Unix-like | programming language = C++ | genre = Window manager | website = {{URL|https://all-day-breakfast.com/wm2/}} }}

'''wm2''' is a minimalist reparenting window manager for the X Window System written by Chris Cannam.

== History == wm2 was released around 1997 and was inspired by the window manager from the operating system Plan 9.<ref>{{Cite web |last=Ayers |first=Larry |date=1997-01-24 |title=A Profusion of Window-Managers |url=https://www.linuxdoc.org/LDP/LG/issue14/winman.html |access-date=2024-06-10 |website=Linux Gazette}}</ref>

== Functions == wm2 was designed to have a simple set of features and be fast. It provides support for moving, resizing, and deleting windows, but does not support desktop icons, menus, toolbars, panels, or docks.<ref name=":0">{{Cite web |date=2013-04-09 |title=A Memory Comparison of Light Linux Desktops – Part 2 |url=https://enos.itcollege.ee/~edmund/osadmin/materials/desktop-environments-memory-consumption/A_Memory_Comparison_of_Light_Linux_Desktops_%E2%80%93_Part_2.pdf |website=enos.itcollege.ee}}</ref> Instead of icons, wm2 allows temporary hiding of windows from the desktop environment. Hidden windows can be recovered via a menu from the root window. It does not support interactive configuration, or provide a virtual desktop, and other features of modern window managers such as configurable root menus, toolbars, etc. Configuration options require editing and recompiling a source file and few options are available.<ref>{{Cite web |last=Ayers |first=Larry |date=1997-01-21 |title=wm2 |url=https://linuxgazette.net/issue14/wm2.html |access-date=2024-06-09 |website=Linux Gazette}}</ref><ref name=":1">{{Cite book |last=Burk |first=Robin |url=https://books.google.com/books?id=NoUpAQAAMAAJ |title=UNIX Unleashed |date=1998 |publisher=Sams Pub. |isbn=978-0-672-31411-7 |pages=476 |language=en}}</ref> wm2 is intended to be configuration free.<ref>{{Cite book |last=Stutz |first=Michael |url=https://books.google.com/books?id=hwJQOwg-MGYC&pg=PA121 |title=The Linux Cookbook, 2nd Edition: Tips and Techniques for Everyday Use |date=2004 |publisher=No Starch Press |isbn=978-1-59327-031-5 |pages=428 |language=en}}</ref>

==wmx== ''wmx'' is a version of wm2 modified to add experimental features otherwise not supported in wm2.<ref>{{Cite web |title=wmx |url=https://www.all-day-breakfast.com/wmx/ |access-date=2024-06-10 |website=www.all-day-breakfast.com}}</ref><ref>{{Cite web |title=T2 package - trunk - wmx - A window manager for X based on wm2 |url=https://t2sde.org/packages/wmx |access-date=2024-06-10 |website=t2sde.org}}</ref>

== Reception == wm2 was noted as being "very spartan", "bare-bones", and minimalist, though opinions on it were positive as it is allows for easy access to X11 and window management without too much configuration.<ref name=":1" /><ref>{{Cite book |last=Smith |first=Roderick W. |url=https://books.google.com/books?id=usVQAAAAMAAJ |title=Degunking Linux |date=2005 |publisher=Paraglyph Press |isbn=978-1-933097-04-6 |pages=91 |language=en}}</ref><ref>{{Cite book |last=Stephens |first=Ryan K. |url=https://books.google.com/books?id=iUv0pX29EAMC |title=Sams' Teach Yourself Linux in 24 Hours |last2=Ball |first2=Bill |last3=Smoogen |first3=Stephen |date=1998 |publisher=Sams Pub. |isbn=978-0-672-31162-8 |pages=137 |language=en}}</ref> One author noted it used less memory than the other options he tried, getting it to run with only 0.7MB of memory.<ref name=":0" />

==References== {{reflist}}

==Further reading== *{{cite book | first=Bill | last=Ball | title=The New XFree86 | year=2001 | publisher=Muska & Lipman/Premier-Trade | isbn=0-7615-3152-1 | url-access=registration | url=https://archive.org/details/newxfree86linux00bill }}

{{X desktop environments and window managers}}

Category:Free X window managers