Unplugging an HDMI cable from an office monitor or projector, waking your Ubuntu laptop at home, and clicking your browser or email icon in the dock — only to see the orange active dot light up while the window itself stays nowhere in sight — means Ubuntu left that window parked on a phantom second monitor space off the edge of your screen. You do not need to force-quit the app and risk losing unsaved work; a couple of keyboard shortcuts snap lost windows straight back into view immediately.
Shortcut 1: Drag Any Off-Screen Window Back With Alt + Space (Works Everywhere)
Even when you cannot reach the top title bar with your mouse, Ubuntu’s hidden window menu lets your keyboard grab and pull the invisible window onto your laptop display:
- Click the app’s icon in the Ubuntu Dock (or press Alt + Tab / Super + Tab) to make sure that missing window is the active selected app.
- Press Alt + Space on your keyboard. Even if you cannot see the popup menu clearly (or see just a tiny menu edge clinging to the side of your screen), the window menu opens.
- Press the M key (or tap the Down arrow once or twice to highlight Move and press Enter).
- Now tap your Left or Right Arrow key once cleanly, and then move your mouse pointer smoothly across the middle of your screen — the lost window immediately locks onto your cursor and glides straight onto your laptop screen.
- Click once to drop it cleanly in place.
Shortcut 2: Snap It Instantly With Super + Up or Super + Left/Right
Ubuntu’s built-in GNOME tiling shortcuts force any off-screen window immediately onto your primary laptop screen in one keypress:
- Select the missing app with Alt + Tab.
- Hold the Super (Windows) key and press the Up arrow to maximise it straight onto your active display — or press Super + Left / Right arrow to snap it neatly onto half of your screen.
Stop Phantom Second Displays Holding Windows Hostage
If windows repeatedly wander off the edge right after unplugging HDMI or DisplayPort cables, verify Ubuntu dropped the ghost monitor properly: open Settings > Displays, confirm only your active laptop screen appears (or switch back to Single Display temporarily so GNOME collapses orphaned desktop spaces), and review our guide on managing multi-monitor edge behaviour in Ubuntu for cleaner dual-screen docking.