Bug 434109 - Not starting via systemd
Summary: Not starting via systemd
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.79.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-07 14:25 UTC by whitearchey
Modified: 2021-03-09 08:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whitearchey 2021-03-07 14:25:27 UTC
SUMMARY

Systemd user service not starting due to absent dbus service file

STEPS TO REPRODUCE
1. kwriteconfig5 --file startkderc --group General --key systemdBoot true
2. Relogin


OBSERVED RESULT
systemctl --user status plasma-kglobalaccel.service 
● plasma-kglobalaccel.service - KDE Global Shortcuts Server
     Loaded: loaded (/usr/lib/systemd/user/plasma-kglobalaccel.service; static)
     Active: inactive (dead)


EXPECTED RESULT

● plasma-kglobalaccel.service - KDE Global Shortcuts Server
     Loaded: loaded (/usr/lib/systemd/user/plasma-kglobalaccel.service; static)
     Active: active (running) since Sun 2021-03-07 21:42:45 +08; 41min ago

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 David Edmundson 2021-03-07 18:52:17 UTC
> service not starting due to absent dbus service file

Please elaborate.

We ship a DBus service file.

It should look like this:

/usr/share/dbus-1/services/org.kde.kglobalaccel.service

[D-BUS Service]
Name=org.kde.kglobalaccel
Exec=/home/opt/kde5/bin/kglobalaccel5
SystemdService=plasma-kglobalaccel.service
Comment 2 whitearchey 2021-03-09 08:03:11 UTC
Looks like some files were not installed. It's a problem in my system. Sorry for inconvenience