https://bugs.kde.org/show_bug.cgi?id=482969

            Bug ID: 482969
           Summary: kglobalaccel does not provide a DBus service file,
                    causing kwin to be unable to start it
    Classification: Frameworks and Libraries
           Product: frameworks-kglobalaccel
           Version: 6.0.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: dkk...@gmail.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to