From e36de310cbdc60434dd15efbb52e18266a566a28 Mon Sep 17 00:00:00 2001 From: Henri Chain Date: Wed, 21 Oct 2020 10:20:56 +0000 Subject: D-Bus activation systemd service Correctly scopes dolphin in systemd service `app-org.kde.dolphin.service` when dbus-activated (while still working if systemd is not present), as per https://systemd.io/DESKTOP_ENVIRONMENTS/ uses new ECM modules: - https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/5 to simplify the systemd service templating + install - https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/17 to generate the dbus service file automatically needs https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/25 --- plasma-dolphin.service.in | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plasma-dolphin.service.in (limited to 'plasma-dolphin.service.in') diff --git a/plasma-dolphin.service.in b/plasma-dolphin.service.in new file mode 100644 index 000000000..d4cdd694b --- /dev/null +++ b/plasma-dolphin.service.in @@ -0,0 +1,8 @@ +[Unit] +Description=Dolphin file manager +PartOf=graphical-session.target + +[Service] +ExecStart=@KDE_INSTALL_FULL_BINDIR@/dolphin --daemon +BusName=org.freedesktop.FileManager1 +Slice=background.slice -- cgit v1.3.1