Bug 195147

Summary: Unable to set global shortcuts for yakuake-2.9.6
Product: [Plasma] khotkeys Reporter: eric225125
Component: generalAssignee: Michael Jansen <kde>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: 2Kmm
Priority: NOR    
Version: 0.4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Original .kde4/share/config/kglobalshortcutsrc

Description eric225125 2009-06-03 22:19:57 UTC
Version:            (using KDE 4.2.3)
Compiler:          gcc-4.4.0 (64bit) 
OS:                Linux
Installed from:    Gentoo Packages

After upgrading several kde packages (kdelib-4.2.3), I am unable to set the global shortcut for yakuake-2.9.6.  I get the following error message:

"The shortcut 'F12' conflicts with the following key combinations:"

Nothing is listed and I get the same error for whatever key I attempt to choose.
Just a note: I do not use the KDE window manager; I use openbox.
Comment 1 Michael Jansen 2009-06-04 17:05:25 UTC
- Please attach your .kde(4?)/share/config/kglobalshortcutsrc file.

- Do you try to change it from yakuakes "Configure Shortcuts" Dialog or from Systemsettings | "Keyboard & Mouse" | "Global Shortcuts" ?

You try to set the shortcut. I assume it stopped to work after upgrading? Did it ever work?

Mike
Comment 2 eric225125 2009-06-04 18:55:11 UTC
Created attachment 34269 [details]
Original .kde4/share/config/kglobalshortcutsrc

I've attached my kglobalshortcutsrc file.  I have only tried to change the shortcut via the yakuake's dialog.  I'm not sure if I even have KDE's "System Settings" program installed.  What package is it part of?

I have had the yakuake global shortcut working fine before the upgrade.  I've tried deleting my whole ~/.kde4 directory and reinstalling kdelibs, but that didn't help.  When I started yakuake and it asked for the key to use as the global shortcut, I got the same error message as before. (a new kglobalshortcutsrc file was not created)
Comment 3 Michael Jansen 2009-06-12 00:17:24 UTC
Is this problem still there? Is a process called kded running? (This is 4.2?)

What does "qdbus org.kde.kded /kded loadedModules" say?

Mike
Comment 4 eric225125 2009-06-12 02:59:43 UTC
(In reply to comment #3)
> Is this problem still there? Is a process called kded running? (This is 4.2?)
> 
> What does "qdbus org.kde.kded /kded loadedModules" say?
> 
> Mike

Yes, it is still present with kdelibs-4.2.4 and yakuake-2.9.6.  I see a process called kded4 running.  "qdbus org.kde.kded /kded loadedModules" produces no output.

Output of just "qdbus":
:1.33
 org.gnome.GConf
:1.34
:1.4
:1.7
 org.kde.klauncher
:1.8
 org.kde.kded
org.freedesktop.DBus

Output of "qdbus org.kde.kded":
/
/KDebug
/MainApplication
/kbuildsycoca
/kded
Comment 5 Manuel Mommertz 2009-06-15 09:44:39 UTC
I just have upgraded from kde 4.2.4 and yakuake 2.8.something to 4.3b2 and yakuake 2.9.6 and after that I have the same problem. If i run systemsettings, there is F12 asigned to yakuake but in yakukae itself it isn't and it doesn't work. Seams like a bug in yakuake.
Comment 6 Manuel Mommertz 2009-06-15 18:44:02 UTC
Yakuake was compiled against 4.2.4. After i have deinstalled 4.2.4 and rebuild yakuake, F12 works.
Comment 7 Michael Jansen 2009-06-15 22:57:45 UTC
Output of "qdbus org.kde.kded":
/
/KDebug
/MainApplication
/kbuildsycoca
/kded

This is not correct. It should look like that:

/
/KIO
/KIO/Scheduler
/MainApplication
/NotificationItemWatcher
/kbuildsycoca
/kded
/modules
/modules/NotificationItemWatcher
/modules/dnssdwatcher
/modules/favicons
/modules/kcookiejar
/modules/kephal
/modules/kephal/Configurations
/modules/kephal/Outputs
/modules/kephal/Screens
/modules/khotkeys
/modules/ktimezoned
/modules/kwrited
/modules/networkstatus
/modules/networkwatcher
/modules/notificationitemwatcher
/modules/phononserver
/modules/powerdevil
/modules/remotedirnotify
/modules/solidautoeject
/org
/org/freedesktop
/org/freedesktop/PowerManagement
/org/freedesktop/PowerManagement/Inhibit

You seem to have no kded modules running. Please try

ps -ef | grep kded

and 

qdbus org.kde.kded /kded loadModule khotkeys
Comment 8 Michael Jansen 2009-06-15 22:59:34 UTC
And another question Do the other global shortcuts work for you?

Btw. 

ps -ef | grep kglobalaccel

Is there such a thing running?
Comment 9 eric225125 2009-06-15 23:37:17 UTC
(In reply to comment #8)
> And another question Do the other global shortcuts work for you?
> 
> Btw. 
> 
> ps -ef | grep kglobalaccel
> 
> Is there such a thing running?

I've reinstalled dbus and qt-dbus, but the output of "qdbus org.kde.kded" is still the same.

# ps -ef |grep kded
root     30054     1  0 17:31 ?        00:00:00 kded4

# qdbus org.kde.kded /kded loadModule khotkeys
false

# ps -ef | grep kglobalaccel
(no output)
Comment 10 Michael Jansen 2009-06-15 23:50:03 UTC
Please try to change any other global shortcut from "kcmshell4 keys".
Comment 11 eric225125 2009-06-16 00:19:55 UTC
(In reply to comment #10)
> Please try to change any other global shortcut from "kcmshell4 keys".

I didn't have kcmshell4 installed, but after installing it "kcmshell4 keys" returns nothing.

# kcmshell4 --list
The following modules are available:
crypto          - Configure SSL, manage certificates, and other cryptography settings

I'm guessing some modules are missing? How do I install them?
Comment 12 Michael Jansen 2009-06-16 00:55:57 UTC
The solution was a missing gentoo dependency. kdedglobalaccel (With 4.3 kglobalaccel) is needed for global shortcuts working.

kde-base/kdedglobalaccel is the needed package-