MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / desktop_start_cmd

Function desktop_start_cmd

Scripts/Developer Base/Mobile Desktop.py:794–801  ·  view source on GitHub ↗
(desktop: str)

Source from the content-addressed store, hash-verified

792 save_config(cfg)
793
794def desktop_start_cmd(desktop: str) -> str:
795 if desktop == "xfce":
796 return "dbus-launch --exit-with-session startxfce4"
797 if desktop == "lxde":
798 return "dbus-launch --exit-with-session startlxde"
799 if desktop == "openbox":
800 return "dbus-launch --exit-with-session openbox-session"
801 return "dbus-launch --exit-with-session fluxbox"
802
803def apply_xstartup(distro: str, desktop: str) -> None:
804 start_cmd = desktop_start_cmd(desktop)

Callers 2

apply_xstartupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected