mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
The desktop came up black with the panel alive but unseen. pcmanfm-qt's desktop surface, unconfigured, paints solid black over swaybg's wallpaper; it now gets the wallpaper. With ~/.steamdeck-desktop-debug present, labwc logs at debug level and the panel and file manager log their shell, layer and output protocol traffic, capped, so where a window went can be read off the session log.
17 lines
882 B
Plaintext
17 lines
882 B
Plaintext
# What the desktop is made of, started once labwc is up. Everything logs into the session log.
|
|
# With ~/.steamdeck-desktop-debug present, the panel and the file manager also log what they
|
|
# say to the compositor about their windows (shell, layer, output), capped so it stays readable.
|
|
run() {
|
|
local tag=$1; shift
|
|
if [ -f "$HOME/.steamdeck-desktop-debug" ]; then
|
|
WAYLAND_DEBUG=1 "$@" 2>&1 | awk -v t="[$tag]" 'c<120 && /layer_s|xdg_toplevel|xdg_surface@[0-9]+\.(set_|get_)|fullscreen|wl_output|xdg_output|rror|WARN|configure\(/ {print t, $0; c++}' &
|
|
else
|
|
"$@" 2>&1 | sed "s/^/[$tag] /" &
|
|
fi
|
|
}
|
|
swaybg -m fill -i /usr/share/backgrounds/steamdeck.png &
|
|
# Desktop icons (pcmanfm-qt manages the desktop surface) and the panel with the app menu.
|
|
run pcmanfm-qt pcmanfm-qt --desktop --profile lxqt
|
|
run lxqt-panel lxqt-panel
|
|
/usr/lib/xdg-desktop-portal-wlr >/dev/null 2>&1 &
|