Where you stated: "There is no checkbox for logind-handle-lid-switch (??)" in xfce4-settings-editor, please can you check again?
The Property logind-handle-lid-switch should be Type Boolean and the Value ticked. If not, what Type is it?
Where you stated: "There is no checkbox for logind- handle- lid-switch (??)" in xfce4-settings- editor, please can you check again?
The Property logind- handle- lid-switch should be Type Boolean and the Value ticked. If not, what Type is it?