Thursday, May 2, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 1087  / 3 Years ago, mon, july 5, 2021, 6:37:44

In Ubuntu, if I am running multiple windows of the same application and I want to chose one of them using Alt+tab, I can't instantaneously do it. The default behavior is to press Alt+tab, then wait on the grouped application icon, and finally the grouped windows will appear from which I can choose (a window).



Instead of grouping windows, can I change the default behavior to show all opened windows of the same application using Alt+tab?


More From » shortcut-keys

 Answers
4

To obtain the exact behavior in the question, do one of the following.



Using a GUI Application




  1. Install dconf-editor

  2. Open dconf-editor

  3. Find: org/gnome/desktop/wm/keybindings

    Screenshot to find keybindings




    1. Remove default behavior: Alt+Tab



      Instructions

      Find: switch-applications

      Change: Use default value = false

      Change: ['<Super>Tab', '<Alt>Tab'] to ['<Super>Tab']

      screenshot remove default behavior alt+tab


    2. Remove default behavior: Shift+Alt+Tab



      Instructions

      Find: switch-applications-backward

      Change: Use default value = false

      Change: ['<Shift><Super>Tab', '<Shift><Alt>Tab'] to ['<Shift><Super>Tab']

      screenshot remove default behavior shift+alt+tab


    3. Set new behavior: Alt+Tab



      Instructions

      Find: switch-windows

      Use default value = false

      '' to ['<Alt>Tab']

      screenshot set new alt+tab behavior


    4. Set new behavior: Shift+Alt+Tab



      Instructions

      Find: switch-windows-backward

      Use default value = false

      '' to ['<Shift><Alt>Tab']
      enter image description here



  4. If you want switch-windows to work across workspaces, not just in the current workspace, you can also uncheck org/gnome/shell/window-switcher/current-workspace-only


  5. Close dconf-editor

  6. Older versions Gnome: (unnecessary in Ubuntu 18.04), You may also need to restart Gnome shell. To do this, first save any work and close all applications. Finally, press Alt+F2, then type r to restart Gnome.



Using shell



First, list existing settings, in case you want to revert. This does nothing other than list values.



gsettings get org.gnome.desktop.wm.keybindings switch-applications  
gsettings get org.gnome.desktop.wm.keybindings switch-applications-backward
gsettings get org.gnome.desktop.wm.keybindings switch-windows
gsettings get org.gnome.desktop.wm.keybindings switch-windows-backward


Change to new behavior



gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab']"

[#31316] Monday, July 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
njuash

Total Points: 402
Total Questions: 125
Total Answers: 98

Location: Jersey
Member since Sun, Dec 4, 2022
1 Year ago
njuash questions
Wed, Jun 8, 22, 11:53, 2 Years ago
Wed, Nov 30, 22, 11:42, 1 Year ago
Mon, May 30, 22, 04:33, 2 Years ago
Mon, Apr 10, 23, 03:40, 1 Year ago
;