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.
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
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