KDE global shortcuts daemon stealing shortcuts (aka Netbeans Ctrl+Shift+I doesn’t work any more)

If Netbeans’ keyboard shortcut for fixing import statements (or any other shortcut) stops working, it could be the KDE global shortcuts daemon interfering12. Per default, Ctrl+Shift+I is bound to Kopete’s read message function, so if Kopete runs in background, Netbeans doesn’t catch the shortcut. Quick Fix: Close Kopete or simply remove the global shortcut.

To check, if the kglobalaccel daemon uses Ctrl+Shift+I, simply use

$ grep -i ctrl+shift+i ~/.kde/share/config/kglobalshortcutsrc
ReadMessage=Ctrl+Shift+I,Ctrl+Shift+I,Read Message

You can either just remove the line from ~/.kde/share/config/kglobalshortcutsrc, use KDE’s System Settings tool (System Settings → Shortcuts and Gestures → Global Keyboard Shortcuts → KDE component: Kopete → Read Message)

ScreenshotSystemSettingsGlobalShortcuts

System Settings: Change "Read Message" to "None" (click for full size image)

or unset the shortcut in Kopete itself (Kopete → Settings → Configure Shortcuts → Read Message)

ScreenshotKopeteShortcuts

Kopete: Change "Read Message" to "None" (click for full size image)

[1] http://netbeans.org/bugzilla/show_bug.cgi?id=117058
[2] http://netbeans.org/bugzilla/show_bug.cgi?id=187776

2 thoughts on “KDE global shortcuts daemon stealing shortcuts (aka Netbeans Ctrl+Shift+I doesn’t work any more)

  1. avatarHi-Angel

    Are you sure that the name of a daemon is ┬źkdedglobalaccel┬╗?

    $ ps -A | grep kdedglobalaccel
    $ kdedglobalaccel
    kdedglobalaccel: command not found

    Shortcuts works fine for me, despite the fact the daemon is missing.

Leave a Reply

Your email address will not be published.