| Summary: | kglobalaccel does not provide a DBus service file, causing kwin to be unable to start it | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kglobalaccel | Reporter: | Daniel Kamil Kozar <dkk089> |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This is intentional. In the past there were problems where kglobalaccel would start even if not desired because of DBus activation. If you want to use it on LXQt you need to manually make sure it's started, e.g. by adding it to autostart |
Since the Plasma 6 upgrade in Arch Linux, KWin has been unable to start kglobalaccel on my LXQt-based system, which leads to global shortcuts like Alt-Tab or Alt-F4 not working. I traced this to a DBus service file missing from the installation. The error message from KWin is : kwin_x11[783]: Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable") KWin also starts the KScreen backend launcher which does provide a DBus file in its installation - see https://invent.kde.org/plasma/libkscreen/-/blob/master/src/backendlauncher/CMakeLists.txt . This file is picked up by Arch packaging and installed into /usr/share/dbus-1/services/ , which makes the service "activatable" and thus KWin is able to run it. Manually creating /usr/share/dbus-1/services/org.kde.kglobalaccel.service with the following content : [D-BUS Service] Name=org.kde.kglobalaccel Exec=/usr/lib/kglobalacceld SystemdService=plasma-kglobalaccel.service Makes the issue go away.