Keyboard shortcuts in KDE 4.x
Solution 1:
This one's easy.
Go to System Settings > Input Actions
. In the selection area, do right click > New Global Shortcut > Command/URL
. Make sure you give it a name, a shortcut, a command, and tick the Enabled
box. Click Apply
and you're done.
Coincidentally, though, the the "Examples" group should already contain an action named "Run Console," activated by Ctrl+
Alt+
T. Note that you'll need to enable shortcuts for the parent "Examples" group before you can enable "Run Console."
Solution 2:
For some reason, the kmenuedit shortcuts were shipped 'disabled' in the recent KDE releases.
Go to System-Settings, then Shortcuts-And-Gestures.
Select the 'Custom Shortcuts' on the left column, then make sure the 'KMenuEdit' entry is CHECKED.
Apply and close that application.
Now, when you create/edit the shortcut keys in the KMenu, they will be active and work immediately (as we both expect!!)
Took me a bit to figure this out, I thought the hotkeys were broken broken, and I REALLY use WIN-S to open a shell, WIN-C for calculator, and many more. Mouse? Don't need no mouse!
Solution 3:
In general I do this with kmenuedit, which I believe should be the prefered way of assigning applications to a keyboard shortcut.
- Launch kmenuedit
- Choose the application you wish to start from the tree on the left
- Click on Advanced.
- Select the Current shortcut key and click on Save.
Note that until KDE 4.2 there was a bug that causes KDE to ignore this shortcut. So in case you do not have KDE 4.2 or 4.3 yet, consider upgrading.
Solution 4:
Or to do this in the current version of KDE 4.8.4, its almost the same as the answer given by Nikhil Chelliah, its just that some things have been renamed.
1.) Goto "System Settings" from the main panel launcher (For a default install of KDE it will be in the favorites tab, but you can also do a search for this using the main panels launcher's search bar by typing in the words "system settings" without quotes. Alternatively you can also press ALT+F2 and type in "system settings" without quotes to get to the system settings panel.
2.) In the system settings panel you will see 5 titled rows or sections that group various tasks together. Look in the 1st section at the top tittled "Common Appearance and Behavior". In this section you should see an icon labeled "Shortcuts and Gestures" (this icon should be the 6th icon from the left towards the right). Click on this icon.
3.) From here you can finish following the steps given by, Nikhil Chelliah, except that your activate check box might not be labeled, but it should be fairly obvious at this point what the gist of things are. :)
Hope this helps.