[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)

Hi. My openbox autostart works without the first hashbang line and without execute permission. But this file is read only if openbox is started with the 'openbox-session' command in standalone mode.
If you didn't copy the 'lxde-rc.xml' file yourself then I presume that the lxde display manager did it for you and has specified that file as the config file instead of rc.xml with the '--config-file FILE' option; I don't know lxde, but you can verify how openbox is launched with the 'ps -ef' command.
But only one config file should be used and the default is 'rc.xml' if it is not changed with the '--config-file FILE' option.
You need to verify all this to undestand what happens in your installation.
Last edited by berbae (2014-08-11 09:34:41)

Similar Messages

  • [SOLVED] Stumpwm: Running a command at specific intervals

    I have been dabbling in common lisp for a few months now, to the point where it became a replacement for bash scripts (which I never really "got" into, anyway). After using ratpoison for quite a while I stumbled upon Stumpwm - a, so far, perfect window manager (language for which I already know, unlike xmonad).
    After playing around with the rc file for a few weeks, I run into a minor problem. It is thus: is there a way to, without freezing the wm, make a function run, do something akin to 'sleep 1000', and then run again? Kinda like launching a bash script or something with 'sleep' in it, and adding "&" at the end, if that makes sense...
    Oh, and I am using SBCL.
    Last edited by countd (2011-06-28 21:24:45)

    SBCL has its own implementation of thread. It's in the sb-thread package.
    Example of printing "Hello, World!" to stdout every 10 seconds, forever:
    (sb-thread:make-thread
    (lambda ()
    (loop do
    (progn
    (sleep 10)
    (format t "Hello, World!~%")))))
    But it's good practice to create a thread pool so you can terminate them or wait for them to finish when your program exits (i.e. when you quit stumpwm).
    (use-package :sb-thread)
    (defparameter *threads* '()) ; we stock all threads here
    ;; Helper to create and stock thread
    (defun do-in-thread (fn)
    (setf *threads*
    (cons
    (make-thread fn)
    *threads*)))
    ;; Create some threads that loop forever
    (do-in-thread
    (lambda ()
    (loop do
    (progn
    (sleep 3)
    (format t "hello every 3sec~%")))))
    (do-in-thread
    (lambda ()
    (loop do
    (progn
    (sleep 4)
    (format t "Bye every 4sec~%")))))
    ;; Call this function when quiting stumpwm
    (defun kill-all-threads ()
    (loop for th in *threads*
    do
    (if (thread-alive-p th) (terminate-thread th))))
    Last edited by jiyuu (2011-06-28 21:01:38)

  • Each Mid-Process Receive/Invoke spawning new instance

    I have the following flow in my interface:
    Composite1 -> BPEL 1 & BPEL 2
    Composite2 -> BPEL 3
    Mock Service in OSB -> Writes the data to JMS Q (Say Q1)
    BPEL 1 -> Gets trigerred by passing input,do some validations,invoke the mock service(Internally puts data into Q1), then post the data into another JMS Q (Say Q2) and then have a mid process receive on Q3, after listening updates the response and reply to the client with the same.
    BPEL 3 -> Polls Q1 and put data into Q4 with some value in JMS Correlation ID.
    BPEL 2 -> Gets triggered as soon as we get the data in Q4,just after this receive we have another receive on Q2, Correlation happens here and then data is put into Response Queue (Q3).
    As in each BPEL we have to set Create Instance = Yes for the first receive, so I have done the same in all the 3 BPEL's.
    So I expect 2 instances of Composite1 and 1 instance of Composite 2 to come when I run the interface.
    But, I am getting 4 instances of Composite 1 and 1 Instance of Composite 2.
    Can any one please advise on this.I am facing lot of issues because of this.
    PS: The correlation is happening on each mid process receive.
    Edited by: 914654 on Feb 7, 2013 2:38 AM

    Hi,
    You have to use correlation sets in BPEL as well... JMS Correlation ID only won't be enough... Have a look at this...
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_async.htm#CIHBIEEJ
    Cheers,
    Vlad

  • [SOLVED] Conkeror: missing conkeror-spawn-helper

    Hello List,
    although there are two bug reports with regards to the missing conkeror-spawn-helper in the conkeror-git package in AUR, I'm still left with the question: what shall I do to add this very important functionality to conkeror?
    conkeror-spawn-helper enables the user to open e.g. a pdf document from within conkeror, using evince or xpdf for example. There seems to be a problem havin a binary in /usr/share/, so it was removed from the package. Fair enough.
    But then what to do?
    I only found rpm and deb packages on the web.
    Where do I get it and how/where do I install it on ArchLinux?
    TIA
    Last edited by 4on6 (2012-04-17 03:16:42)

    archman-cro wrote:... You start conkeror with 'exec xulrunner /path/to/application.ini' and you'll be able to use xpdf or whatever program you want...
    Thanks for you answer, but I fiddled around with conkeror start scripts, even had a look at run-conkeror script in conkeror/contrib folder - but to no avail.
    It worked until my last update, i.e after git pulling the newest conkeror-git package from the AUR and freshly installing conkeror (I had to do that, since my old installation constantly crashed after my last system update).
    It really seems, this functionality has been removed from the package, and its not obvious to me how to install it myself.

  • Webforms spawns new ifweb60 processes

    My configuration:
    NT4.0 sp3
    Oracle 8.0.5
    OAS 4.0.7
    Dev60 deployment with patch1 and 2 installed.
    After installing patch 1 and 2 to dev60, my webforms would not
    work. I then followed a suggestion mentioned earlier by setting
    FORMS_TIMEOUT to 0.
    Now it works but the server keeps spawning new ifweb60 processes
    every 5 seconds or so as long as i am running the webforms
    application.
    Any suggestions?
    Yours,
    Rune Skogseide
    null

    This is the command that executes that hangs:
    D:\Oracle\Services\jdk\jre\bin\javaw -server -cp "D:\Oracle\Services\j2ee\home\lib\ojsp.jar;D:\Oracle\Services\reports\jlib\rwrun.jar;D:\Oracle\Services\jlib\zrclient.jar" -Duser.language=sv -Duser.region=SE -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=rep_asapp03_services ORACLE_HOME=D:\Oracle\Services engineimplclass=oracle.reports.engine.EngineImpl cacheDir=D:\AL\RoR\Client\Web\Temp tempDir="D:\AL\RoR\Client\Web\Temp" keepConnection="yes" server_ior="C:\xxxxxxxxxxxxxxxx\Temp\rep_asapp03_services_18500564_1287061324288"
    (The x is a localdir)

  • Alt+[m] calls up a new instance of Firefox when one instance is already running??

    I have another program, DataCad v15, which uses macros. Alt+[m] is one of those macros and it will call up a new instance of Firefox when using DataCad. In trying to trouble shoot the problem I found that entering the macro when DataCad is NOT running, it will call up a new instance of Firefox. Any explanation for this????

    More info:
    I have been using DataCAD and the fore-mentioned macro for years. I have been using FireFox for years although not as long as DataCad. I never had this problem before!
    I have solved the problem by changing out the keyboard and (wireless Logitech) mouse. '''BUT''' there have not figured out the cause. The keyboard (s. I have 3) is a Gateway Anykey programmable keyboard (with another set of function keys on the left - very useful in DataCad. Keeping the new mouse (wired MS) and switching back to the Gateway keyboard still calls up FireFox despite "de-programming" all programmed macros and re-mapped keys several times.
    I can find no documentation about Alt+m, as a macro for calling up FireFox in MS XP or Mozilla, so that mystifies me. This problem exceeds my computer expertise.
    Stephen

  • [SOLVED] KDE switches activities when opening a new File

    First off, I've been using KDE Plasma Workspaces for a few months now, and for the most part am largely satisfied.  Thanks to both the developers of KDE and to the contributors on Arch who made setting everything up a breeze.
    One thing that does annoy me however is how it switches Activities when opening  a new file, if the default application already has a running instance.  For instance, say I have one Activity which I am using as a development environment and have Kate open to view source.  Now I switch to a second Activity where I am working on editing style sheets for my web page and again wish to use Kate.  If I open Dolphin and click on one of my style sheets (launching Kate as the default editor) I will be switched back to my first Activity and have the style sheet opened in the already running instance of Kate. 
    To me this behavior is not ideal, I would rather have the DE spawn a new instance of kate for that Activity.  I've perused through some of the settings options but haven't seen anything obvious.
    Last edited by brewlius_cesar (2013-08-14 10:29:32)

    Thanks for the response schmidtbag, but these are both suggestions for opening a file in an existing instance of Kate, when I am looking to instead spawn a new instance (at least for the current Activity).  Also, these suggestions are specific to Kate, where I would like this behavior to extend across KDE.
    Maybe I am just making a big fuss over nothing,  but for me it seems more appropriate to spawn a new instance of a program if I click on a file from a file browser, such as Dolphin.  If I wanted to open a file in an already running instance of a program I would use Ctrl+O from that program, or drag the file over to the program as schmidtbag suggested.
    I'm thinking about reposting over at kde.org, I'll be sure to follow up back over here, no matter what the outcome is.

  • Adobe Creative Cloud - has anybody had any luck running Adobe CC on a new mac mini? Does it run slow for Photoshop?

    Adobe Creative Cloud - has anybody had any luck running Adobe CC on a new mac mini? Does it run slow for Photoshop?

    Adobe CC applications are very large and the base Mac mini isn't a good choice because it has only 4GB of RAM and has a slow standard hard drive. To get the most out of ACC you should upgrade the mini to at least 8GB. I'd also choose an SSD or Fusion drive for better performance.

  • Has anyone in this Forum had problems with installing and running Adobe apps on the new MacPro?

    Has anyone in this Forum had problems with installing and running Adobe apps on the new MacPro?
    I have been trying to install Photoshop CS6 & CC and Acrobat Pro XI on my Mac Pro (late 2013). I keep getting a 'configuration' error message and wondered if the problem was wide spread.
    TIA,
    Jerry

    Thanks, Martin.
    Good to hear someone has had success. The lack of it here is frustrating and depressing.
    Thanks again,
    Jerry

  • Is it possible to screen share an old iMac running 10.4 with a new Mac Mini running Yosemite

    Is it possible to screen share an old iMac running 10.4 with a new Mac Mini running Yosemite. I am trying to bring the old iMac screen up on the Yosemite system

    Hello! Not out of the box: OS X Mountain Lion: About screen sharing  You'll have to look for third-party options like Teamviewer

  • How can i run a new instance of API by providing seperate JVM.

    Hello,
    I have some static member and function and they conflicted while opening the new instance of API. Can i run a new instance in separate JVM so it will run independently even we have static members and functions.
    Or do we have any other procedure, without removing "static" we can run with out conflicting ?
    Thanks
    Ashish Pancholi

    YuccaS wrote:
    Once again someone thinks static is the same in a distributed application/clustered system. The OP must realise that static is only static per jvm of which there can be more than one in an environment and may not work in a cluster if pooling is used across the cluster. I am no expert on this myself but I think the solution has something to do with creating your own class loader or use JEE which may provide the OP with the flexibility they wish to have?Personally I think they've just found a new version of some API they're using, and don't want to refactor all their code to fit it. Writing web service layers and the like, even a bunch of RMI code, is going to be more painful than that.

  • I'm running Mac OS 10.5.8. I want to update to 10.7 or later so I can run iTunes 11 with my new iphone 5C. What update should I download?

    I'm running Mac OS 10.5.8. I want to update to 10.7 or later so I can run iTunes 11 with my new iphone 5C. What update should I download?

    If you do not know whether your iMac has a PowerPC or Intel processor, do "About this Mac" from your Apple menu. You will get this:
    If the line by my second highlight arrow includes the word "PowerPC" as in the image, you can upgrade no higher. If it says, "intel," you can--as Niel indicates--update to at least 10.6.8 and possible higher.

  • VI running very slow in a new PC

    Hello,
    I recently changed my development PC, and one of my VIs is running much slower in my new PC. This is strange since the new PC is a bit better. In this PC I have an Intel i5 4210M 2.5GHz CPU, 8Gb of RAM and a disk with 7200RPM and 16MB of cache. The PC I was using before had an older intel i5 3210M CPU, 4GB of RAM and a 5400RPM disk.
    In the current project I'm working I'm monitoring some production lines. I'm using Labview 2013 and the DSC module's OPC server to connect to the PLCs on the production line.
    In the VI that is slower in the new PC I'm reading about 50 shared variables from the OPC server, I'm registering some data in a MySQL database, datalogging data on the Citadel database and registering alarms. On my older PC each iteration on this VI was taking about 1 second and now is taking more than 10 seconds.
    I've noticed that when I run that VI the disk usage gets very high (constantly over 90%), but it's strange if the disk is causing this problem since it is better than the one I had on the older PC. The CPU usage is low (arround 5%) and the memory usage stays arround 30-35%.
    Does anyone have any idea what could be happening? I'm getting very frustrated with this problem since the PC is brand new and I wasn't expecting to have a problem like this.

    With windows 7 I was having the same problem. I installed windows 8.1 because since I was having some problems with drivers compatibility on windows 7 and I tought that maybe this problem in the execution speed could also be caused by that. But on windows 8.1 there was only a slight improvement - it took close to 20 seconds to execute now it takes 15 seconds, but still not the performance I was having on the previous PC (arround 1 second).
    Today I brought both PCs and I'm trying to understand what's different. I've noticed on the windows resource monitor that the write speed on my new PC's disk are lot slower when the VI is running. The disk load goes up to 100% but the write speed seems to be limited to 1MB/s. As for the older PC the disk load stays lower (arround 30-40%) and the write speeds goes up to 5MB/s. I've also ran perfmon but I didn't noticed major differences between when I was running that VI and when I wasn't. I've attached some screenshots from the resource monitor of both PCs. The screenshot that is in portuguese is from the older PC but the fields are in the same positions as in the english version.
    So I'm thinking that this must be some problem on my disk confgurations something must be limiting my disk speed to 1MB/s. But when I transfer files on the PC it doesn't seem to have that problem. I only noticed it on that VI...
    Attachments:
    disk_Usage.png ‏38 KB
    disk_usage_ok.png ‏86 KB

  • How do I retrieve data from time machine from an old mac (which was running 10.5) on my new iMac running mavericks?

    How do I retrieve data from time machine from an old mac (which was running 10.5) on my new iMac running mavericks?

    See B 5/6.
    Time Machine Troubleshooting

  • CC 2014 nik efex - My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either

    My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either.  Help with this?

    BINGO !!!!
    Thanks so much Woodsroad. I had the exact same problem with my Dell Windows 7 64 bit with AMD Radeon 6700 Video card.
    All the video tests passed with flying colors.
    The sniffer rename trick fixed the problem.
    Thank goodness for the internet!

Maybe you are looking for

  • Changing a mapplet select seems not to be working

    I am trying to change the mapplet select for the BOM Header extraction task. I've copied the mapping from the ORA R12 Adaptor to my custom folder and I've altered the mapplet in my custom folder. I've also copied the informtica task and workflow. In

  • How to get the real SQL statement from a preparedstatement?

    Hi, I am trying to log the actual SQL sent to database by the preparedStatement. Since the original SQL I used to prepare the statement has a lot of "?" in it, after setting all the parameters in the preparedStatement, I want to get the final SQL sta

  • Why are you blocking google and how do i get it back?

    I get a blocking message about google. I need google. Why is it being blocked and how do i get it back. What other search sites have you blocked?

  • Enabling javaascript in dreamweaver?

    i click to open an index.html in dreamweaver & get the message, in design view that i must enable javascript to view it. how do i do this? it is NOT a preview in browser issue. thanks!!!!!

  • Missing registry keys

    Why is it that we cant seem to get help and it seems to me that quite a few of us of having the same problem. We are getting the error message thst the registry settings for used by itunes for importing and burning CDS and DVDS are missing. Now all m