FG
💻 Software

Bring an open window to the current desktop in Linux

Fresh7 days ago
Mar 15, 20261855 views
Confidence Score0%
0%

Problem

Let's say I have a program open on another virtual desktop. Is there a way I can bring that program to the current desktop through a script? The following command is the closest I can get: This will switch to the desktop where the program is open and make it the foremost window. However, instead of…

Error Output

wmctrl -a program

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bring an open window to the current desktop in Linux

Low Risk

Turns out the switch works fine when using Metacity (the default window manager for GNOME) but not so much when using Compiz (the default window manager nowadays for Ubuntu I believe). You can check this out yourself by switching to Metacity using (…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment