Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .