The xmonad package

[Tags:bsd3, program, test]

xmonad is a tiling window manager for X. Windows are arranged automatically to tile the screen without gaps or overlap, maximising screen use. All features of the window manager are accessible from the keyboard: a mouse is strictly optional. xmonad is written and extensible in Haskell. Custom layout algorithms, and other extensions, may be written by the user in config files. Layouts are applied dynamically, and different layouts may be used on each workspace. Xinerama is fully supported, allowing windows to be tiled on several screens.

[Skip to Readme]


Versions 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.5, 0.6, 0.7, 0.8, 0.8.1, 0.9, 0.9.1, 0.9.2, 0.10, 0.11, 0.11.1, 0.12, 0.13
Dependencies base (>=2.0), mtl (>=1.0), unix (>=1.0), X11 (==1.3.0) [details]
License BSD3
Author Spencer Janssen
Category System
Home page
Uploaded Fri Nov 2 22:55:21 UTC 2007 by DonaldStewart
Distributions Arch:0.13, Debian:0.12, Fedora:0.13, FreeBSD:0.11.1, LTSHaskell:0.13, NixOS:0.13, Stackage:0.13, Tumbleweed:0.13
Downloads 20356 total (560 in the last 30 days)
3 []
Status Docs not available [build log]
All reported builds failed as of 2017-01-04 [all 8 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees

Readme for xmonad

Readme for xmonad-0.4.1

               xmonad : a lightweight X11 window manager.




    Xmonad is a tiling window manager for X. Windows are managed using
    automatic tiling algorithms, which can be dynamically configured.
    Windows are arranged so as to tile the screen without gaps, maximising
    screen use. All features of the window manager are accessible 
    from the keyboard: a mouse is strictly optional. Xmonad is written
    and extensible in Haskell, and custom layout algorithms may be
    implemented by the user in config files. A guiding principle of the
    user interface is <i>predictability</i>: users should know in
    advance precisely the window arrangement that will result from any
    action, leading to an intuitive user interface.

    Xmonad provides three tiling algorithms by default: tall, wide and
    fullscreen. In tall or wide mode, all windows are visible and tiled
    to fill the plane without gaps. In fullscreen mode only the focused
    window is visible, filling the screen.  Alternative tiling
    algorithms are provided as extensions. Sets of windows are grouped
    together on virtual workspaces and each workspace retains its own
    layout. Multiple physical monitors are supported via Xinerama,
    allowing simultaneous display of several workspaces.

    Adhering to a minimalist philosophy of doing one job, and doing it
    well, the entire code base remains tiny, and is written to be simple
    to understand and modify. By using Haskell as a configuration
    language arbitrarily complex extensions may be implemented by the
    user using a powerful `scripting' language, without needing to
    modify the window manager directly. For example, users may write
    their own tiling algorithms.



Get the dependencies

    Firstly, you'll need the C X11 library headers. On many platforms,
    these come pre-installed. For others, such as Debian, you can get 
    them from your package manager:

        apt-get install libx11-dev

    It is likely that you already have some of these dependencies.  To check
    whether you've got a package run 'ghc-pkg list some_package_name'


And then build with Cabal:

    runhaskell Setup.lhs configure --prefix=$HOME
    runhaskell Setup.lhs build
    runhaskell Setup.lhs install --user


Running xmonad:



    to the last line of your .xsession or .xinitrc file.



    There are various contributed modules that can be used with xmonad.
    Examples include an ion3-like tabbed layout, a prompt/program launcher,
    and various other useful modules.  XMonadContrib is available at:

    0.4 release:

    darcs version: darcs get


Other useful programs:

 For a program dispatch menu:

    gmrun           (in your package system)

 For custom status bars:


 A nicer xterm replacment, that supports resizing better:



    Spencer Janssen
    Don Stewart
    Jason Creighton