Skip to main content

Desktop and KDE Plasma Troubleshooting

When launching games, emulators, and third-party launchers, you may occasionally encounter window management issues, such as a game launching in windowed mode, taskbars covering game graphics, or windows spawning partially off-screen. This guide provides shortcuts and desktop settings to resolve these issues.


Symptoms on This Page​

What are you seeing?Jump to Solution
Game opens in a window instead of expanding to fullscreen1. Game Fails to Enter Fullscreen
Emulator or media app fails to enter fullscreen1. Game Fails to Enter Fullscreen
Game window title bar is off-screen or unclickable2. Window Is Off-Screen or Partially Cut Off
Taskbar remains visible over a fullscreen game3. Taskbar Overlaps Fullscreen Games
Mouse cursor escapes game window or stops responding4. Mouse Cursor Escapes Window or Loses Focus
Game UI or text looks blurry, or display mode is broken5. Virtual Display Resolution and Scaling Issues
Game is frozen, unresponsive, or desktop stalls6. Recovering from Stuck Games and Desktop Stalls
Quick lookup of KDE Plasma shortcuts and hotkeys7. Useful KDE Plasma Shortcuts Reference

1. Game Fails to Enter Fullscreen​

Many Windows games running through Proton or Wine default to windowed mode upon their first launch, or their game engines fail to negotiate fullscreen state with XWayland and the virtual display output automatically. Multi-window launcher wrappers can also steal focus before the main game window renders.

What you see​

  • Game opens in a small centred window or windowed frame with a visible title bar.
  • The desktop background or other windows remain visible behind the game.
  • Native Linux applications or emulators fail to expand when using DirectX hotkeys.
Step-by-step resolution

Universal Fullscreen Toggle (Alt+Enter):

The fastest and most reliable fix is to send the universal fullscreen toggle shortcut:

Alt + Enter

Pressing Alt+Enter instructs the game engine (including Unreal Engine, Unity, and custom DirectX or Vulkan renderers) to switch immediately between windowed and exclusive or borderless fullscreen mode.

Sending Alt+Enter in Browser Streaming

When streaming through the browser portal, ensure your browser is in fullscreen mode (press F11 or click Fullscreen in the Session Controls drawer). This engages the browser's Keyboard Lock API so that system hotkeys like Alt+Enter and Alt+Tab route straight into the remote desktop instead of triggering local browser actions. In Moonlight, keyboard shortcuts are passed through to the remote session by default.

Alternative Application Shortcuts:

  • F11: Commonly used by native Linux applications, web browsers (such as Firefox or Chromium), and emulators (such as RetroArch, Dolphin, and PCSX2).
  • Alt+F3: Opens the KDE KWin Window Operations menu. From here, browse to More Actions -> Fullscreen to force KWin to treat the active window as fullscreen regardless of what the game requested.

Permanent Fix: KWin Window Rules:

If a specific game repeatedly opens in windowed mode every time you start it, you can configure KWin to force it into fullscreen mode automatically:

  1. Open KDE System Settings from the Kickoff application launcher (or press the Super key and type settings).
  2. In the left sidebar, browse to Window Management -> Window Rules.
  3. Click Add New... to create a rule.
  4. Set the Description (for example, Force Fullscreen for Game).
  5. Click Detect Window Properties and click on your running game window, or enter the window class manually.
  6. Click Add Property... at the bottom, select Fullscreen, and add it.
  7. Change the dropdown setting to Apply Initially (or Force), and toggle the switch to Yes.
  8. Click Save and then Apply.

2. Window Is Off-Screen or Partially Cut Off​

Windows may spawn with their title bars outside visible display bounds if a launcher launches in a secondary position or previous display resolution coordinates were cached.

What you see​

  • Game or launcher title bar is situated above or outside the top or side edges of the stream.
  • Window controls (close, minimise, maximise) cannot be clicked with the mouse.
  • Window content appears cropped or shifted partially off-screen.
Step-by-step resolution
  1. Click anywhere on the visible part of the application window to give it focus.
  2. Hold down the Alt key on your keyboard.
  3. Left-click and drag anywhere inside the window body to reposition it onto the screen.
  4. Alternatively, press Alt+F3, select More Actions, and choose Maximise to snap the window to the current display bounds.

