{"id":1284,"date":"2012-06-01T09:19:19","date_gmt":"2012-06-01T07:19:19","guid":{"rendered":"http:\/\/raftaman.net\/?p=1284"},"modified":"2021-05-15T11:46:39","modified_gmt":"2021-05-15T09:46:39","slug":"kde-global-shortcuts-daemon-stealing-shortcuts-aka-netbeans-ctrlshifti-doesnt-work-any-more","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=1284","title":{"rendered":"KDE global shortcuts daemon stealing shortcuts (aka Netbeans Ctrl+Shift+I doesn&#8217;t work any more)"},"content":{"rendered":"<p>If Netbeans&#8217; keyboard shortcut for fixing import statements (or any other shortcut) stops working, it could be the KDE global shortcuts daemon interfering<a name=\"fn001t\" href=\"#fn001f\"><sup>1<\/sup><\/a><a name=\"fn002t\" href=\"#fn002f\"><sup>2<\/sup><\/a>. Per default, <code>Ctrl+Shift+I<\/code> is bound to Kopete&#8217;s read message function, so if Kopete runs in background, Netbeans doesn&#8217;t catch the shortcut. <strong>Quick Fix<\/strong>: Close Kopete or simply remove the global shortcut.<\/p>\n<p>To check, if the <code>kglobalaccel<\/code> daemon uses <code>Ctrl+Shift+I<\/code>, simply use<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ grep -i ctrl+shift+i ~\/.kde\/share\/config\/kglobalshortcutsrc\r\nReadMessage=Ctrl+Shift+I,Ctrl+Shift+I,Read Message\r\n<\/pre>\n<p>You can either just remove the line from <code>~\/.kde\/share\/config\/kglobalshortcutsrc<\/code>, use KDE&#8217;s <code>System Settings<\/code> tool (<strong>System Settings &rarr; Shortcuts and Gestures &rarr; Global Keyboard Shortcuts &rarr; KDE component: Kopete &rarr; Read Message<\/strong>)<\/p>\n<div id=\"attachment_1286\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotSystemSettingsGlobalShortcuts.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1286\" src=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotSystemSettingsGlobalShortcuts-550x381.png\" alt=\"ScreenshotSystemSettingsGlobalShortcuts\" title=\"ScreenshotSystemSettingsGlobalShortcuts\" width=\"550\" height=\"381\" class=\"size-medium wp-image-1286\" srcset=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotSystemSettingsGlobalShortcuts-550x381.png 550w, https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotSystemSettingsGlobalShortcuts.png 620w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-1286\" class=\"wp-caption-text\">System Settings: Change &quot;Read Message&quot; to &quot;None&quot; (click for full size image)<\/p><\/div>\n<p>or unset the shortcut in Kopete itself (<strong>Kopete &rarr; Settings &rarr; Configure Shortcuts &rarr; Read Message<\/strong>)<\/p>\n<div id=\"attachment_1287\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotKopeteShortcuts.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1287\" src=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotKopeteShortcuts-550x321.png\" alt=\"ScreenshotKopeteShortcuts\" title=\"ScreenshotKopeteShortcuts\" width=\"550\" height=\"321\" class=\"size-medium wp-image-1287\" srcset=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotKopeteShortcuts-550x321.png 550w, https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/05\/ScreenshotKopeteShortcuts.png 821w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-1287\" class=\"wp-caption-text\">Kopete: Change &quot;Read Message&quot; to &quot;None&quot; (click for full size image)<\/p><\/div>\n<p><a name=\"fn001f\" href=\"#fn001t\">[1] <\/a><a href=\"http:\/\/netbeans.org\/bugzilla\/show_bug.cgi?id=117058\">http:\/\/netbeans.org\/bugzilla\/show_bug.cgi?id=117058<\/a><br \/>\n<a name=\"fn002f\" href=\"#fn002t\">[2] <\/a><a href=\"http:\/\/netbeans.org\/bugzilla\/show_bug.cgi?id=187776\">http:\/\/netbeans.org\/bugzilla\/show_bug.cgi?id=187776<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If Netbeans&#8217; 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&#8217;s read message function, so if Kopete runs in background, Netbeans doesn&#8217;t catch the shortcut. Quick Fix: Close Kopete or simply remove the global shortcut. To check, if the kglobalaccel daemon&#8230; <a href=\"https:\/\/possiblelossofprecision.net\/?p=1284\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[45,24],"class_list":["post-1284","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-kde","tag-netbeans"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1284"}],"version-history":[{"count":14,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1284\/revisions"}],"predecessor-version":[{"id":1991,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1284\/revisions\/1991"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}