[3ddesktop-dev] Re: Keybindings and multiple instances

That is strange, I haven't had a problem with keybindings in
metacity or sawfish.

3ddeskd and 3ddesk communicate via a message queue.   What this 
means is you can queue "commands" from the client to 3ddeskd.
So somehow 2 messages to activate are probably being queued to 
the message queue.  

You can check the message queue with "ipcs -q".  If you run this
while 3ddeskd is activated (telnet/ssh in from another box).  You'll
normally see 0 messages queued but I'm guessing you'll see 1 in your 
case.

If your keybinding is F2, for example, and after you've activated it 
you hit F2 again 3ddesk would run and queue another message in the message 
queue and you'd get this behavior.  (As soon as 3ddeskd finished it'd
see the other message and start again).

Any chance you're hitting the keybinding again while its activated?

What is your keybinding?

I don't think a dual processor machine would have anything to do 
with it but I could be wrong.  Anybody have any troubles with
keybindings on a dual processor machine?


--Brad


Michael F. Wright (michael@xxxxxxxxxxxx) wrote:

> Michael F. Wright said:
> > Hello all!
> >
> > First of all, great work on this application. My manager installed linux
> > for the first time as a result of seeing my spinning openGL desktops. :-)
> >
> > Secondly, I'm having issues with 3ddesk when it's bound to a key in
> > sawfish. If I run 3ddesk from the command line, I have no problem. If I
> > bind it to a key in sawfish, it runs twice! It runs once, and I select a
> > desktop. As soon as it gets back to a desktop, it runs again! In addition,
> > I have other keybindings setup for other applications and nothing else but
> > 3ddesk runs twice. I even went to the extreme of building shell scripts to
> > touch files on my system and run them through strace from the keybinding
> > to see if it is perhaps called twice. I can't tell what's going on. It
> > ONLY happens with 3ddesk and ONLY when it's bound to a key in my window
> > manager. I even tried metacity and got the same results.
> >
> > Has any one else experienced this and, if so, did you fix it? :-)
> >
> > Any help is MUCH appreciated and thanks again for the great work.
> >
> > -Michael
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=
> > http://www.abditory.com
> >
> > For when you just can't
> > get enough of me!
> > -=-=-=-=-=-=-=-=-=-=-=-=
> >
> >
> 
> I just thought to add this little tidbit:
> 
> This is all taking place on a dual-processor machine.
> 
> -Michael
> 
> 
> 
> 


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

Other related posts: