Skip to main content

One post tagged with "desktop-environment"

View All Tags

KDE Plasma 🌌🎆

· One min read
Mister Teddy
Creator & Maintainer of Polar Bear

We're excited to announce that our experiments with KDE Plasma have yielded positive results, both the X11 session via XWayland and the Wayland session.

KDE Plasma on Local Desktop

How to

Please visit this document for detailed instructions. In simpler terms, just add the following configuration to your localdesktop.toml file:

/etc/localdesktop/localdesktop.toml
[command]
try_check = "pacman -Qg plasma"
try_install = "stdbuf -oL pacman -Syu plasma --noconfirm --noprogressbar"
# X11 session via Xwayland
try_launch = "XDG_RUNTIME_DIR=/tmp Xwayland -hidpi :1 2>&1 & while [ ! -e /tmp/.X11-unix/X1 ]; do sleep 0.1; done; XDG_SESSION_TYPE=x11 DISPLAY=:1 dbus-launch startplasma-x11 2>&1"
# Wayland session
try_launch = "XDG_RUNTIME_DIR=/tmp WAYLAND_DISPLAY=wayland-0 /usr/lib/plasma-dbus-run-session-if-needed startplasma-wayland 2>&1"

The outcome has been so promising that we're considering setting KDE Plasma as the default desktop environment in Local Desktop. This aligns with our long-term goal: replacing XWayland with a native Wayland session for better performance. We'd love to hear your thoughts on our GitHub repository, and toss us a ⭐️ to help keep us motivated to improve KDE Plasma compatibility!