3. Taskbar Overlaps Fullscreen Games​

In borderless windowed mode, the KDE Plasma panel (taskbar) may stay on top of the game window if the application does not set the Wayland fullscreen hint or if the game resolution does not match the virtual display output.

What you see​

  • The KDE Plasma panel remains visible along the bottom or top of your stream over game graphics.
  • Game renders as a floating window above the desktop rather than occupying the full display area.
Step-by-step resolution
  1. Toggle exclusive fullscreen: Press Alt+Enter to instruct the game engine to engage true fullscreen.
  2. Verify display resolution: In the game's graphics settings, ensure the in-game resolution matches the container's virtual display resolution (for example, 1920x1080). If set lower, the window floats above the desktop.
  3. Configure panel auto-hide:
    • Right-click an empty area of the KDE Plasma panel.
    • Choose Enter Edit Mode.
    • Click More Options.
    • Select Dodge Windows or Auto Hide.

4. Mouse Cursor Escapes Window or Loses Focus​

Input capture can be lost when switching windows, encountering multi-process game launchers, or streaming through browser windows without pointer lock engaged.

What you see​

  • The mouse cursor drifts outside the game window during gameplay.
  • Mouse clicks trigger desktop actions or browser UI instead of in-game controls.
  • First-person camera rotation stops responding or snaps abruptly.
How to confirm this issue

Check whether the streaming client has active pointer lock:

  • In the browser portal, check if the browser prompt indicates pointer lock is active, or if clicking inside the stream hides the operating system cursor.
  • In Moonlight, press Ctrl+Alt+Shift+Z to toggle mouse pointer capture.
Step-by-step resolution
  1. Browser streaming:
    • Click inside the game window to re-engage pointer lock.
    • Press F11 or click Fullscreen in the Session Controls drawer to engage complete keyboard and mouse lock.
    • Ensure you are not holding local modifier keys that cause the host browser to release focus.
  2. Moonlight streaming:
    • Press Ctrl+Alt+Shift+Z to toggle pointer lock explicitly.
    • In Moonlight settings, verify Capture system keyboard shortcuts is enabled.
  3. Multi-window launchers:
    • Press Alt+Tab to cycle focus to the primary game renderer process rather than the launcher wrapper.

5. Virtual Display Resolution and Scaling Issues​

Steam Headless creates a virtual output in memory matching your configured resolution and refresh rate without requiring a physical monitor or dummy HDMI plug. Display resolution mismatches or corrupted mode caches can lead to blurry graphics or desktop rendering failures.

What you see​

  • Game UI, HUD elements, or text appear blurry or improperly scaled.
  • Video stream resolution does not match your client monitor.
  • The desktop fails to draw correctly or outputs an invalid mode after changing settings in KDE Display Configuration.
How to confirm this issue

Check the active KWin output configuration inside the container:

docker exec steam-headless-a cat /home/steamheadless/.config/kwinoutputconfig.json

Check the container environment's configured display parameters:

docker exec steam-headless-a env | grep -E "INITIAL_DISPLAY|CAPTURE"
Step-by-step resolution

Matching In-Game Resolution to Virtual Display:

For optimal visual clarity and streaming performance:

  1. Check your stream capture resolution in the Configure Stream drawer panel or your container's Compose environment.
  2. Inside your game's video or graphics options, set the display resolution to match your virtual output (typically 1920x1080).
  3. Set the display mode to Fullscreen or Borderless Windowed.

Fix Blurry Text in Proton and XWayland Games:

Steam Proton games and older Linux titles run through XWayland. If game text or interface elements appear unusually blurry or incorrectly scaled:

  1. Open KDE System Settings.
  2. Browse to Display & Monitor -> Display Configuration.
  3. Under Legacy Applications (X11), choose Apply scaling themselves instead of letting the compositor scale them.
  4. Click Apply.

Reset an Unsupported or Broken Display Mode:

KDE saves the display mode you choose in ~/.config/kwinoutputconfig.json inside the persistent desktop home. If the saved resolution or refresh rate is unsupported, the desktop fails to draw correctly, or you can no longer reach Display Configuration, remove that saved selection and restart the container. Steam Headless then applies the INITIAL_DISPLAY_* options again.

