[Pkg-haskell-maintainers] Bug#706149: xmonad: Fails to start if there's fewer workspaces than monitors
Lars Wirzenius
liw at liw.fi
Thu Apr 25 13:12:17 UTC 2013
Package: xmonad
Version: 0.10-4+b2
Severity: normal
My xmonad configuration only sets up a single workspace: I create the
rest dynamically as I need them. I use a laptop, and sometimes have an
external monitor. If I have a single workspace when I attach the second
monitor, xmonad fails to start.
A minimal .xmonad.hs that exhibits the problem:
--- 8< ---
import XMonad
import XMonad.Config.Gnome
main :: IO ()
main = do xmonad $ gnomeConfig { workspaces = ["GTD"] }
--- 8< ---
Procedure for reproducing:
* Use the above .xmonad.hs.
* Log into a GNOME+Xmonad session in wheezy.
* If there are two monitors, xmonad fails to start.
* If there is a single monitor, this works. If I attach a second monitor,
xmonad does not crash. However, re-starting it (e.g., due to a
change to .xmonad.hs) doesn't work.
The error message xmonad gives when starting up:
xmonad-x86_64-linux: xmonad: StackSet: non-positive argument to StackSet.new
I am probably unsual in liking to create my workspaces dynamically on
demand. However, it would be good if xmonad would at least start even
if it can't have something on every monitor.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xmonad depends on:
ii libc6 2.13-38
ii libffi5 3.0.10-3
ii libgmp10 2:5.0.5+dfsg-2
ii libx11-6 2:1.5.0-1
ii libxext6 2:1.3.1-2
ii libxinerama1 2:1.1.2-1
ii x11-utils 7.7~1
Versions of packages xmonad recommends:
ii libghc-xmonad-dev 0.10-4+b2
ii libghc-xmonad-doc 0.10-4
ii xfonts-base 1:1.0.3
Versions of packages xmonad suggests:
pn dmenu <none>
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list