X11: A binding to the X11 graphics library

[ bsd3, graphics, library ] [ Propose Tags ]

A Haskell binding to the X11 graphics library. The binding is a direct translation of the C binding; for documentation of these calls, refer to "The Xlib Programming Manual", available online at http://tronche.com/gui/x/xlib/.

[Skip to Readme]
Versions [RSS] [faq] 1.2, 1.2.2, 1.2.3,, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6,,,, 1.6.0,,, 1.6.1,,, 1.7, 1.8, 1.9, 1.9.1, 1.9.2, 1.10, 1.10.1, 1.10.2
Change log CHANGES.md
Dependencies base (==4.*), data-default-class (==0.1.*) [details]
License BSD-3-Clause
Copyright Alastair Reid, 1999-2003, libraries@haskell.org 2003-2007, Don Stewart 2007-2009, Spencer Janssen 2007-2009, Daniel Wagner 2009-2011.
Maintainer Daniel Wagner <daniel@wagner-home.com>
Category Graphics
Home page https://github.com/xmonad/X11
Bug tracker https://github.com/xmonad/X11/issues
Source repo head: git clone https://github.com/xmonad/X11
Uploaded by xmonad at 2021-10-24T17:31:15Z
Distributions Arch:1.10.1, Debian:1.9, Fedora:1.10, FreeBSD:, LTSHaskell:1.10.2, NixOS:1.10.1, Stackage:1.10.2, openSUSE:1.9.2
Downloads 57628 total (855 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]

Manual Flags


Be pedantic (-Werror and the like)

Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees


Readme for X11-1.10.2

[back to package description]

Haskell binding to the X11 graphics library Hackage Build Status

To build this package using Cabal directly from Git, you must run autoreconf before the usual Cabal build steps (configure/build/install). autoreconf is included in the GNU autoconf tools. There is no need to run the configure script: the cabal configure step will do this for you.

If you are building from a source tarball, you can just use the standard Cabal installation stanza:

cabal configure
cabal build
cabal install

Xinerama support is enabled by default if Xinerama headers are detected. To disable Xinerama support, add the --without-xinerama flag to configure-option:

cabal configure --configure-option="--without-xinerama"

However, if you are building from Git, X11 uses autoconf, so you need to have autoconf installed and run autoconf/autoheader before building:




You will need development versions of at least the X11, xrandr, and XScreenSaver libraries installed for the build to succeed; having the development version of the Xinerama library will enable some optional bindings.