mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-26 00:06:02 +00:00
Desktop: give pcmanfm-qt's desktop the wallpaper, and a debug marker that logs window mapping
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.
This commit is contained in:
1 parent
07dadb13f3
commit
f10919d4be
2 files changed
+22
-4
No files matched your search
@@ -1,6 +1,16 @@
|
||||
# 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.
|
||||
pcmanfm-qt --desktop --profile lxqt 2>&1 | sed 's/^/[pcmanfm-qt] /' &
|
||||
lxqt-panel 2>&1 | sed 's/^/[lxqt-panel] /' &
|
||||
run pcmanfm-qt pcmanfm-qt --desktop --profile lxqt
|
||||
run lxqt-panel lxqt-panel
|
||||
/usr/lib/xdg-desktop-portal-wlr >/dev/null 2>&1 &
|
||||
Reference in new issue
Block a user