Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-11-07 16:53:56

hopp
Member
Registered: 2018-11-07
Posts: 2

Closing the lid didn't put the notebook on sleep with external monitor

I'm running Linux Mint 19 Tara. When I'm running cinnamon with connected external monitor and I close the lid, notebook goes to suspend mode.
But running xfce, closing the lid just makes external monitor the primary monitor. Moving all xfce panels and windows from notebook's display there. I understand working environment, when person comes to a desk with closed notebook and is working only on external monitor.
My desired behaviour is to put notebook to sleep even with connected external monitor.

I've set up xfce power manager to put the computer to suspend.
I found, that there suppose to be some advanced settings button.
This button is not avaliable.

Xfce Power Manager 1.6.1 Version

:~# xfce4-power-manager -V
Xfce Power Manager 1.6.1

Xfce Power Manager Settings Version

:~# xfce4-power-manager-settings -V
This is xfce4-power-manager version 1.6.1, running on Xfce 4.12.
Built with GTK+ 3.22.30, linked with GTK+ 3.22.30.

Offline

#2 2018-11-08 01:16:17

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,769

Re: Closing the lid didn't put the notebook on sleep with external monitor

Hello and welcome.

Can you try this command to see if it works:

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s false

Alternatively, have a look at some of the HandleLidSwitch settings in /etc/systemd/logind.conf to see if they will help.

Offline

#3 2018-11-19 23:01:17

hopp
Member
Registered: 2018-11-07
Posts: 2

Re: Closing the lid didn't put the notebook on sleep with external monitor

Hi ToZ,
thanks, your answer worked!

I asked also beforehand on linux & unix stack exchange, as no one gave correct answer I've posted yours.
https://unix.stackexchange.com/question … or-on-xfce

(or, if you wish, you can post this answer there and I delete mine)

Thank you very much !
A.

Offline

Board footer

Powered by FluxBB