Is there a better way to hide Power/Session Buttons in Kickoff?

Ive been looking for a way to remove the power/session buttons from kickoff launcher as i dont like having them there and use the lock/logout for it.

Ive modified the ConfigGeneral.qml for the kickoff plasmoid but am not sure exactly how badly hacky this is but it works adding this as a config option below “id: allActionsButton”

QQC2.RadioButton {
            id: noActionsButton
            text: i18n("Hide Power and Session Buttons")
            QQC2.ButtonGroup.group: radioGroup
            property string actions: " "
            property int index: 4
            checked: Plasmoid.configuration.primaryActions === index
        }

Im not familiar with qml and just made a guess based on the rest of the file. Id rather not use plasmoids that i havent edited myself or the KDE team hasnt done and really only want to hide the power/session buttons.

Is there a better way to handle this in the qml files for the plasmoid or should this be ok for a quick and dirty way to hide the buttons??

Hi Echoa

You do not say which menu you use. I use the Applications menu and remove anything I want. You might try that.

Vektor

1 Like

Application Menu is the best alternative

i like the favorites bar where i can keep handy the things i regularly use, but don’t want pinned to the taskbar (like logout, restart and shutdown).

Kickoff is application launcher and i am specifically modifying the qml for it

I appreciate the suggestion but kickoff plasmoid is that launcher :slightly_smiling_face: