Skip to content

Commit

Permalink
fix(linux): don't show plasmashell process in x11
Browse files Browse the repository at this point in the history
X11 sessions seem to be showing plasmashell
processes for each monitor and virtual desktop.
  • Loading branch information
Merrit committed Oct 2, 2024
1 parent b763409 commit c30f7f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/native_platform/src/linux/linux.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ class Linux implements NativePlatform {
if (window != null) windows.add(window);
}

// Remove any instances of plasmashell, which is the KDE desktop.
// It appears to show up on X11 sessions, for each monitor and virtual desktop.
windows.removeWhere((window) => window.process.executable == 'plasmashell');

return windows;
}

Expand Down

0 comments on commit c30f7f5

Please sign in to comment.