Version: (using Devel) Compiler: gcc OS: Linux Installed from: Compiled sources kglobalaccel is being initialized twice, and it prevents the globalshortcuts from work properly. It happens when I start KDE4 with startx and startkde. Solution founded by mjansen was to kill kglobalaccel and start it again.
During the startup phase kglobalaccel is started more than once. KGLobalAccel uses KUniqueApplication which should prevent that. During maelcums startup krunner/klauncher? tries to start it 1 time because of share/kde4/services/kglobalaccel.desktop 1-x times because of the code in kdelibs/kdeui/shortcuts/kglobalaccel.cpp getComponent() which autostarts kglobalaccel if it's not registered with dbus The autostarting happens once before the kglobalaccel.desktop start because og kwin trying to register its global shortcuts. The start succeeds. Then the kglobalaccel.desktop start fails case. KUniqueApplication doing it's job. After that kglobalaccel is started successfully a second time on demand of klipper. All those from a startup log of maelcum. Danilo uses startx / startkde. startkde is an unchanged from kde's version. Both are on trunk. Someone should trigger seli.
1. Do you have more than one kglobalaccel demon running? https://bugs.kde.org/show_bug.cgi?id=193558 2. Do you use xmodmap? 3. Enable kglobalaccel debug output in kdebugdialog. Try to stop and restart kglobalaccel (kquitapp kglobalaccel; kglobalaccel --nofork). Does it work? If not attach the output kglobalaccel gives. 4. If kglobalaccel worked after restarting. Relogin and attach the content of your .xsession-errors file. You current .xsession-errors file is not useful because of the missing kglobalaccel output. But i guess 1. is you problem anyway.
Sorry that last message was on the wrong bug.
SVN commit 971460 by mjansen: Check if we could register our service with the dbus session. If not do not start the demon. @Lubos that problem exists since your change to kdeinit4. Is it possible your change has the effect of starting processes before the dbus session is completely initialized / available whatever? CCMAIL:l.lunak@kde.org CCBUG:193558 M +16 -3 kglobalacceld.cpp M +2 -0 kglobalacceld.h M +5 -2 main.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=971460
*** Bug 193598 has been marked as a duplicate of this bug. ***
*** Bug 193634 has been marked as a duplicate of this bug. ***
*** Bug 193546 has been marked as a duplicate of this bug. ***
Fixed with commit 971978 (the last one of 3 needed to fix it)