Bug 469666

Summary: kinfo attempts to invoke kcmshell6 on Plasma 5
Product: [Applications] kinfocenter Reporter: Trent M <twilightinzero>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: sitter
Priority: NOR    
Version First Reported In: 5.27.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Trent M 2023-05-12 14:48:02 UTC
SUMMARY
Attempting to invoke the new kinfo utility mentioned in Nate's blog simply fails instantly with the following error:
`/usr/bin/kinfo: 6: exec: kcmshell6: not found`

STEPS TO REPRODUCE
1. open a terminal
2. kinfo

OBSERVED RESULT
/usr/bin/kinfo: 6: exec: kcmshell6: not found

EXPECTED RESULT
an output of my system information

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.19.0-41
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Well, it's just an itty bitty shell script, and here's the entire thing:

    #!/bin/sh
    # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
    # SPDX-FileCopyrightText: 2023 Harald Sitter <sitter@kde.org>
    
    export QT_LOGGING_RULES="*=false"
    exec kcmshell6 kcm_about-distro --args dump --platform offscreen

...Gee, I wonder where the problem is. ;P

If I change kcmshell6 to kcmshell5, it works.
Comment 1 Harald Sitter 2023-05-12 16:49:08 UTC
:|
Comment 3 Trent M 2023-05-12 18:35:05 UTC
Oh, nice! The fix is already in the pipe. Okay, thank you!