Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to be able to do

Ctrl + S, Alt + Tab and F5

while only pressing Alt+Shift+S

share|improve this question
add comment

1 Answer

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

    Alt+Shift+S.

    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
add comment

Your Answer

 
discard

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.