I'm interested in a command to switch to the next/previous application window in Ubuntu 16.04. I know I can do that through Alt+Tab ↹, but I want to know which command is run on the background when the combination is pressed.
One interesting behavior that would be useful (but not necessary) is that this command would not only raise the next application in the Alt+Tab ↹ list, but also raise each window of the same application each time it is invoked, if one application happens to have more than one window open.
Any help on this is appreciated. Thanks!