Bug 476897 - The name org.kde.spectacle was not provided by any .service files
Summary: The name org.kde.spectacle was not provided by any .service files
Status: RESOLVED NOT A BUG
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: git-master
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-11-12 21:06 UTC by WeathrdKde
Modified: 2023-11-15 19:20 UTC (History)
3 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 WeathrdKde 2023-11-12 21:06:33 UTC
SUMMARY:
If you try to launch spectacle via a shortcut or it's desktop application under Plasma 6, You'll get this error.


STEPS TO REPRODUCE
1. Latest git-master of plasma 6

OBSERVED RESULT
If you try to activate spectacle's service using `systemctl start --user app-org.kde.spectacle.service`, This issue would get fixed temporarily, but if you close spectacle, you'll have to run the command again for it to work.

EXPECTED RESULT
Spectacle should work out of the box with it's shortcuts working as intended without having to run `systemctl start --user app-org.kde.spectacle.service` each time I want to open it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.5.9-zen2-1-zen
KDE Plasma Version:  6.0
Qt Version: 6.6.0-2
Comment 1 Prajna Sariputra 2023-11-13 00:06:14 UTC
It seems that Spectacle's D-Bus service name has changed from org.kde.Spectacle to org.kde.spectacle, with a difference in case.

This should not be a problem once Plasma 6 is properly released and packaged by distros, and for a dev setup you can either run the `~/kde/build/plasma-workspace/login-sessions/install-sessions.sh` script (if you've done this already it needs to be rerun if new D-Bus stuff is added) or copy the `~/kde/usr/share/dbus-1/services/org.kde.spectacle.service` file to the `~/.local/share/dbus-1/services` folder if you want to avoid messing with system files.
Comment 2 Nate Graham 2023-11-15 19:20:52 UTC
Excellent find, Prajna. You're absolutely right.