On 4/2/22 05:48, Sam Varshavchik wrote:
ToddAndMargo via users writes:

On 4/1/22 15:46, Sam Varshavchik wrote:
ToddAndMargo via users writes:

Hi All,

Fedora 35
Xfce 4.16

I have a customer with a shiny new System 76 laptop.
How do I configure it to shutdown or suspend when
he closes the lid?

My experience is that if it doesn't work out of the box, it will never work.

In Settings > Power Manager, the "System" tab: if it has a "Laptop Lid" with a "When laptop lid is closed" option, you have even odds that it'll actually work as advertised.

There's no shutdown option, but there are "Switch off display", "Suspend", "Hibernate", and "Lock Screen". Some or all of the above may work, on a given laptop.

Settings > Power Manager, the "System" tab: if it has a "Laptop Lid"

does not appear in Xfce's settings.  Are you sure you were looking at Xfce?

Yes, the "Help" button takes me to https://docs.xfce.org/xfce/xfce4-power-manager/4.16/start

So, that answers that. A laptop lid sensor is not detected on this hardware.

It did under the original ubooboo installation.  So
it is the installation configuration of Xfce that misses
it.

"Supposedly", the following switch fixes the original mistake:

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

I will give it a try next week when I see the customer again.




_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to