I have a question much like this one: keyboard shortcut to switch to next window

I'm looking for a shortcut that allows me to cycle through the windows that are currently open. The reason why Alt+TAB does not work for me is that I'm trying to use gestures on my touchpad (they map to shortcuts/keystrokes). So I need to be able to have a gesture that always goes to the "next" window, or else I'm stuck cycling between the most recent two.

Does such a shortcut exist?

Thanks :)

EDIT: I'm currently using fusuma (https://github.com/iberianpig/fusuma), which itself uses xdotool


Not entirely sure whether I understood your question correct, but the key combination to switch to the next window is Alt+Tab+. Perhaps you can bind your gesture to that key combination. (Previous window is Alt+Tab+).

| improve this answer | |
  • Yes, when I reread what I wrote I also wasn't sure if anyone would understand what excactly I mean. So basically I would like to have a circular queue of open windows. Then one gesture should go to the next window in that queue, and another to the previous window. The problem is, that by hitting alt tab, the ordering of the windows changes. So hitting alt tab again switches back to the prevously focused window. Using the keyboard this is not a problem, because I can just keep my finger on Alt, and cycle through by repeatedly hitting Tab. But with the gestures I don't know how to do this. – Tschösi Feb 4 at 8:20
  • I don't think Alt needs to kept pressed. E.g: I see window1. Alt+tab+rightArrow shows window2. Release buttons. Alt+tab+rightArrow shows window3. Release buttons. Alt+tab+rightArrow shows window1. – Bart Feb 7 at 15:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.