You are not logged in.

#1 2012-08-19 06:11:48

LeftyAce
Member
Registered: 2012-08-18
Posts: 162

[Solved] Stumpwm run-or-raise conkeror spawns new instances

Hi all,

I recently had to do an install from scratch, and for some reason my setup with conkeror is broken.  I have a key bound to run-or-raise conkeror, but it just keeps starting more windows instead of raising the existing one.  Here's the code I'm using:

(defcommand conkeror () ()
	    "Start conkeror unless it is already running, in which case focus it."
	    (run-or-raise "conkeror" '(:class "Conkeror")))

(define-key *root-map* (kbd "b") "conkeror")

The same syntax with Emacs, firefox, evince and skype all behave correctly. Any ideas? It almost seems like stumpwm isn't detecting the :class correctly? Or a new version of Conkeror has a different class defined? Is there any way to check that?

EDIT: Apparently posting questions makes my google "skills" start working again, and I found an answer. It's an existing bug in Xulrunner. The Conkeror window _is_ reporting a different class (Xulrunner-15).  See the bug filed here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684333

Apparently this will go away with Xulrunner-16.  In the mean time, changing the :class line in my stumpwmrc fixed it.

Last edited by LeftyAce (2012-08-20 01:31:11)

Offline

Board footer

Powered by FluxBB