Bug 469666 - kinfo attempts to invoke kcmshell6 on Plasma 5
Summary: kinfo attempts to invoke kcmshell6 on Plasma 5
Status: RESOLVED FIXED
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.27.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-12 14:48 UTC by Trent M
Modified: 2023-05-12 18:35 UTC (History)
1 user (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 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!