2

How can I configure shortcut to switch to next window? I use Ubuntu 18.04 with GNOME. I know that I can press Alt + Tab, but pressing It again returns me to previous window instead of next.

Holding Alt and pressing Tab more times, or using arrows is not suitable for me as I want to use this shortcut with xdotool.

Maybe there is some way to prevent windows reordering when I use Alt + Tab in order to not return to previous window?

  • 1
    That behavior is obvious. Whenever you switch windows the current window becomes Window 1 and the window you switched from becomes Window 2. When again you hit Alt+Tab it switches to Window 2 which was the window you were on earlier. So you are back to the previous window. Sounds a little bit confusing. :-) – Kulfy Aug 18 '18 at 20:06
  • @Kulfy I agree, but If I have more windows then two, I want to switch each time to new window, how can I achieve this without holding alt? – Hemul Aug 18 '18 at 20:11
  • Alt+ Esc would get your job done. Just have a try. – Kulfy Aug 18 '18 at 20:37
2

Alt + Tab will switch you through a menu.

Alt + Esc will switch you directly through windows.

Home key will bring up a menu to select different windows with your arrow keys or with Tab and Shift + Tab.

Using Shift in combination with any combination will reverse your selector's direction.

Alt + Esc is probably your best option. Using xdotool will only remove the solution farther from the problem in most situations that directly interact with the desktop manager via short cuts.

| improve this answer | |

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.