Disable confirmation dialogue for suspend/reboot/shutdown via lxqt-leave-____ or via main desktop menu

I would like to disable the “do you really want to suspend/reboot/shutdown” dialogue, whether using lxqt-leave-____ or using the main desktop menu. What is the Terminal command that enables me to do this (I am already aware that the Terminal commands poweroff and reboot achieve this, but do not know the equivalent for suspending, and in any case, I want to be able to avoid the confirmation dialogue if using the main menu rather than Terminal)?

Sessions Settings > Leave Session > Ask for confirmation to leave session(untick)

3 Likes

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.