https://bugs.kde.org/show_bug.cgi?id=474866
            Bug ID: 474866
           Summary: Warning about kservices5 is not helpful
    Classification: Plasma
           Product: krunner
           Version: 5.27.8
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: kmcwilliampub...@gmail.com
                CC: alexander.loh...@gmx.de, natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY
***
When starting krunner from the terminal to debug an issue, I noticed this
warning output:

kf.runner: KRunner D-Bus plugin "vscode_runner" installs the .desktop file
("krunner/dbusplugins/plasma-runner-vscode_runner.desktop") still in the
kservices5 folder. Please install it to
${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins.

However there doesn't seem to be any info about this variable:
KDE_INSTALL_DATAROOTDIR. It isn't an env var, and Google / bugs.kde.org / KDE
Invent all turn up zilch about it.
***


STEPS TO REPRODUCE
1. Install a plugin that uses the (presumably) depreciated install location,
for example: https://github.com/Merrit/vscode-runner/releases/tag/v1.3.0
2. Run krunner from the terminal

OBSERVED RESULT

Supremely unhelpful message about it using an old install location.

EXPECTED RESULT

A helpful message, or at least documentation somewhere on this variable.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 38 / Plasma 5.27.8
KDE Plasma Version: 5.27.8
KDE Frameworks Version:  5.109.0
Qt Version: 5.15.10


ADDITIONAL INFORMATION

Looking at the current template readme:
https://invent.kde.org/frameworks/krunner/-/blob/b98f238545dd4b488d6e7cbd96113f44844bb75d/templates/runner6python/README.md

It says to install to ~/.local/share/krunner/dbusplugins/ , so I presume it
means that KDE_INSTALL_DATAROOTDIR should likely be ~/.local/share/ , but again
this doesn't seem documented anywhere, nor did it seem to turn up in code
search.

¯\_(ツ)_/¯

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

Reply via email to