SUMMARY I can't open showInteractiveKWinConsole (nor it's non-KWin sibling) STEPS TO REPRODUCE 1. qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveConsole OBSERVED RESULT Nothing. Nothing related in `journalctl -b` and command "succeeds" (exit code 0), so I don't now how to debug this. EXPECTED RESULT Console opens, or at least an error is logged in journal. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 20.04 focal KDE Plasma Version: 4:5.21.2-0xneon+20.04+focal+build23 KDE Frameworks Version: 5.79.0-0xneon+20.04+focal+build23 Qt Version: 5.15.2+dfsg-0xneon+20.04+focal+build23 ADDITIONAL INFORMATION Last it worked for sure was before update Neon 18.04->20.04. It may have worked after too, not sure.
Oh, last it worked, it was with the old name: qdbus org.kde.plasma-desktop /App local.PlasmaApp.showInteractiveKWinConsole
I can confirm this one too. Too make sure that I did not make a typo on the command, I used qdbusviewer. Both showInteractiveConsole and showInteractiveKwinConsole don't work on KDE Neon 5.21.2.
I have the same issue with Plasma 5.21.5. According to the KWin Scripting Tutorial (https://develop.kde.org/docs/plasma/kwin/) there are two ways to open the console. First enter 'wm console' in Krunner, which does nothing, and entering that command in a terminal results in a 'wm: command not found' error, and via dbus with 'qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveKWinConsole' in a terminal, which gives no output at all. Reporter stated in comment #1 that he got it working by using an older command 'qdbus org.kde.plasma-desktop /App local.PlasmaApp.showInteractiveKWinConsole', but that gives me an error of 'Service 'org.kde.plasma-desktop' does not exist.'
The docs are now up to date
Then this bug is still valid. The docs say now to enter "qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveKWinConsole" in the console which, again, does nothing and displays no output.
This is fixed for me with today's Plasma 5.22 on focal-based KDE Neon testing Package: kwin-x11 Version: 4:5.22.0+p20.04+tstable+git20210608.0107-0 This command works again: qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveKWinConsole (And the old /App is still broken as expected, what I meant in comment#1 was that maybe the path change was the cause of the breakage. Sorry for the confusing wording)
I can confirm it's fixed in Plasma 5.22, also entering 'wm console' in Krunner works as well.