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.
This commit is contained in:
The412Banner committed 2026-09-20 04:16:07 -04:00
1 parent 3ea82f6447
commit 07dadb13f3
5 files changed
+73 -2

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!-- labwc for a handheld: a plain theme, large enough to hit with a finger, and the keybinds a
desktop expects. Refreshed from here every session. -->
<labwc_config>
<core><gap>0</gap><reuseOutputMode>yes</reuseOutputMode></core>
<theme>
<name>Clearlooks</name>
<cornerRadius>6</cornerRadius>
<font place="ActiveWindow"><name>DejaVu Sans</name><size>11</size></font>
</theme>
<placement><policy>center</policy></placement>
<windowSwitcher><osd show="yes" preview="yes"/></windowSwitcher>
<keyboard>
<keybind key="A-Tab"><action name="NextWindow"/></keybind>
<keybind key="A-F4"><action name="Close"/></keybind>
<keybind key="W-Return"><action name="Execute"><command>qterminal</command></action></keybind>
<keybind key="W-e"><action name="Execute"><command>pcmanfm-qt</command></action></keybind>
<keybind key="W-d"><action name="ToggleMaximize"/></keybind>
</keyboard>
<mouse><doubleClickTime>500</doubleClickTime></mouse>
</labwc_config>