# Task Switcher

&Martin.Graesslin;&Martin.Graesslin.mail;
2023-01-30
&plasma; 5.27
KDE System Settings desktop window navigation switch alt-tab

## Navigating through Windows

The Task Switcher allows the user to easily switch between currently open windows using the keyboard. It is highly configurable, and allows the user to control its behavior, visual appearance, keyboard shortcuts, and window filtering.

Screenshot of the default Task Switcher

The Task Switcher is often invoked using the key combination &Alt; , but this can be changed. When invoked, it shows a list of all the currently open windows, optionally filtered and augmented according to the configuration settings. For example, the list may be filtered to show only windows that meet certain criteria, such as windows that are currently visible. Once the window list is shown, the user can cycle forward and backward through all the listed windows by repeatedly hitting the Task Switcher key combination. Releasing the Task Switcher key combination will activate the window that was selected in the list.

Because the Task Switcher offers so many configuration options, two distinct collections of configuration settings can be defined. These collections are called Main and Alternative, and each can have a unique set of key combinations assigned to them.

The configuration options for each of the Main and Alternative collections are presented in four groupings, as follows:

### Visualization

This group of configuration options controls how the list of windows is displayed on the screen. The default visualization is called Breeze. It lists all open windows along the left-hand side of the screen. Other visualizations include Cover Switch (a 3D carousel), Flip Switch (a 3D stack of cards), and Medium Rounded (a Microsoft &Windows;-style list of icons). Many more visualizations can be downloaded and installed by clicking the Get New Task Switchers... button at the bottom right of the dialog box.

Once a visualization has been selected from the drop-down list, the button to the right of the list can be clicked to see a preview or to configure visualization-specific options.

The Show selected window checkbox determines how clearly the user will see which window will be activated. If this box is checked, then all windows will be hidden except for the one that is currently highlighted in the Task Switcher.

There may be cases where the desired Task Switcher visualization cannot be shown. One of these situations can be when a process called 'compositing' is turned off or disabled. If this ever happens, the window list will still be shown, but in a very simple format.

### Shortcuts

This section allows you to define up to four Task Switcher keyboard shortcuts for the Main configuration and four more for the Alternative configuration. The Main shortcuts are predefined, while the Alternative shortcuts need to be defined manually.

In the All Windows section, the Forward and Reverse shortcuts will cycle forward and backward through the list of open windows.

In the Current Application section, the Forward and Reverse shortcuts can be set to cycle through the windows of the currently active application. For example, if you have three &dolphin; file browser windows open, then you would be able to use these shortcuts to just cycle among the three &dolphin; windows.

To change a keyboard shortcut, click the Forward or Reverse button and type the desired shortcut combination. Be sure to use a modifier key like &Ctrl; or &Alt; as part of the shortcut, otherwise you might not be able to cycle through the window list properly.

Any of the defined keyboard shortcuts can be used to invoke the Task Switcher. To invoke the Task Switcher without using the keyboard, you can define screen edge actions in the &systemsettings; module Screen Edges.

### Content

The options in this section partially control which windows will appear in the Task Switcher list.

The Sort Order drop-down list specifies whether the windows should be listed in Stacking Order or Recently Used order. Stacking Order is the order in which the windows appear on top of each other on the screen, while Recently Used order is the order in which the windows have been used. Recently Used order makes it very easy to switch between the two most frequently used windows because they will always appear in the top 2 positions in the list.

The Include "Show Desktop" icon option will add a Show Desktop option to the window list. This allows the user to easily select the Desktop as the 'window' to show.

The Only one window per application option reduces clutter by only showing one window for each open application. If an application has multiple windows open, then its most recently activated window will be shown in the list and the others will not be shown.

The Order minimized windows after unminimized windows option will show you all unminimized windows first, even if they are less recent or further at the bottom than some of the minimized windows.

### Filter Windows By

This section contains options for additionally filtering the Task Switcher's list of windows.

The Virtual Desktops option filters the list of windows according to which virtual desktop is currently active. If you consistently put specific windows on specific virtual desktops, then this filtering option can make it easy to switch to windows within or across those virtual desktops. Select Current desktop to only show windows on the current virtual desktop. Select All other desktops to show only the windows on the virtual desktops that are not currently active.

The Activities option filters the list of windows according to which Activity is currently active. As with Virtual Desktop filtering, this option can make it easier to switch to applications within or across all Activities. Select Current activity to only show windows that are part of the current Activity. Select All other activities to only show windows that are part of the Activities that are not currently active.

The Screens option filters the list of windows according to which display screen is currently active. Select Current screen to only show windows that are on the display that currently has the mouse pointer on it. Select All other screens to show the windows that are on all other displays. This option can be useful to users who want to quickly switch between windows that are on the same monitor in a multi-monitor setup.

The active screen is the one that the mouse pointer is currently on, not the screen that the currently active window is on.

The Minimization option filters the list of windows according to whether they are hidden or not. Select Visible windows to only show windows that have not been minimized. Select Hidden windows to only show the minimized windows.

If you uncheck an option in this section, then no filtering will be applied for that option. For example, if you check the Screens option and clear the other three options, then the Task Switcher window list will only be filtered according to which windows are on the current display.

All of the options described in the above sections work together to provide very fine-grained control of the Task Switcher's behavior and appearance. For example, you could define the Main settings collection to be invoked with the &Alt; key combination, to show the open windows in a carousel, to only show one window per application, and to only list windows that are on the current desktop and on the currently active screen. This can provide very fast context-sensitive window switching if you have both 'work' and 'home' virtual desktops, and then keep all of your spreadsheets for work and home on the same monitor.

The availability of the Alternative Task Switcher configuration gives you a second way to easily filter and browse through the window lists. With eight key combinations available across the two Task Switcher configurations, it should be possible to easily and quickly navigate through large numbers of windows.