Confirming the but is still present. If the setting on power manager is set to "switch off display", upon closing the lid on a fresh install of Xubuntu 16.04 it still goes into suspend mode.
The solution proposed ( xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s false) does not work for me.
Manually editing ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml the value of logind-handle-lid-switch from "empty" to type="bool" value="false" also doesn't work, as the value keeps reverting back to "empty".
Confirming the but is still present. If the setting on power manager is set to "switch off display", upon closing the lid on a fresh install of Xubuntu 16.04 it still goes into suspend mode.
The solution proposed ( xfconf-query -c xfce4-power-manager -p /xfce4- power-manager/ logind- handle- lid-switch -n -t bool -s false) does not work for me.
Manually editing ~/.config/ xfce4/xfconf/ xfce-perchannel -xml/xfce4- power-manager. xml the value of logind- handle- lid-switch from "empty" to type="bool" value="false" also doesn't work, as the value keeps reverting back to "empty".
The problem is exacerbated by the bug #1303736.
Curiously when the laptop lid option is set to "lock screen" instead, it is respected, and the computer only locks the screen.