xcffib
A drop-in replacement for xpyb based on cffi (by tych0)
X11
A Haskell binding to the X11 graphics library. (by xmonad)
Our great sponsors
xcffib | X11 | |
---|---|---|
1 | 2 | |
90 | 104 | |
- | 1.0% | |
6.0 | 6.8 | |
9 days ago | 7 days ago | |
Python | Haskell | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xcffib
Posts with mentions or reviews of xcffib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-04.
-
How to install on Ubuntu: my solution
#!/bin/bash # last updated July 4, 2023... “We will not go quietly into the night..."" # Update system sudo apt-get update # Install core dependencies sudo apt-get install -y python3-cffi libpangocairo-1.0-0 --reinstall # Install xcffib with pip # pinning to this version since newer versions don't have ffi_build (I think renamed to just ffi): # https://github.com/tych0/xcffib/tree/v0.12.1/module pip3 install xcffib==0.12.1 # Install cairocffi with pip # The order of xcffib and cairocffi is important and the flags are important: # https://github.com/qtile/qtile/issues/994#issuecomment-497984551 pip3 install --no-cache-dir --no-build-isolation cairocffi==1.4.0 # Install Qtile pip3 install qtile==0.22.1 --force-reinstall # Create a desktop entry for Qtile echo "[Desktop Entry] Name=Qtile Comment=Qtile Session Exec=qtile start Type=Application Keywords=wm;tiling" | sudo tee /usr/share/xsessions/qtile.desktop echo "Qtile installation completed successfully. You can select Qtile from your session manager."
X11
Posts with mentions or reviews of X11.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-11.
-
Minimize(d) windows: list, open from list, open all
The instructions on https://github.com/xmonad/X11 seem fairly straightforward, so I could update. But dealing with this library is not something I remember ever doing explicitly and is not mentioned (explicitly, at least) in the instructions have followed lately for (re)installing XMonad via stack (e.g., https://github.com/xmonad/xmonad/blob/master/INSTALL.md, https://github.com/slotThe/xmonad/blob/new-tutorial/INSTALL.md or https://brianbuccola.com/how-to-install-xmonad-and-xmobar-via-stack/). In fact, for Debian systems all that is suggested is an apt install of several packages. So I'd rather not try this experiment on my own right now since, in the past, I've sometimes been left with a mess that took me a while to get out from.
-
Problems setting up dual monitor workspaces in xmonad
Looks like your xmonad (or, more specifically, https://hackage.haskell.org/package/X11) is built without xinerama. Check if you have libxinerama-dev and then make sure X11 and xmonad are rebuilt.
What are some alternatives?
When comparing xcffib and X11 you can also consider the following projects:
nanovg - NanoVG Haskell bindings
wayland - Core Wayland protocol and libraries (mirror)
nehe-tuts - OpenGL NeHe tutorials converted to Haskell
OpenGL - Haskell bindings to OpenGL
barcodes-code128 - A Haskell library for generating Code 128 barcodes
x11-xim - haskell library to use xim
hip - Haskell Image Processing Library
freetype2 - My personal branch of the freetype2 source code
opengles - A simplified OpenGL ES core wrapper library for Haskell.
clay - A CSS preprocessor as embedded Haskell.
plot-light - A lightweight plotting library, exporting to SVG