Is there a way to enable Presentation Mode in KDE Plasma via terminal or a script?

running KDE Plasma 6 & Wayland

I would like to enable the Presentation Mode from a bash script just as I can do it via the Display Configuration by clicking on a radio button/toggle.

Using

qdbus org.freedesktop.PowerManagement.Inhibit /org/freedesktop/PowerManagement/Inhibit Inhibit string:“Inhibit” string:“User requested”

doesn’t seem to work

I can probably do it by changing powerdevilrc and kscreenlockerrc and then calling org.kde.Solid.PowerManagement.reparseConfiguration and org.freedesktop.ScreenSaver ScreenSaver configure but it doesn’t seem “clean” and doesn’t change the position of the Presentation Mode toggle in the Display Configuration

Thank you for your help!

This looks like a mixture of a qdbus call and a dbus-send call.
With the former you usually don’t specify the argument type, the string: here.

The call is missing the interface name as well.

It should probably be something like

qdbus org.freedesktop.PowerManagement.Inhibit  /org/freedesktop/PowerManagement/Inhibit org.freedesktop.PowerManagement.Inhibit.Inhibit "Application Name" "Reason"

qdbus org.freedesktop.PowerManagement.Inhibit /org/freedesktop/PowerManagement/Inhibit org.freedesktop.PowerManagement.Inhibit.Inhibit “Application Name” “Reason” doesn’t work either, that is exactly how I called it, the example in my original post was something I just copy/pasted from someone else’s similar question on Redit