World Library  
Flag as Inappropriate
Email this Article

Xmonad

Article Id: WHEBN0010974710
Reproduction Date:

Title: Xmonad  
Author: World Heritage Encyclopedia
Language: English
Subject: X window manager, Awesome (window manager), Cwm (window manager), Comparison of X window managers, Amiwm
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Xmonad

xmonad
XMonad in tiling mode with two URXVT terminals and pcmanFM open
xmonad in tiling mode
Original author(s) Spencer Janssen, Don Stewart, Jason Creighton
Stable release 0.11[1] / January 1, 2013 (2013-01-01)
Preview release latest Darcs revision / (snapshot)
Development status Stable
Written in Haskell
Operating system POSIX-compatible
Platform Cross-platform; requires the X Window System and GHC
Size 56 KB (source code)[2]
Available in English
Type Window manager
License BSD-3
Website .org.xmonadwww

xmonad is a tiling window manager for the X Window System, written in the functional programming language Haskell.

Begun in March 2007, it is similar to dwm, larswm, StumpWM and other members of the tiling window manager family in that it arranges windows in a nonoverlapping pattern and strives to make it possible for the user to productively manage windows without the use of the mouse. xmonad is packaged and distributed on a wide range of Unix-like operating systems, such as a wide range of GNU/Linux distributions, BSD systems and Mac OS X.

While originally a clone of dwm (derivative in areas such as default keybindings), xmonad now supports features not available to dwm users[3][4] such as per-workspace layout, tiling reflection, state preservation, layout mirroring, GNOME support and per-screen status bars; it can be customised by modifying an external configuration file and 'reloaded' while running.[5] xmonad features have begun to influence other tiling window managers - dwm has borrowed "urgency hooks" from xmonad,[6] has also included Xinerama support (for multihead displays) with release 4.8, and patches exist to reimplement xmonad's Fibonacci layout.[7]

Extensions to the core system, including emulation of other window managers and unusual layout algorithms, such as window tiling based on the Fibonacci spiral, have been implemented by the active community[8] and are available as a library.[9]

In addition to obviating the need for the mouse, the xmonad developers make heavy use of semi-formal methods and program derivation for improving reliability and enabling a total line of code count less than 1200, as of version 0.7; window manager properties (such as the behavior of window focus) are checked through use of QuickCheck. This emphasis makes xmonad unusual in a number of ways; besides being the first window manager written in Haskell, it is also the first to use the zipper data structure for automatically managing focus, and its core has been proven to be safe with respect to pattern matches,[10] contributing further to reliability. The developers write:

"xmonad is a tiling window manager for the X Window system, implemented, configured and dynamically extensible in Haskell. This demonstration presents the case that software dominated by side effects can be developed with the precision and efficiency we expect from Haskell by utilising purely functional data structures, an expressive type system, extended static checking and property-based testing. In addition, we describe the use of Haskell as an application configuration and extension language."[11]

It makes use of Haskell features and tools such as: QuickCheck, GHC extensions like pattern guards, monads, monad transformers, zippers, and the Cabal packaging system, in addition to Haskell bindings to Xlib and xft fonts (with rebinding to XCB planned when the Haskell bindings are released).

xmonad's xinerama support: tiling on three screens simultaneously (with Kinesis keyboard).

See also

References

  1. ^ xmonad-0.11, HackageDB
  2. ^ "xmonad : download". suckless.org. Retrieved December 17, 2012. 
  3. ^ "Keyboard-Driven Environments Open a New Window". OSnews. 2007-05-31. Retrieved 2007-05-31. 
  4. ^ "xmonad 0.4 Released". OSnews. 2007-10-19. Retrieved 2007-12-23. 
  5. ^ Through a combination of swiftly re-compiling and then  
  6. ^ See the developer discussion on the dwm mailing list
  7. ^ Suckless.org: Fibonacci layouts patch to dwm
  8. ^ xmonad users generate significant traffic in the #xmonad IRC channel and the xmonad mailing list; in addition, there are a significant number of commits to the extension library from non-core devs (see the xmonad statistic page)
  9. ^ "xmonad: Contributed code". xmonad.org. 2007-05-22. Retrieved 2007-05-23. 
  10. ^ "Does xmonad crash? On proving pattern coverage in xmonad with Catch"; "Preconditions on XMonad"; see also "Detecting pattern-match failures in Haskell"
  11. ^ Stewart & Janssen, 2007
Notes

External links

  • Official website
  • "xmonad - tiling window manager" - Using xmonad on Ubuntu.
  • "Taste of Haskell" - OSCON presentation by Simon Peyton Jones on Haskell, using xmonad as an example
    • First half of talk (video)
    • Second half of talk (video)
    • First half of talk on YouTube (video)
    • Second half of talk on YouTube (video)
  • Bits and Bytes: xmonad
  • "Roll Your Own Window Manager: Part 1: Defining and Testing a Model"
  • "Roll Your Own Window Manager: Tracking Focus with a Zipper"
  • Haskell Communities and Activities Report - 13th edition; XMonad
  • Don Stewart demo
  • Comparison of extensible window managers - Comparison with sawfish, awesome, stumpWM, and qtile.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.