How to set super key win key like shortcut for kde menu or other kubuntu launcher ONLY PLASMA5.8


Hello now that i am going to ONLY PLASMA5.8  series i am updating some articles and here it is you wanna just press the silly WIN key and get the kde menu on the screen ?!!

here it is STEP 1

kate ~/.config/kwinrc

now add this shit 😀

[ModifierOnlyShortuts]
Meta=org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu
Shift=
Alt=
Control=

CLOSE KWIN BEFORE OR IT WILL DELETE THE KWINRC FILE !

some interesting thing you could just link shift withfor example

 qdbus  org.kde.krunner /App display

STEP 2 RESTART KWIN

just do in launcher (ALT F2 )

kwin_x11 –replace

desktop console on plasma shell


the new command for plasma shell:

qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveConsole

the old command for plasma desktop :

qdbus org.kde.plasma-desktop /MainApplication showInteractiveConsole

/opt/project-neon5/share/plasma/shells/org.kde.plasma.desktop/contents/layout.js

and of course API ARE BROKEN …. HERE THERE IS AN EXAMPLE …. -.-‘

    var panel = new Panel
    panel.screen = 0
    panel.location = 'bottom'
     
    var kickoff = panel.addWidget("org.kde.plasma.kickoff")
    kickoff.currentConfigGroup = ["Shortcuts"]
    kickoff.writeConfig("global", "Alt+F1")
     
    panel.addWidget("org.kde.plasma.pager")
    panel.addWidget("org.kde.plasma.taskmanager")
    panel.addWidget("org.kde.plasma.systemtray")
    panel.addWidget("org.kde.plasma.digitalclock")
     
    for (var i = 0; i < screenCount; ++i) {
        var id = createActivity("sticaz");
        var desktopsArray = desktopsForActivity(id);
        print(desktopsArray.length);
        for( var j = 0; j < desktopsArray.length; j++) {
            desktopsArray[j].wallpaperPlugin = 'org.kde.image';
            //var clock = desktopsArray[j].addWidget("org.kde.plasma.analogclock");
        }
    }