Files
DroidDeck/tools/linuxfs/desktop/autostart
T
The412Banner 07dadb13f3 Desktop: clear last session's single-instance state, run under a session bus, stage the launcher from the app
The desktop came up with a wallpaper and nothing on it the second time. The
runtime directory outlives a session, and lxqt-panel and pcmanfm-qt are
single-instance programs that leave a lock and a socket there; finding last
session's, they decided they were already running and exited without a word.
The launcher now clears everything but the compositor's own socket, runs labwc
under dbus-run-session so the panel's menus and the file manager have the bus
they expect, and logs what the panel and the file manager say. The launcher
and labwc's defaults are staged by the app over the desktop package's copies,
so a fix here no longer costs a 426 MB re-download.
2026-09-20 04:16:07 -04:00

7 lines
407 B
Plaintext

# What the desktop is made of, started once labwc is up. Everything logs into the session log.
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] /' &
/usr/lib/xdg-desktop-portal-wlr >/dev/null 2>&1 &