/ chandeskpro / run-wayland.sh
swadhinbiswas Initial release v0.1.0 · 1/16/2026
ed7a4e4
14 lines · 339 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# Fix for running Tauri on KDE Plasma Wayland
# Your terminal doesn't have the Wayland environment variables

# Set Wayland display (usually wayland-0 on KDE)
export WAYLAND_DISPLAY=wayland-0

# Also set XDG runtime dir if not set
export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/run/user/$(id -u)}

# Run the app
npm run tauri:dev