Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would really like to switch between applications faster. Using Alt + Tab doesn't do the job for me. Is there a way I can utilize the function keys on the keyboard?

For example if I had terminal, Eclipse and Chrome open, I would really like if I can assign keys like F1, F2 and F3 respectively.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The only way I can currently think of is:

  • Getting a good hotkey editor (I think Ubuntu has this built in)
  • Write small scripts that will be run by each command. For instance set F1 in the hotkey program to run the f1.sh script. The f1.sh script would request focus from a window with the name specified. For example (I haven't tested this, using something like wmctrl):

    wmctrl -a google-chrome
    

    Alternatively, you could even just tell your hotkey program to execute the command directly instead of writing it to a file.

share|improve this answer

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.