Alt+Tab to Switch Windows Only on Current Workspace in GNOME Shell (2023)

Here is how to force GNOME Shell to switch between active apps only on the current workspace when pressing the Alt+Tab shortcut.

By default in Gnome Alt+Tab switches windows onallworkspaces. If you prefer to have many workspaces with few windows on each, this behavior does not work well. Maybe you want to switch windows on the active workspace only.

Whengooglingfor theAlt Tab Workspaceextension is the top result. The code onGitHubturns out that the following command does the trick:

(Video) Ubuntu: Force alt + tab to switch only on current workspace in GNOME shell (7 Solutions!!)

gsettings set org.gnome.shell.window-switcher current-workspace-only truegsettings set org.gnome.shell.app-switcher current-workspace-only true

To erase it, go back to default settings:

dconf reset /org/gnome/shell/window-switcher/current-workspace-onlydconf reset /org/gnome/shell/app-switcher/current-workspace-only

Switching the Windows Only on Current Workspace in GNOME Shell

Another fast and easy solution, without any installations/extensions, is to use Dconf Editor.

Dconf Editor is a tool for viewing and editing a GNOME application’s internal settings. In addition, it enables the editing of options that are not visible in the interface of some applications.

(Video) GNOME 3.36: Alt-Tab per Wokspace - Workflow Tip

However, be aware that It’s a powerful tool that, if misused, can break some applications, and you should only use it with that in mind.

1. Install dconf-editor (already installed on current Debian/Ubuntu distributions):

sudo apt install dconf-editor

2. Open dconf-editor(from the Dash or a Terminal)

(Video) How to switch between applications in current workspace only in gnome-shell? (2 Solutions!!)

3. Navigate to: org -> gnome -> shell -> app-switcher

4. Set current-workspace-only to On by toggling the switch.

That’s it. When switching between windows in GNOME, you will only see the windows that are in use on your current workspace.

Related: Restrict Alt+Tab to the Current Monitor in GNOME Shell

I hope this quick and short guide has been helpful to you.

(Video) Force Alt+Tab show only active desktop apps in gnome-shell (4 Solutions!!)

Alt+Tab to Switch Windows Only on Current Workspace in GNOME Shell (2)
Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Videos

1. 10+ GNOME Tips & Tricks that make your life easier!
(Planet Linux)
2. Top 10 MUST HAVE Gnome 40 Extensions
(TechHut)
3. My top 3 must-have GNOME extensions
(Linux Tex)
4. Ubuntu: Gnome Shell task switcher and Wine applications: only generic icon displayed
(Roel Van de Paar)
5. How to prevent Gnome-shell's Alt+Tab from grouping windows from similar apps?
(Peter Schneider)
6. Workspaces in XFCE
(Better Living with Linux)
Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated: 16/07/2023

Views: 6061

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.