Restart Ends the Current Session

Restarting the container disconnects browser and Moonlight clients and stops running games. Save your work first if the desktop is still usable.

  1. On the Docker host, replace steam-headless-a below with your container name.

  2. Remove the complete saved display configuration. This is the recommended recovery method:

    docker exec steam-headless-a rm -f /home/steamheadless/.config/kwinoutputconfig.json
  3. Restart the container:

    docker restart steam-headless-a
  4. Reconnect after the container finishes starting. KDE will use the INITIAL_DISPLAY_* options from your container environment.

If you want to keep any display entries for physical outputs while removing only the Steam Headless virtual display selection, use this targeted alternative instead of deleting the whole file. It removes the Virtual-0 entry that KDE updates through Display Configuration:

docker exec steam-headless-a sh -c '
set -eu
config=/home/steamheadless/.config/kwinoutputconfig.json
temporary="$(mktemp "${config}.XXXXXX")"
jq '\''map(if .name == "outputs" then .data |= map(select(.connectorName != "Virtual-0")) else . end)'\'' "$config" > "$temporary"
chown --reference="$config" "$temporary"
chmod --reference="$config" "$temporary"
mv "$temporary" "$config"
'
docker restart steam-headless-a

Do not remove only the width, height, or refreshRate fields. Remove the complete Virtual-0 entry, then restart the container, so the initial display variables can be selected as one valid mode.


6. Recovering from Stuck Games and Desktop Stalls​

Demanding games or Proton compatibility prefixes can occasionally hang during scene transitions, shader compilation, or process termination, leaving the window frozen on screen.

What you see​

  • Game stops responding to keyboard, mouse, and gamepad input.
  • Video stream displays a frozen game frame or black screen.
  • Steam reports the game is still running and refuses to restart it.
How to confirm this issue

Check for unresponsive processes or CPU and GPU stalls:

# Check running processes inside the container
docker exec steam-headless-a top -b -n 1

Alternatively, open the web management interface at https://<CONTAINER_IP>:8483, browse to the Dashboard, and view the Processes list.

Step-by-step resolution

Option 1: KDE System Activity (Ctrl+Esc):

  1. Press Ctrl+Esc to open the KDE System Activity window.
  2. Locate the unresponsive game process in the list.
  3. Select the process and click Kill Process.

Option 2: The Web Dashboard:

  1. Open the web interface at https://<CONTAINER_IP>:8483.
  2. Open the Dashboard and view the Processes list.
  3. Locate the stuck application and terminate it directly from your browser without opening a desktop terminal.

Option 3: Restart the Container:

If the whole desktop stops drawing new frames, save through the game first if that is still possible, then restart the container from Docker or your server's container manager. Restarting KWin by itself tears down the desktop and its screen-capture connection, so it is not offered as a safe in-app action.

docker restart steam-headless-a

7. Useful KDE Plasma Shortcuts Reference​

When managing a remote desktop session through the web portal or Moonlight, these built-in KDE Plasma keyboard shortcuts let you manage windows and recover from layout issues without needing to reach for the host console:

ShortcutActionDescription
Alt+EnterToggle FullscreenSwitches the active game between windowed and fullscreen mode.
F11Toggle Fullscreen (Apps)Fullscreen shortcut used by emulators, media players, and browsers.
Alt+TabSwitch WindowsCycles between active windows and running games.
Super (Windows key)Open KickoffOpens the KDE application launcher to start apps or search settings.
Alt+F3Window OperationsOpens the window menu (Maximise, Minimise, Fullscreen, Move, Resize).
Alt+F4Close WindowSends a clean close request to the active application.
Alt + Left Click & DragMove Window AnywhereDrags a window by clicking anywhere on its surface (ideal if title bar is hidden).
Alt + Right Click & DragResize Window AnywhereResizes a window from anywhere on its surface.
Ctrl+EscSystem ActivityOpens the lightweight KDE process manager to inspect or kill stuck tasks.
Keyboard Capture Requirement

Remember that when using the browser streaming portal, your client operating system and browser will intercept hotkeys like Alt+Tab or Super unless you have entered browser fullscreen mode. Review the Session Controls documentation for full details on the Keyboard Lock API and reserved escape chords.