Keep selected application windows visible as live, always-on-top previews and switch between them in one click or with a global shortcut.
Window Switcher is a cross-platform desktop application for multibox, multi-client, monitoring, and other workflows where several application windows must remain easy to see and activate. It works alongside the target applications and does not modify or inject code into them.
Inspired by EVE-O Preview, Window Switcher extends the floating-preview approach to broader use cases and to both Windows and Linux.
The images in this README are generated from the HTML/CSS interface mock-up in docs/mock-up; see Interface mock-up.
- Features
- Platform support
- Installation
- Quick start
- User guide
- Linux setup
- Configuration and data
- Privacy and error reporting
- Troubleshooting
- Build from source
- Contributing
- Packaging
- Interface mock-up
- Demo videos
- Live, always-on-top previews for selected windows, with a legible title label
- Click-to-focus from a preview or from the main list, and optional focus-on-hover behavior
- Main window list with the process name of each window and the active window highlighted
- Global shortcuts for a specific client, the next or previous client, or the active client
- Case-insensitive title filters for choosing which windows appear
- Persistent and temporary blacklists
- Window renaming from the main list or a preview, with the original title kept for restoring it
- Bring preview here to recover a preview lost off screen or behind other windows
- Per-window preview position and size persistence
- Fixed or individually resizable previews; previews without a saved position open side by side
- Option to hide every preview and switch only from the main list or with keybinds
- One settings window (General, Previews, Filters, Keybinds, About) with confirmed resets
- Configurable movement, startup behavior, and active-window highlight color
- Native Wayland window listing and activation on KDE Plasma
- Wayland capture selections remembered across restarts
- Runtime, operating-system, dependency, preview-mode, and update diagnostics
- Local rolling log files for troubleshooting
- Native Windows and Linux implementations—no code injection into monitored applications
| Platform | Window discovery and control | Preview technology | Global shortcuts | Status |
|---|---|---|---|---|
| Windows | Native Windows APIs | DWM thumbnails | Low-level keyboard hook | Supported |
| Linux on X11 | Native EWMH | XComposite/XDamage | evdev + uinput; permissions required |
Supported |
| Linux on Wayland (KDE Plasma) | Native EWMH for XWayland windows; KWin scripts for native Wayland windows | PipeWire through the XDG ScreenCast portal | evdev + uinput; permissions required |
Supported |
| Linux on Wayland (other desktops) | Native EWMH; XWayland windows only | PipeWire through the XDG ScreenCast portal | evdev + uinput; permissions required |
Partially supported |
| macOS | — | — | — | Not implemented |
- Outside KDE Plasma, native Wayland windows cannot be discovered or switched. Applications running through XWayland, including many Wine/Proton games, can be used.
- On KDE Plasma, native Wayland windows are listed and activated through KWin scripts but cannot be renamed.
- Fullscreen applications are not supported.
- Linux global shortcuts are optional and remain unavailable until the user can read
/dev/input/event*and write to/dev/uinputor/dev/input/uinput. - Wayland preview capture shows a desktop portal selection prompt the first time a window is previewed. Pick the window that matches the preview: the portal cannot target a window on its own. The selection is remembered across restarts while the window title stays the same and no other window of the same application shares that title.
- Linux previews use the same 20 FPS target for every window. The active-window highlight does not change capture cadence.
The application still runs when optional preview or keyboard dependencies are unavailable. Open Settings > About to see the active preview mode and dependency status.
Window Switcher is GPL-3.0 software. Released builds are published on GitHub Releases, and the application can always be built from source.
| Operating system | Recommended route |
|---|---|
| Windows | Download the installer from GitHub Releases, or build from source. |
| Linux | Install the Linux dependencies, then download the AppImage from GitHub Releases or build from source. The AppImage supports delta updates through AppImageUpdate. |
Important
Released builds and source builds include Sentry by default, without a runtime opt-out. To produce a build without Sentry or any Sentry network traffic, use the compile-time opt-out.
After installing or building the application:
- Start the applications or game clients that you want to manage.
- Launch Window Switcher.
- Open
Settings > Filtersand add part of a window title under Shown windows. For example,World of Warcraftdisplays every window whose title contains that text. - Add unwanted full window titles under Hidden windows, if needed.
- Click a floating preview to bring its original window to the foreground.
- Optionally open
Settings > Keybindsand assign shortcuts to built-in actions or individual clients. - Use the General and Previews pages of
Settingsto adjust preview dragging, sizing, hover focus, startup behavior, and highlight color.
The main window refreshes its matching-window list automatically. Each row shows the window title and its process name; a translucent background in the highlight color marks the window whose preview is highlighted as active. Click a row to activate its window, as with a click on its preview. When no window matches the filters, the main window says so and offers a link to Settings > Filters. Preview windows are created and removed as matching applications open and close.
Window Switcher uses window titles to decide what appears:
- Shown windows (whitelist): a window appears when its title contains at least one configured value. Matching is case-insensitive.
- Hidden windows (blacklist): a window is excluded when its complete title matches a configured value. Matching is case-insensitive.
- Temporary blacklist: a window is hidden by its current window ID until Window Switcher is restarted.
Open Settings > Filters to manage the persistent lists. Use the ✕ button next to an entry to remove it.
Right-click a window in the main list and choose Bring preview here to move its preview next to the main window and above other windows, showing it even when Hide active preview had hidden it; this is how to find a preview that went off screen or behind other windows.
You can also right-click a window in the main list or its preview to:
- add its title to the blacklist;
- add it to the temporary blacklist; or
- rename the original window.
The rename dialog also shows the title the window had before its first rename, with Restore original to put it back; this original title is saved with the preview settings. Renaming is especially useful when several clients initially share the same title. It also gives each client a stable, recognizable preview and keybind target.
- Turn on Drag previews (
General) to move previews with the mouse. - Turn on Focus on hover (
General) to activate a client by moving the pointer over its preview. - Under Size (
Previews), choose Per preview to keep an individual size for each preview, optionally resizable by dragging its edges, or Fixed to use one width and height for every preview. - Turn off Show floating previews (
Previews) to hide every preview window and switch windows only from the main list or with keybinds. - Turn on Live content (
Previews) to show live content inside floating windows. - Turn on Hide active preview (
Previews) to hide the preview of the window you just activated through Window Switcher; it comes back when another window is activated. Switching windows outside Window Switcher (Alt+Tab, taskbar) does not bring it back. - Choose Highlight color (
Previews) to change the preview labels, the active-preview outline, and the active row of the main window. The rest of the interface keeps its own accent color.
Each preview shows its window title in the top-left corner, on a translucent dark background so it stays readable over any content.
A preview without a saved position opens next to the others, filling the top-left corner of the primary screen row by row, instead of on top of the previous one. Position and size are saved per window key and restored on a later launch. Use Reset layout… under Settings > General > Reset to clear saved preview layouts without resetting every preference.
The highlight follows the client activated through a preview or global keybind, making the currently active target easy to identify.
On Wayland, use Reset all previews under Settings > Previews > Screen capture if you need to discard existing portal capture selections and choose them again. This section is shown only when the active preview provider supports selection reset. Selections saved in the configuration file are removed as well.
Open Settings > Keybinds. Each target has one row with its shortcuts: choose + on the row, press the keys, then Save. Use the ✕ on a shortcut to remove it.
Built-in targets are:
| Target | Behavior |
|---|---|
Next client |
Cycles forward through windows currently selected by the filters. |
Previous client |
Cycles backward through the selected windows. |
Focus active client |
Brings the client currently tracked as active back to the foreground. |
You can also bind shortcuts directly to an individual client. Running windows are offered as client targets, while saved targets remain available when their window is not currently open.
The keybind editor rejects duplicate shortcuts on one target and conflicts between different targets. On Linux, it also displays setup guidance when input-device permissions are missing.
| Page | Setting | Purpose |
|---|---|---|
| General | Start minimized |
Starts the main window hidden in the system tray. |
| General | Drag previews |
Allows floating previews to be dragged. |
| General | Focus on hover |
Focuses a client when the pointer enters its preview. |
| General | Reset layout… |
Removes saved preview positions and sizes, after confirmation, and moves the open previews back to the default layout. |
| General | Reset settings… |
Restores the default configuration, including filters, keybinds, the preview layout, and screen capture selections, after confirmation. |
| Previews | Show floating previews |
Shows a floating preview window for each tracked window; when off, windows are switched from the main list or with keybinds. |
| Previews | Live content |
Enables live content in floating preview windows. |
| Previews | Hide active preview |
Hides the preview of the window activated through Window Switcher until another window is activated. |
| Previews | Per preview |
Keeps an individual size for each preview; Resize previews by dragging their edges allows changing it. |
| Previews | Fixed |
Applies one width and height, from 10 to 2000 pixels, to all previews. |
| Previews | Highlight color |
Sets the color of the preview labels, the active-preview outline, and the active row of the main window. |
| Previews | Reset all previews |
Resets supported capture selections, primarily on Wayland. |
Settings are persisted as they change.
| Menu | Command | Purpose |
|---|---|---|
Settings |
Open the settings window (General, Previews, Filters, Keybinds, About) on the last page used. The About page shows diagnostics, version information, and updates. | |
File |
Open logs folder |
Open the directory containing the application log files. |
File |
Open config folder |
Open the directory containing config.json. |
Open Settings > About to view:
- the application version and update status;
- an update action when a newer release is available;
- the operating system, .NET runtime, and process architecture;
- the active Avalonia UI backend;
- the exact configuration-file path;
- the active preview mode; and
- Linux dependency status.
On Linux, the capability diagnostic distinguishes the detected session, the selected preview
backend, and its availability. For Wayland it reports separately whether the system PipeWire
runtime (libpipewire-0.3.so.0) or the bundled Window Switcher adapter
(libwindowswitcher-pipewire.so) is missing. Diagnostics never cause an X11/Wayland backend
fallback.
Source and directly distributed builds use the GitHub release updater. Builds labelled for Microsoft Store report that updates are managed by the store instead.
Window Switcher supports Linux on x86-64 systems through the linux-x64 runtime. Linux ARM64 is not supported.
Window discovery, focus, and renaming use the X11 EWMH protocol directly. Wayland previews also require PipeWire and an XDG Desktop Portal ScreenCast backend suitable for the desktop environment.
| Distribution | Wayland preview runtime |
|---|---|
| Debian / Ubuntu | sudo apt install libpipewire-0.3-0 xdg-desktop-portal |
| Arch Linux | sudo pacman -S pipewire xdg-desktop-portal |
| Fedora | sudo dnf install pipewire-libs xdg-desktop-portal |
Package names and portal backends vary by distribution and desktop environment. KDE commonly uses xdg-desktop-portal-kde, while GNOME commonly uses xdg-desktop-portal-gnome in addition to the base portal package.
On Wayland, EWMH can enumerate only XWayland windows. On KDE Plasma, native Wayland windows are listed and activated by loading a small script into KWin over D-Bus (org.kde.KWin /Scripting); no extra package or permission is needed. KDE Plasma is detected when XDG_CURRENT_DESKTOP contains KDE, and the script files are written to $XDG_RUNTIME_DIR/window-switcher/ while KWin runs them. Other desktops do not offer an equivalent interface, and installing more portal packages does not enable native Wayland window discovery there.
PipeWire previews attempt to import DMA-BUF frames directly into EGL for zero-copy GPU rendering.
This path requires Avalonia to start with its EGL/X11 renderer and a compatible EGL driver. Set
EGL_PLATFORM=x11 in the launcher or development run configuration before starting the
process. Window Switcher does not restart itself or create a child process to apply this setting.
If EGL or DMA-BUF import is unavailable, the application remains usable and automatically falls back to CPU-backed preview frames. This fallback affects the transfer path, not the uniform 20 FPS target.
Building from source on Linux additionally requires:
- .NET SDK 10;
- a C compiler with C17 support;
pkg-config; and- PipeWire development headers.
Typical development-header packages are libpipewire-0.3-dev on Debian/Ubuntu, pipewire on Arch Linux, and pipewire-devel on Fedora. The native PipeWire capture adapter is built with the application and included in published and AppImage outputs.
For global shortcuts, Window Switcher must be able to:
- read the keyboard devices under
/dev/input/event*; and - write forwarded events to
/dev/uinputor/dev/input/uinput.
The in-app keybind screen recommends the following command on distributions that use the input group:
sudo usermod -aG input "$USER"Sign out and back in after changing group membership, then restart Window Switcher. Some distributions require custom udev rules instead. The uinput kernel module must also be loaded and the device node must be writable.
These permissions grant access to low-level input devices. Review your distribution's security guidance before enabling them. Previews and click-to-focus continue to work without global-keyboard access.
The Linux listener reads evdev events and forwards them through uinput, allowing matching shortcuts to be intercepted without swallowing unrelated keyboard input. Modifier keys are always forwarded immediately; only the primary key of a matched shortcut is intercepted, so holding Alt or Meta for a shortcut may still be seen by the desktop as a standalone modifier tap.
Preferences are stored in config.json inside the application data directory:
| Platform | Default path |
|---|---|
| Windows | %APPDATA%\WindowSwitcher\config.json |
| Linux | ~/.config/WindowSwitcher/config.json in a typical desktop session |
Use File > Open config folder to open the exact directory for the current system.
The file contains:
- preview and UI preferences;
- whitelist and blacklist entries;
- saved preview positions and sizes;
- global keybind targets and shortcuts;
- saved Wayland capture selections (portal restore tokens, keyed by window title and process name);
- an anonymous telemetry installation ID; and
- an optional Sentry DSN override for custom builds.
Prefer the in-app controls for routine changes. If you edit config.json manually, close Window Switcher first and keep a backup. When the configuration is invalid or unreadable, it is renamed to config.json.unreadable-<timestamp> in the same folder and defaults are used so that the application can start. If the file cannot be renamed, it is left untouched and changes are not saved until the next launch.
Window Switcher uses Sentry for unhandled-exception reporting and one low-frequency startup metric. Sentry is enabled at compile time by default; builds that include it do not provide a runtime switch to disable it. A Sentry network failure does not prevent the application from running.
The emitted startup metric is:
window_switcher.app_started
Sentry events may contain the following limited runtime metadata:
- anonymous installation ID, used as Sentry
User.Idand astelemetry_installation_idon the startup metric; - telemetry schema version;
- operating system, process architecture, and session type;
- build channel, distribution channel, and package kind;
- application version and preview mode;
- a sanitized capture source for unhandled exceptions; and
- breadcrumbs listing the application log messages that preceded a crash. A breadcrumb contains only the message template (for example
PipeWire portal request timed out), the emitting component, the level, and the exception type, never the logged values.
Handled errors are never sent to Sentry as events; they are only written to the local log described below.
Window Switcher does not intentionally send:
- window titles or process names from the user's session;
- local file paths;
- whitelist or blacklist contents;
- global keybind definitions;
- screenshots or window previews;
- shell commands; or
- hostnames, usernames, email addresses, or machine-derived identifiers.
The SentryDsn value in config.json can redirect events for a custom build, but it is not an opt-out. Builds compiled without Sentry ignore this setting entirely.
Window Switcher writes a rolling log file on the local machine. It is never uploaded; attach it to an issue yourself when reporting a problem. Use File > Open logs folder to open the log folder (File > Open config opens the folder that contains config.json).
| Platform | Folder |
|---|---|
| Linux | $XDG_STATE_HOME/WindowSwitcher/logs/ (defaults to ~/.local/state/WindowSwitcher/logs/) |
| Windows | %LOCALAPPDATA%\WindowSwitcher\logs\ |
A new file window-switcher-<yyyyMMdd>.log is started every day or when it reaches 10 MB, and only the 7 most recent files are kept. Identical messages are written at most once every 30 seconds. Logs contain the application version, platform details, component errors with their stack traces, window or process identifiers, and device paths; they do not contain window titles or keystrokes.
Use the option that matches the build entry point:
# Direct MSBuild / dotnet
dotnet build Window-Switcher.slnx -p:EnableSentryTelemetry=false# Make
make build SENTRY_TELEMETRY=false
# Packaging build
./build/build.sh --target AppImage --enable-sentry-telemetry falseOn Windows, the equivalent packaging option is:
./build/build.cmd --target Installer --enable-sentry-telemetry false- Confirm that at least one non-empty entry exists under
Settings > Filters > Shown windows. - Check that the window title contains that entry and is not an exact blacklist match.
- On Linux, confirm that the desktop window manager exposes the EWMH
_NET_CLIENT_LISTproperty and that the target is an X11 or XWayland window. - On Wayland outside KDE Plasma, confirm that the target application is using XWayland. Native Wayland windows are only discoverable on KDE Plasma.
- On KDE Plasma, open
Settings > Aboutand check that thewindow-controlline under Dependency status includesKWin script. If it does not, confirm thatXDG_CURRENT_DESKTOPcontainsKDEin the environment that launches Window Switcher. If it does, openFile > Open logsand look forKWin window watcher started; KWin script warnings in the log explain why the watcher could not start (for example,XDG_RUNTIME_DIRnot set).
- Confirm that Show floating previews and Live content are turned on.
- Fullscreen applications are not supported; try windowed or borderless-windowed mode.
- On X11, confirm that compositing and the XComposite/XDamage extensions are available.
- On Wayland, install PipeWire and the appropriate XDG Desktop Portal backend, then accept the portal selection prompt.
- Open
Settings > Aboutand review Preview mode and Dependency status. - On Wayland, try Reset all previews under
Settings > Previewsand select the capture source again.
- Open
Settings > Keybindsand follow the permission banner. - Confirm read access to
/dev/input/event*and write access to/dev/uinput. - Confirm that the
uinputkernel module is loaded. - Sign out and back in after adding the user to the
inputgroup.
Use Reset layout… under Settings > General to remove saved preview positions and sizes, then arrange the previews again.
Use Reset settings… under Settings > General. This restores default settings, filters, saved layouts, and keybind definitions.
When reporting a reproducible problem, include the application version and the non-sensitive diagnostic information shown under Settings > About. Do not post config.json publicly without reviewing it first.
Prerequisites:
- Git
- .NET SDK 10
- the Linux build dependencies, when building on Linux
Clone and run:
git clone https://github.com/SebastienDuruz/Window-Switcher.git
cd Window-Switcher
dotnet restore Window-Switcher.slnx
dotnet run --project src/WindowSwitcher/WindowSwitcher.csprojOn Linux, launch with EGL selected before process startup to enable the PipeWire DMA-BUF zero-copy path:
EGL_PLATFORM=x11 dotnet run --project src/WindowSwitcher/WindowSwitcher.csprojFor Rider, add EGL_PLATFORM=x11 to the Environment variables field of the WindowSwitcher
Run/Debug configuration. The application uses a normal single-process startup and does not alter
the IDE diagnostics or debugger environment.
The standard source build includes Sentry. Add -p:EnableSentryTelemetry=false to the dotnet restore, build, or run command when a Sentry-free build is required.
Window-Switcher/
├── src/WindowSwitcher/ Avalonia desktop UI
├── src/WindowSwitcher.Lib/ Platform and application services
├── src/WindowSwitcher.Tests/ Unit and integration tests
├── build/ C# packaging build project
├── docs/mock-up/ HTML/CSS mock-up of every screen
├── docs/readme/ README images generated from the mock-up
├── docs/reviews/ Code reviews
├── scripts/ Documentation tooling
├── Directory.Build.props Shared version and build properties
├── Makefile Common development commands
└── Window-Switcher.slnx .NET solution
The application targets net10.0 and uses Avalonia with CommunityToolkit.Mvvm. Operating-system interactions are isolated in WindowSwitcher.Lib; the UI and ViewModels must remain platform-agnostic.
Run commands from the repository root:
| Make command | Direct .NET equivalent | Purpose |
|---|---|---|
make restore |
dotnet restore Window-Switcher.slnx + dotnet tool restore |
Restore packages and local tools. |
make build |
dotnet build Window-Switcher.slnx |
Build the solution. |
make run |
dotnet run --project src/WindowSwitcher/WindowSwitcher.csproj |
Run the desktop application. |
make test |
dotnet test src/WindowSwitcher.Tests/WindowSwitcher.Tests.csproj |
Run all tests. |
make test-no-build |
dotnet test src/WindowSwitcher.Tests/WindowSwitcher.Tests.csproj --no-build |
Run tests without rebuilding. |
make clean |
dotnet clean Window-Switcher.slnx |
Clean build outputs. |
make format |
dotnet csharpier format . |
Format the repository. |
make format-check |
dotnet csharpier check . |
Check formatting without changing files. |
make mockup-svg |
python3 scripts/export-mockup-svg.py |
Regenerate the README images from the mock-up. |
make appimage |
./build/build.sh --target AppImage |
Build the AppImage on Linux. |
make installer |
./build/build.sh --target Installer |
Build the Windows installer (requires makensis). |
make artifacts |
./build/build.sh --target Artifacts |
Build every artifact the current host supports. |
The application version is defined once as WindowSwitcherVersion in Directory.Build.props.
Contributions are welcome. Read CONTRIBUTING.md before opening an issue or a pull request.
The release artifacts are produced by a small C# console project in build/ (_build.csproj), started through build/build.sh on Linux and build/build.cmd on Windows. It has no build framework dependency: each target runs its dependencies first, then itself. A Linux host builds both the AppImage and the Windows installer; a Windows host builds the installer only, because the AppImage needs a Linux toolchain (PipeWire native library, appimagetool). Targets the current host cannot build are skipped.
| Target | Host | Output |
|---|---|---|
Restore |
Windows or Linux | Restored project dependencies |
Compile |
Windows or Linux | Compiled application |
Installer |
Windows or Linux | build/artifacts/installer/WindowSwitcher-setup-<version>-<x86_64|arm64>.exe |
AppImage |
Linux | build/artifacts/appimage/WindowSwitcher-<version>-x86_64.AppImage and matching .AppImage.zsync |
Artifacts |
Windows or Linux | Installer and, on Linux, AppImage (default target) |
# Windows installer
./build/build.cmd --target Installer
# Windows Store-labelled compile
./build/build.cmd --target Compile --distribution-channel windows_store --package-kind store# Linux AppImage
./build/build.sh --target AppImage
# Windows installer, built from Linux
./build/build.sh --target Installer
# AppImage and Windows installer
./build/build.sh --target Artifacts
# List targets and options
./build/build.sh --helpCommonly used options:
--version <x.y.z>overridesWindowSwitcherVersionfor one build.--enable-sentry-telemetry falseexcludes Sentry.--self-contained falsepublishes a framework-dependent build that requires the .NET 10 runtime on the target machine. Packaged builds are self-contained by default, and the AppImage target rejects framework-dependent output.
Run ./build/build.sh --help (or ./build/build.cmd --help on Windows) for the complete, up-to-date list, including the build configuration, target runtimes, output and publish folders, build labels, and explicit tool paths.
The installer target uses makensis from PATH. On Windows it falls back to the restored NSIS NuGet package; on Linux, install the distribution nsis package (the NuGet package is not restored on non-Windows hosts). When the Windows installer is built on Linux, the Linux-only PipeWire native library is excluded from the Windows publish output. The AppImage target downloads the current tool from the AppImage/appimagetool release stream to build/artifacts/tools/; use --app-image-tool-path only to select an explicit tool. This modern tool embeds the current Type 2 AppImage runtime and GitHub Releases update information for AppImageUpdate-compatible delta updates.
Publish both the versioned .AppImage and its matching .AppImage.zsync as GitHub Release assets. The embedded gh-releases-zsync feed resolves the latest stable release using the WindowSwitcher-*-x86_64.AppImage.zsync asset pattern.
Build-labelled windows_store packages use store-managed updates instead of the GitHub release updater. Packaging resources live under build/assets/installer/ and build/assets/packaging/linux/; generated artifacts remain under build/artifacts/.
docs/mock-up/index.html is an HTML/CSS mock-up of every screen. It is kept in sync with the application and is the starting point for any interface change: update the mock-up first, then the code.
GitHub does not render CSS in a README, so the images above are SVG files that embed parts of the mock-up. Regenerate them after changing the mock-up:
make mockup-svgThe script measures each image in a headless Chromium-based browser (Chromium, Chrome, Brave or Edge; set MOCKUP_BROWSER to pick one). Without one, run it with --measure-page, open the page it writes in any browser, save the JSON shown at the bottom, and pass that file with --heights.
- Five World of Warcraft clients on Arch Linux KDE Wayland (v0.8.0)
- Three World of Warcraft clients on Arch Linux KDE Wayland (v0.7.0)
- EVE Online, World of Warcraft, and Project Gorgon clients (v0.4.0)
Window Switcher is licensed under the GNU General Public License v3.0.
If the project is useful to you, you can support its continued development by buying the maintainer a coffee.
