Re: Bug#599211: xmonad: if another wm is already running, please give a more descriptive error message

Hi Timo, thanks for your bug report. Am Dienstag, den 05.10.2010, 20:11 +0300 schrieb Timo Juhani Lindfors:
Package: xmonad Version: 0.9.1-2+b1 Severity: wishlist
Steps to reproduce: 1) Start some other wm 2) Run xmonad
Expected results: 2) xmonad informs the user that a wm is already running and exits
Actual results: 2) xmonad prints
/home/lindi/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory) X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Serial number of failed request: 7 Current serial number in output stream: 8
and leaves the user completely puzzled. Please consider printing something like
"xmonad: Another window manager already running, exiting..."
instead or in addition to the above error message.
I’d say it should just replace the running window manager, but if that is not easily possible, you are right. I’m therefore CC’ing the xmonad mailing list: Is there a taker for this issue? Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Hello, The replace flag is already done: http://code.google.com/p/xmonad/issues/detail?id=99 A prettier message about pre-existing window managers or changing the default to --replace could still be an option. -- Adam * On Tuesday, October 05 2010, Joachim Breitner wrote:
Hi Timo,
thanks for your bug report.
Am Dienstag, den 05.10.2010, 20:11 +0300 schrieb Timo Juhani Lindfors:
Package: xmonad Version: 0.9.1-2+b1 Severity: wishlist
Steps to reproduce: 1) Start some other wm 2) Run xmonad
Expected results: 2) xmonad informs the user that a wm is already running and exits
Actual results: 2) xmonad prints
/home/lindi/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory) X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Serial number of failed request: 7 Current serial number in output stream: 8
and leaves the user completely puzzled. Please consider printing something like
"xmonad: Another window manager already running, exiting..."
instead or in addition to the above error message.
I’d say it should just replace the running window manager, but if that is not easily possible, you are right. I’m therefore CC’ing the xmonad mailing list: Is there a taker for this issue?
Greetings, Joachim
-- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (2)
-
Adam Vogt
-
Joachim Breitner