Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can you quickly launch an app with an assigned shortcut in KDE?

systemsettings -> Shortcuts and Gestures -> Custom Shortcuts -> Edit -> New

share|improve this question
  1. Unlock Widgets.

  2. Right-click in launcher and click Edit Applications...

  3. Find the app you want to assign a shortcut

For example: Click on System, and click on Konsole. Click on Advanced Tab. At the bottom you can see Current shortcut key, click on the button and enter the shortcut.


share|improve this answer
What/where is "Unlock Widgets" and "launcher"? – jozxyqk Jul 17 '14 at 1:33
Just right-click on the desktop and you will see a contextual menu with Unlock Widgets. – Korcia Sep 30 '14 at 16:30
is there a way for 2nd call to shortcut to focus on already opened instance? – dwaynemac Mar 5 '15 at 15:10

Just to reiterate what @HeathMatlock suggested:

enter image description here

enter image description here

enter image description here

Then set a Shortcut under Trigger, and enter a Command under Action.

If you're not sure what the command is, maybe try:

xprop _NET_WM_PID | awk '{print $3}' | xargs ps -o comm= -p

and click on the application window. This attempts to grab the PID that created the window and passes it to ps to see what the command for the PID was. Not 100% reliable for example if your bashrc adds stuff to PATH you might find the same command won't work as a shortcut.

To run an application only if it isn't already running, I use this:

ps -e | grep mycommand || mycommand
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.