On Windows, I can create keyboard shortcuts that launch a program by linking to the program or command and adding a shortcut to the link — here's the how-to I follow.

Anyway, how can I set the same up on elementary OS?


First, open system settings and click keyboard:

Chose Custom, in the sidebar

Click the + button

Enter your command

Click "Disabled", then press your chosen shortcut and it will show up:

Finally, you have to log out and back in for the short cuts to be active.

  • “you have to log out and back in for the short cuts to be active” Huh, that's surprising. It shouldn't be the case, normally shortcuts are activated immediately. – Gilles 'SO- stop being evil' Jul 10 '15 at 11:59
  • @Gilles Yeah, I was surprised too but: imgur.com/04iDClZ. Ubuntu doesn't require it either strangely. – user3 Jul 10 '15 at 12:11
  • 1
    Yes, i can confirm that i need to logout and re-login to take effect .. – Ferri Sutanto Jul 12 '15 at 12:06
  • In Juno distro. Re-login are not anylonger required. ;) – Yoarthur Mar 7 '19 at 1:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy