Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I would like to be able to do

Ctrl + S, Alt + Tab and F5

while only pressing Alt+Shift+S

share|improve this question

1 Answer 1

up vote 4 down vote accepted
  1. Install the xautomationInstall xautomation package. This provides the command xte which is used for simulating keyboard events.
  2. Open up System ➜ Preferences ➜ Keyboard Shortcuts.
  3. Click on Add and use the following code for the Command,

    xte "keydown Control_L" "key s" "keyup Control_L" "keydown Alt_L" "key Tab" "keyup Alt_L" "key F5"

    Use whatever you want for the Name and then click Apply.

    enter image description here

  4. Now click the right side of the new shortcut entry (where it says Disabled ) and hit


    enter image description here

share|improve this answer
Awesome! Thanks for giving me an idea for the name of the shortcut. I couldn't figure out how to call it. –  janoChen Feb 22 '11 at 18:08

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.