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?

1 Answer 1


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. Commented Jul 10, 2015 at 11:59
  • @Gilles Yeah, I was surprised too but: imgur.com/04iDClZ. Ubuntu doesn't require it either strangely.
    – user3
    Commented Jul 10, 2015 at 12:11
  • 1
    Yes, i can confirm that i need to logout and re-login to take effect .. Commented Jul 12, 2015 at 12:06
  • In Juno distro. Re-login are not anylonger required. ;)
    – Yoarthur
    Commented Mar 7, 2019 at 1:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.