Where custom keyboard shortcuts went in KDE4

When I went to Mandriva 2009.0, I also upgraded to KDE 4.  There was only one feature I missed from KDE 3: how you could assign keyboard shortcuts to run arbitrary commands.  I liked that and had my email, browser, and terminal set to easy shortcuts.

I hadn’t been able to find this functionality in KDE 4, even with doing a bit of searching around on the web.  But it’s there!

It’s There!

Here’s how to get to it:

If you’re using the new-style Application Launcher that lets you search, press the “K” launcher button and type khotkeys into the search box.  A program called Input Actions appears (I can’t seem to find it in the menus — I’m not sure how the search finds it).  This is what I think used to be called KHotKeys in KDE 3, and it’s the same good ol’ quirky interface that lets you hook up key combinations to actions.  (The “Windows” key can form part of the key combination, which I find convenient.)

Other Places to Configure Shortcuts

There are two other areas that look similar but didn’t seem to be what I wanted: Configure Your Desktop -> Keyboard and Mouse -> Keyboard Shortcuts allows configuration if the item already appears in the list;  and if you go to the Application Launcher and search for shortcut, there is a Keyboard Shortcuts item that appears that has some system-level shortcuts you can set (good information to know), but it wasn’t what I was looking for either because it didn’t seem to have my programs in the list or have a way to add them.  (Actually I think I could add them into the Keyboard Shortcuts one by first adding them to the menu system using the KDE Menu Editor…but I was used to doing it the old way.  Guess I’ll learn the new way if I eventually need to.)

Update: Boy, do I feel dumb.  I didn’t even try out the shortcuts to make sure they were operational before making this post, and they don’t seem to be operational for me.  I can set up a shortcut either the Input Actions way or through Configure Your Desktop -> Keyboard and Mouse -> Keyboard Shortcuts, but the shortcuts don’t seem to work, even after rebooting.  I don’t know how to do it. : (

10 thoughts on “Where custom keyboard shortcuts went in KDE4

  1. I looked for these in KDE4 too. I’m sure they weren’t there in 4.1 but they returned in 4.2. On Fedora the old menu editor is back. A right click on the Launcher (menu icon) gives you the option of the menu editor. The shortcut option is on the advanced tab after you select the application.

    The combination of shortcuts for my everyday apps and the favourites for less used ones makes the new menu structure usable for me.

  2. Hi

    I’ve been trying to figure out how to do this for a while. Your method actually works for me. Thanks :)

  3. @Oliver: I wonder why it works for you and not me? Perhaps you have a khotkeys daemon running or something? (I couldn’t find a daemon that looked applicable)

    Glad it helped!

  4. Well I am coming a bit late here. It works for me as well. But I have had to explicitly check the hidden checkbox on the right … The whole keyboard story setting is way to complicated !

  5. Hey, just created a new shortcut and it worked! Thanks, Jeff.

    (For me, the path to get to it was K -> Applications -> Tools -> System Tools -> Configure your Desktop -> Input Actions.)

    Also, I’m on KDE 4.3.5.

  6. Wanted to second that Jeff’s method worked for me.
    I checked that box, then right clicked on KMenuEdit, moused over New -> Global Shortcut -> then clicked K-Menu Entry.

  7. Hi all!
    I just right-click the kickoff button and choose Edit program. There I can change any shortcut to a program under the Advanced tab. Or i can add my script and set a shortcut to it.
    Just remember to clicks save :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.